Selenium IDE 验证标签文本
Selenium IDE Verify Text of label
如何验证标签的文本
例如,如果标签 3 = 15.001 那么,我如何使用 "Selenium IDE" 命令验证此值?
您可以使用 assertText 命令
语法:assertText
"<locatorForLabel3>"
"<15.001>"
您可以使用 verifyText、&verifyTextPresent、&assertTextPreset 等
在上面的代码中,在 Target 中给出定位器(即 xpath),并在值中输入 15.001
希望对您有所帮助
This is the right answer to my question "AssertText" when we have to check value of label
如何验证标签的文本
例如,如果标签 3 = 15.001 那么,我如何使用 "Selenium IDE" 命令验证此值?
您可以使用 assertText 命令
语法:assertText
"<locatorForLabel3>"
"<15.001>"
您可以使用 verifyText、&verifyTextPresent、&assertTextPreset 等
在上面的代码中,在 Target 中给出定位器(即 xpath),并在值中输入 15.001
希望对您有所帮助
This is the right answer to my question "AssertText" when we have to check value of label