Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Website Error Message Box - Click Ok
#1
Greetings Friends,

I need to have the 'ok' button clicked for an error message that pops up from a website.
Kindly advise.

Macro temp
Code:
Copy      Help
;City
Htm e12=htm("INPUT" "ctl00_cphMain_txtCity" "" w "0" 39 0x121 3)
e12.SetText(place)

mes- "Go Ahead?" "Go Ahead?" "OC"

;Click Register Sale
Htm e13=htm("INPUT" "ctl00_cphMain_btnRegister" "" w "0" 50 0x121 3)
e13.Click

;Click 'OK' on email error message
int w3=wait(31 win("Message from webpage" "#32770"))
Best Regards,
Philip


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)