Posts: 20
Threads: 11
Joined: Oct 2011
Reputation:
0
11-07-2011, 04:03 PM
Hi I need to check existence of a particular text in a web area
for eg: the text i want to search is "world"
Can anyone please help me with this?
can this be achieved through text checkpoint?
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
11-07-2011, 04:34 PM
Get the text of the object and use Instr function to check for the particular text u r looking for.
Plz refer to QTP help to get the syntax of Instr function.
Regards,
Ankesh
Posts: 257
Threads: 10
Joined: Oct 2011
Reputation:
2
11-07-2011, 05:06 PM
Yes you can use Text checkpoint
Posts: 4
Threads: 2
Joined: Nov 2011
Reputation:
0
11-09-2011, 11:57 PM
Use the text checkpoint.
Second option get the object name where this text is displayed and get the run time properties and verify whether it is matching to your expecting string.
Thx