Posts: 36
Threads: 22
Joined: Dec 2011
Reputation:
0
12-22-2011, 04:40 AM
Hi'
I am trying to read the name of a link before I can click it. When I hover mouse over it it gets highlighted but I cannot get its name till I click it.
So could someone please tell me how to read the name of a link without clicking it.
Thanks,
Sqadri
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
12-23-2011, 03:49 PM
Hi Sqadri,
yes it is a good approach, u can use it and for getting the static text can you let us know from where do u want to get the text,i think you want to get the text from a web element?
Regards,
Sankalp
Posts: 36
Threads: 22
Joined: Dec 2011
Reputation:
0
12-28-2011, 01:42 AM
Sankalp,
It is a link. I have another realated issue. I have the web application version and date that is greyed out and the Version changes. How do I read this version number. I was thinking of using Text checkpoint but when the version changes it will fail. So could you please help me with this issue. The version is WebElement
Thanks,
Sqadri
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
12-28-2011, 02:51 PM
Hi,
JUst use spy to identify the object and look for the property like innertext or text and just get that value using GetRoPRoperty.
Hope this will help u.
Regards,
Sankalp
Posts: 36
Threads: 22
Joined: Dec 2011
Reputation:
0
12-28-2011, 10:34 PM
Hi Sankalp
I used Output Checkpoint, is that a good way to read the greyed out version?
Thanks,
Sqadri
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
12-29-2011, 10:37 AM
Hi,
If u want to check that text displayed under greyed out area is correct or not then it is good to use checkpoint but if use want to fetch that data to be used under your script then try to avoid checkpoint, use the GetRoPropert to fetch the data.
Regards,
Sankalp