Hi,
I am trying to install one application. In the middle of installation, an confirmation window pops up. In that pop up window I have to click 'yes'. And then the installation window continues.
Now, I am doing it in this way.
1. Start the installation and wait for 3 minutes(within this time, the popup would be displayed and waiting for user inputs)
2. Search for window that has text 'yes'. Focus on that window and pushbutton 'yes'
I want to know a method by which I can detect whenever window pops up, and click 'yes'(avoiding the waiting time).
CAUTION: The title of popup window is not same always.
Thanks in advance.
--jiby
Processing the child window when it pops up
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Use OnEvent with a WINDOW_OPEN event handler. In the event handler subroutine search the active window for the Yes button .....
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?
Re:
Good info Marcus have a similar scenario and this is what I needed.Marcus Tettmar wrote:Use OnEvent with a WINDOW_OPEN event handler. In the event handler subroutine search the active window for the Yes button .....
Thanks
Just when you thought it was safe to go in the water........