Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Website Error Message Box - Click Ok
#2
On the QuickMacros top toolbar choose: Windows, controls > HTML element actions:
Then, follow the wizard, drag the aim to the "OK" button and choose the "Click" action.

The code should look a little like this:

Function teste
Code:
Copy      Help
int w=wait(3 WV win("(...)" "IEFrame"))
Htm e=htm("OK" " " "" w "0" 144 0x21 3)
e.Click

Where:
int w = is the window variable
Htm e = is the HTML element variable
e.click = is the click action on the HTML element


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)