Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
identification difference between descriptive prog and repository
#4
Solved: 11 Years, 3 Months, 4 Weeks ago MyBB 
Code:
systemutil.Run "iexplore", "www.google.com"

'* Using Descriptive Programming
msgbox Browser("Creationtime:=0").GetROProperty("name")

Dim des
Set des=description.Create()
des("micclass").value="Link"

Set val = Browser("Creationtime:=0").page("index:=0").ChildObjects(des)

For i=0 to val.count-1
    res = val(i).getroproperty("name")
    print res
    If (res = "Sign in") Then
        Browser("Creationtime:=0").page("index:=0").Link("name:="&res).Click
        Exit For
    End If
Next



'* Using Object Repository
Browser("Google").Page("Google").Link("Sign in").Click
Reply


Messages In This Thread
RE: identification difference between descriptive prog and repository - by bfakruddin - 07-28-2010, 02:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Difference in Window Identification Nagaraju6 0 2,066 12-06-2013, 07:08 PM
Last Post: Nagaraju6
  diiferecnce between object repository and object identification Ishul 3 3,319 04-26-2012, 07:44 AM
Last Post: Ram2009
  difference b/w Activex & delphi environment hello 0 2,575 01-10-2012, 03:38 PM
Last Post: hello
Exclamation What is the Difference between Standard, Maintenance and Update Run mode kai07 2 18,263 10-13-2011, 08:52 AM
Last Post: kai07
  difference between loadfunctionlibrary and executefile payal 1 15,693 09-22-2011, 08:33 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)