i Click on the button then a window will open called message from webpage, on that two buttons OK and cancel .
How to submit that form in macro.
Message From Webpag
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Sounds like a regular windows dialog box. As these are not in-page HTML elements you will need to automate them as you would a regular desktop app. So basically you would do something like:
WaitWindowOpen>Message from Webpage
SetFocus>Message from Webpage
Press ALT
Send>o
Release ALT
Or Press Enter would do the default button. Make sure you have the title correct in the first two lines, and you may need a small delay.
WaitWindowOpen>Message from Webpage
SetFocus>Message from Webpage
Press ALT
Send>o
Release ALT
Or Press Enter would do the default button. Make sure you have the title correct in the first two lines, and you may need a small delay.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
My problem like this page
http://www.michael-thomas.com/tech/java ... onfirm.htm
Confirm OK, then popup a new window (uses onclick()) - Confirm, then next web page - If you press 'OK', then you will launch another web page.
Ex:
http://www.michael-thomas.com/tech/java ... onfirm.htm
Confirm OK, then popup a new window (uses onclick()) - Confirm, then next web page - If you press 'OK', then you will launch another web page.
Ex: