I can use the Object Spy to find a text label object on a web page, but I have a need to search a page for certain specific text, not as an object.
How can I do this?
Thank you.
I can use the Object Spy to find a text label object on a web page, but I have a need to search a page for certain specific text, not as an object.
How can I do this?
Thank you.
Object Spy never generates code that drives WebUI.verifyText(xxx)
.
Why? The Object Spy traces your mouse action (click, for example) and genrates some code that mimics your action. That’s all it does. Then what action can produce WebUI.verifyText(xxx)
. — “verify text” is not an action. It is a perception. So that Object Spy can never generate verifyText
command.
You need to write a Test Case script that drives WebUI.verifyText(xxx)
by your hand.
You are required to graduate from the Object Spy tool.