Modal Popup window should not go back until it will close

Ranorex Studio, Spy, Recorder, and Driver.
manohar.karuvadi
Posts: 16
Joined: Wed Mar 09, 2011 7:38 pm

Modal Popup window should not go back until it will close

Post by manohar.karuvadi » Tue Aug 09, 2011 2:15 pm

Dear Ranorex Team,

We have faced issue with Modal Popup window. Below are the steps to reproduce:

Step1: Open Any Windows Application which should contains the link buttons.
Step2: From this application, Click on Link Button to open modal popup window.
Step3: Try to click on any link button in the main application without closing the modal popup window.

Observations:
1. When we perform the same steps manually, Modal popup window is not going back until it will close.
2. But when we run the same steps through Ranorex script,Modal popup window is going back and script is getting failed
3. Because of above reason we are unable to capture the modal popup window in the screenshot.

Issue: Finally screenshot is showing only main application window. While debugging the issue we got confused with whether it is Object identification issue or modal popup window not close issue..

Please let us know how to resolve this..


Appreciate your support

Thanks & Regards,
Manohar Karuvadi..

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Modal Popup window should not go back until it will close

Post by Support Team » Wed Aug 10, 2011 10:45 am

Hi,

basically you should not be able to click any control in the background of a modal pop up, even not with Ranorex.
I've tried to reproduce your issue, using the Windows calculator as application under test.
After opening the about dialog from help context menu, a click is performed on some button of the calculator, but this click will not go through the calculator, as the modal pop up is opened.
The only thing I can imagine is, that you might invoke a press action on the control.
This will got through the application, even the modal pop up is opened, as you directly call the method of the control.
What I do not understand is, what do you mean with
manohar.karuvadi wrote: Modal popup window is going back and script is getting failed
Can you please explain exactly what happened.

Kind regards,
Tobias
Support Team

manohar.karuvadi
Posts: 16
Joined: Wed Mar 09, 2011 7:38 pm

Re: Modal Popup window should not go back until it will close

Post by manohar.karuvadi » Fri Nov 25, 2011 12:54 pm

Dear Ranorex Team,

We have faced issue with Modal Popup window in DELPHI Application. Below are the steps to reproduce:

Step1: Open Any DELPHI Application which should contains the link buttons.
Step2: From this application, Click on Link Button to open modal popup window.
Step3: Try to click on any link button in the main application without closing the modal popup window.

Observations:
1. When we perform the same steps manually, Modal popup window is not going back until it will close.
2. But when we run the same steps through Ranorex script,Modal popup window is going back and script is getting failed
3. Because of above reason we are unable to capture the modal popup window in the screenshot.

Issue: Finally screenshot is showing only main application window. While debugging the issue we got confused with whether it is Object identification issue or modal popup window not close issue..

Please let us know how to resolve this..


Appreciate your support

Thanks & Regards,
Manohar Karuvadi..

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Modal Popup window should not go back until it will close

Post by Support Team » Fri Nov 25, 2011 2:06 pm

Hi,
The only thing I can imagine is, that you might invoke a press action on the control.
So are you performing a click action or are you invoking an action?
Can you please send us your application or a small sample application that we can reproduce the issue on our machine, because as Tobias mentioned in the case of the calculator it worked as expected?
Why do you want to click on a link in the main application while the modal popup window is shown?
Which Ranorex version are you using?

Regards,
Markus
Ranorex Support Team