我正在尝试使用此配置行在Windows 10下构建静态qt库:
string myxpath=""; //XPath of your table till tbody tag before tr tags
IWebElement list = driver.FindElement(By.XPath());
List<IWebElement> tableCount= list.FindElements(By.XPath("./tr")).ToList(); //this will give count of all tr tags in your table.
for (int i = 1; i <= tableCount.Count; i++)
{
// your required operation, you can use the for loop variable to iterate through each row shown in below demo line
driver.FindElement(By.XPath(myxpath+"/tr[" + i + "]"+"/td[3]")).Displayed
}
我收到此错误消息:
configure.bat -release -static -static-runtime -no-pch -optimize-size -opengl desktop -prefix "c:\Qt\Static"
-skip webengine -nomake tools -nomake tests -nomake examples
无法解决问题。