Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About GetToProperty
#1
Solved: 11 Years, 1 Month, 4 Weeks ago
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

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
Reply


Messages In This Thread
About GetToProperty - by bfakruddin - 01-27-2009, 12:19 PM
RE: About GetToProperty - by hari_krishna - 01-27-2009, 03:10 PM
RE: About GetToProperty - by bfakruddin - 01-27-2009, 03:32 PM
RE: About GetToProperty - by sreekanth chilam - 01-28-2009, 12:11 AM
RE: About GetToProperty - by bfakruddin - 01-28-2009, 04:26 PM
RE: About GetToProperty - by sreekanth chilam - 01-28-2009, 10:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)