Hi,
I want to handle a pop up in my application which is randomly appearing at any point of time during the execution
basically it is a "NOT RESPONDING" poop up which occurs whenever we are losing the connection with the server and nobody can predict when that can will happen
So to handle that I want to implement a functionality of Pop Up Watcher
The problem is there is no specific scenario in which the pop up occurs
So I need to make sure whenever it will occur please handle it
Please help me develop a piece of code of Pop Up watcher in a way that whenever pop up occurs it will close it
Similarly like how we have implicit wait condition
I am using Ranorex 9.1.1 version
Please help me to resolve the issue
Regards,
How to use the PopUp Watcher when we do not know when it will occur during execution
Re: How to use the PopUp Watcher when we do not know when it will occur during execution
Hi,
This is exactly what's the popupwatcher designed for. You don't have know when the popup/element appears. You must simply implement the popupwatcher at start of test (ideally, using Ranorex automation helpers) and then stop it at the end of test.
Of course, you must first create a repo element, pointing to the element you want to "catch". You should either wait for the appearance of popup window/element or somehow simulate its appearance? Then track the popup (using Track tool) and use the newly created repo element in popup watcher.
This is exactly what's the popupwatcher designed for. You don't have know when the popup/element appears. You must simply implement the popupwatcher at start of test (ideally, using Ranorex automation helpers) and then stop it at the end of test.
Of course, you must first create a repo element, pointing to the element you want to "catch". You should either wait for the appearance of popup window/element or somehow simulate its appearance? Then track the popup (using Track tool) and use the newly created repo element in popup watcher.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: How to use the PopUp Watcher when we do not know when it will occur during execution
Hi,
Thanks for the solution
Please help me to understand, how to add Ranorex Automation helpers in my framework
Regards
Thanks for the solution
Please help me to understand, how to add Ranorex Automation helpers in my framework
Regards
Re: How to use the PopUp Watcher when we do not know when it will occur during execution
Hi,
See the "Ranorex Automation Helpers" screencast, available here:
https://www.ranorex.com/resources/
See the "Ranorex Automation Helpers" screencast, available here:
https://www.ranorex.com/resources/
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: How to use the PopUp Watcher when we do not know when it will occur during execution
Hi,
I configured Ranorex Automation Helpers, but I not able to use it
I an trying to update it also but not able to update it
Getting error message cannot access the path
Please find the attached screenshot for reference
Regards
I configured Ranorex Automation Helpers, but I not able to use it
I an trying to update it also but not able to update it
Getting error message cannot access the path
Please find the attached screenshot for reference
Regards
You do not have the required permissions to view the files attached to this post.
Re: How to use the PopUp Watcher when we do not know when it will occur during execution
Hi,
I'm afraid, I don't know what exactly is Fusion and what it does have to do with Ranorex? Please make sure Ranorex is installed on a local drive (not shared/network drive)! Also, have you tried to completely uninstall Ranorex?
I'm afraid, I don't know what exactly is Fusion and what it does have to do with Ranorex? Please make sure Ranorex is installed on a local drive (not shared/network drive)! Also, have you tried to completely uninstall Ranorex?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration