Hello friends...
Here I provided code to get the roproperty and toproperty for links in yahoo page, while running script I am getting small issue here is Run Error Showing
"The "Are you protected? " Link object was not found in the Object Repository.
Check the Object Repository to confirm that the object exists or to find the correct name for the object." with Stop, Retry, Skip, Debug and Details buttons. If I press Skip it moves to next Link again I got a pop up "The "Create your sign-in seal. " Link object was not found in the Object Repository.
Check the Object Repository to confirm that the object exists or to find the correct name for the object."
then I press skip, it identify links and provided results
If I change the Property it is working but not with outertext and text why?
Please explain why it is behaving like this and how to solve this?
'I added objects to OR here
Here I provided code to get the roproperty and toproperty for links in yahoo page, while running script I am getting small issue here is Run Error Showing
"The "Are you protected? " Link object was not found in the Object Repository.
Check the Object Repository to confirm that the object exists or to find the correct name for the object." with Stop, Retry, Skip, Debug and Details buttons. If I press Skip it moves to next Link again I got a pop up "The "Create your sign-in seal. " Link object was not found in the Object Repository.
Check the Object Repository to confirm that the object exists or to find the correct name for the object."
then I press skip, it identify links and provided results
If I change the Property it is working but not with outertext and text why?
Please explain why it is behaving like this and how to solve this?
'I added objects to OR here
Code:
'systemutil.run "www.yahoomail.com"
Dim links
Set links=description.Create
links("micclass").value="Link"
Set li=browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").ChildObjects(links)
print li.count
For i=0 to li.count-1
roval=li(i).getroproperty("outertext")
print roval
wait(1)
toval=browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").Link(roval).gettoproperty("outertext")
print toval
Next