Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Click" not working
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
I have been developing a test using descriptive programming. Everything works fine up to a certain point. I'll get to that soon.

Pretty much, it is a web page with inputs and buttons at the top and a data table following those. The first and second buttons work just fine, but the third does not. It's weird because it will scroll over to the button and it has the active state, it just doesn't seem to click it most of the time. It has worked once or twice, so I added some wait loops with the same result.

I'm just curious if anyone else has had such an issue? Here is an example of the code. The problem is at the bottom. It actually opens a download dialog and is supposed to click through it...

Code:
With Browser(browser).Page(page).Frame(frame)
    .WebEdit("name:=input1").Set ""
    .WebEdit("name:=input2").Set "12345"
    .WebButton("name:=Find").Click
    Browser(browser).Sync
    Wait(2)
    .WebButton("name:=Export").Click
End With
Reply


Messages In This Thread
"Click" not working - by XeNoMoRpH - 06-29-2009, 06:20 PM
RE: "Click" not working - by ursvinod - 06-29-2009, 06:58 PM
RE: "Click" not working - by XeNoMoRpH - 06-29-2009, 09:44 PM
RE: "Click" not working - by Anshoo Arora - 06-30-2009, 02:38 AM
RE: "Click" not working - by XeNoMoRpH - 07-01-2009, 07:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation WebElement("WebElement").Click is not working sia sharma 7 23,244 09-28-2016, 08:58 PM
Last Post: supputuri
  Right Click On a Image and Click on a Link in WebElement RameshKrishnan 4 5,148 07-10-2013, 04:13 PM
Last Post: RameshKrishnan
  How do I left click on the right click menu in WinTreeView? RandomGrin 0 3,672 12-22-2012, 04:22 AM
Last Post: RandomGrin
  How do I left click on the Right click menu? RandomGrin 2 3,982 12-18-2012, 09:47 PM
Last Post: RandomGrin
  link click not working sia sharma 3 3,700 08-03-2012, 06:20 PM
Last Post: SteveS

Forum Jump:


Users browsing this thread: 1 Guest(s)