Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About GetToProperty
#3
Solved: 11 Years, 1 Month, 4 Weeks ago At 
'Make correction and one more thing this is not I asked, please give me correct answer for my question.

Code:
Function clickonlink(slinkname)
    set slink = Description.create()
    slink("micclass").value="Link"
    set a=Browser("micclass:=Browser").page("micclass:=Page").childobjects(slink)
    scount=a.count
        for i=0 to scount-1
            slink=a(i).getroproperty("innerText")
                if slinkname=slink then
                    a(i).click
                    exit for
                end if
        next
end Function

'*** calling the Function***

Code:
clickonlink("Learn more")
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: 4 Guest(s)