Page 1 of 1

How to use the PopUp Watcher when we do not know when it will occur during execution

Posted: Thu Aug 08, 2019 2:35 pm
by premravi
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,

Re: How to use the PopUp Watcher when we do not know when it will occur during execution

Posted: Thu Aug 08, 2019 2:47 pm
by odklizec
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.

Re: How to use the PopUp Watcher when we do not know when it will occur during execution

Posted: Fri Aug 09, 2019 10:32 am
by premravi
Hi,

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

Posted: Fri Aug 09, 2019 10:42 am
by odklizec
Hi,

See the "Ranorex Automation Helpers" screencast, available here:
https://www.ranorex.com/resources/

Re: How to use the PopUp Watcher when we do not know when it will occur during execution

Posted: Wed Aug 28, 2019 1:34 pm
by premravi
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

Re: How to use the PopUp Watcher when we do not know when it will occur during execution

Posted: Mon Sep 02, 2019 12:47 pm
by odklizec
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?