- dainovaActive particpant
- Posts : 19
Join date : 2012-02-23
Se IDE missing "isTextPresent"
Thu Nov 01, 2012 7:47 am
hi, all
I'm trying to implement logic to check if my page has certian element(ot text) and then I'll direct flow accordinly. I've read about isTextPresent IDE (yes IDE) command but I don't have it in my most recent installed IDE? What is wrong with mine setup? or do I need any extra plugin? add on??
I can do verifyTextPresent but I need to check on True/False condition, something like:
If TextPresent("sign out") then click button 2 end-if
I also plan to put this into Rollup so I will have more controls with IF (using js). We kind of stick on IDE for now, so trying to cheat to get more logic.-)
Thanks for all your help.
Dai
I'm trying to implement logic to check if my page has certian element(ot text) and then I'll direct flow accordinly. I've read about isTextPresent IDE (yes IDE) command but I don't have it in my most recent installed IDE? What is wrong with mine setup? or do I need any extra plugin? add on??
I can do verifyTextPresent but I need to check on True/False condition, something like:
If TextPresent("sign out") then click button 2 end-if
I also plan to put this into Rollup so I will have more controls with IF (using js). We kind of stick on IDE for now, so trying to cheat to get more logic.-)
Thanks for all your help.
Dai
- ccoxMaster
- Posts : 205
Join date : 2012-01-06
Age : 38
Location : Denver, CO
Re: Se IDE missing "isTextPresent"
Fri Nov 02, 2012 12:43 am
Try storeTextPresent, this will return true or false if that text is there or not:
storeTextPresent | sign out | x
echo | ${x} |
gotoIf | storedVars.x | button2
storeTextPresent | sign out | x
echo | ${x} |
gotoIf | storedVars.x | button2
- Calling isTextPresent
- Difference between IsTextPresent and IsVisible?
- Trying to read from excel file with JUnit but get error message "The constructor SpreadsheetData(InputStream) refers to the missing type InvalidFormatException"
- Selenium RC verifyTrue(selenium.isTextPresent(“string”))
- selenium.isTextPresent() and selenium.isElementPresent() are NULL
Permissions in this forum:
You cannot reply to topics in this forum
|
|