Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can not find a Button
#2
Not Solved
Hi,

Try the below code's to click the Image,

Code:
Browser("creationtime:=0").Page("micclass:=Page").Image("name:=GridView1.*","image type:=Image Button").FireEvent  "onclick"

(OR)

Code:
Browser("creationtime:=0").Page("micclass:=Page").Image("name:=GridView1.*","image type:=Image Button").Click "1","1",micLeftBtn

(OR)

Code:
Browser("creationtime:=0").Page("micclass:=Page").Image("name:=GridView1.*","image type:=Image Button").Object.Click


If the above code doesnt work, please check if the Image Object Properties are correct.

Thanks,
Vinod
Reply


Messages In This Thread
Can not find a Button - by mv8167 - 10-28-2010, 09:02 PM
RE: Can not find a Button - by KVK - 10-29-2010, 09:11 AM
RE: Can not find a Button - by mv8167 - 10-29-2010, 11:49 PM
RE: Can not find a Button - by mv8167 - 11-20-2010, 01:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)