Search found 206 matches

by stapes
Tue Aug 09, 2016 2:51 pm
Forum: General Questions
Topic: Usage of PopupWatcher class
Replies: 3
Views: 1440

Re: Usage of PopupWatcher class

Let me put this another way. If I run this code at the beginning of the Test Suite will it pick up a Somethings Wrong dialog any time during the Test Suite? public void createPopupWatcher() { Thread dialogWatcher = new Thread(ClosePopUpDialogs); dialogWatcher.IsBackground = true; dialogWatcher.SetAp...
by stapes
Tue Aug 09, 2016 2:43 pm
Forum: General Questions
Topic: Usage of PopupWatcher class
Replies: 3
Views: 1440

Re: Usage of PopupWatcher class

Instantiate = create an instance? You are right, I want to know what happens after it is started. Does it continue to watch until the end of the whole Test Suite, or until you turn it off?
by stapes
Tue Aug 09, 2016 10:18 am
Forum: General Questions
Topic: Usage of PopupWatcher class
Replies: 3
Views: 1440

Usage of PopupWatcher class

When a PopupWatcher is instantiated, does it last through the entire Test Suite, just a Test Case or just a code module? // Create PopupWatcher PopupWatcher myPopupWatcher = new PopupWatcher(); // Add a Watch using a RanoreXPath and triggering the Method CloseUpdateCheckDialog myPopupWatcher.Watch("...
by stapes
Tue Aug 09, 2016 10:03 am
Forum: General Questions
Topic: Ranorex Automation looks at wrong app/device
Replies: 1
Views: 1153

Ranorex Automation looks at wrong app/device

I am running tests on an Ipad, but occasionally the test case fails because instead of looking on the device for a particular control, it looks on my PC. The little picture alongside the warning or fail message shows my PC window when it should be showing the Ipad window. Do I have to start every Re...
by stapes
Mon Aug 08, 2016 11:19 am
Forum: General Questions
Topic: Ranorex not generating reports
Replies: 1
Views: 1553

Re: Ranorex not generating reports

You can change the directory your reports are sent to.
Right click on the Test Suite in Ranorex Studio and select Global Parameters.
Then select the Report tab.
You can change the directory here.
by stapes
Tue Jul 26, 2016 3:15 pm
Forum: General Questions
Topic: Dump all attributes of an object
Replies: 3
Views: 2673

Re: Dump all attributes of an object

Brilliant. I was looking for just such a tool. Thanks.
by stapes
Fri Jul 15, 2016 3:33 pm
Forum: General Questions
Topic: Is there any way of taking control after a Fail?
Replies: 1
Views: 1217

Is there any way of taking control after a Fail?

I would like to add a method to be used every time Failure is invoked. Is there a way I can do this.
Primarily I want to set a Global flag to indicate that a module has failed.
Then modules that follow can execute or not depending on the value of the flag.
by stapes
Wed Jul 13, 2016 3:46 pm
Forum: General Questions
Topic: How to stop test case/ignore next iterations
Replies: 6
Views: 7369

Re: How to stop test case/ignore next iterations

This has changed since Ranorex 6.

This does the trick:

Code: Select all

var tc1=(TestCaseNode) TestCaseNode.Current ;
        	
        	foreach(TestModuleLeaf a in tc1.AllModules)  
            {  
                a.Enabled = false;  
                Report.Info("TestModuleLeaf disable."+a.Name);
            }  
by stapes
Tue Jul 12, 2016 1:57 pm
Forum: General Questions
Topic: WaitFor NotExists does nothing?
Replies: 5
Views: 1939

Re: WaitFor NotExists does nothing?

It is a fairly rare occurrence. I will put the snapshot in the code there so that if and when it reoccurs I will have something to send you.
by stapes
Tue Jul 12, 2016 10:11 am
Forum: General Questions
Topic: WaitFor NotExists does nothing?
Replies: 5
Views: 1939

Re: WaitFor NotExists does nothing?

"Try the xpath from repo in standalone spy" - that is where I got the Repository path from in the first place.

I think it would be difficult to reproduce this error for you.
by stapes
Tue Jul 12, 2016 9:44 am
Forum: General Questions
Topic: WaitFor NotExists does nothing?
Replies: 5
Views: 1939

WaitFor NotExists does nothing?

I was testing an Android Application using Ranorex Studio 6. It got hung up sending a request - leaving a dialog "Sending request. Please wait...". I added some user code to the module, to WaitFor this text to dissappear, with a time out value of 30 seconds. When I run it, it just returns OK. Surely...
by stapes
Wed Jul 06, 2016 3:26 pm
Forum: General Questions
Topic: Does IOS Automation conflict with Airplay?
Replies: 1
Views: 1549

Does IOS Automation conflict with Airplay?

I wanted to show off my work on the big screen. I tried using Airplay on the iPad & LonelyScreen (which is an Airplay receiver) on my PC to try & mirror what was happening. The automation would succeed in starting the app, but lost the connection before noting that the app had begun. I then could no...
by stapes
Mon Jul 04, 2016 2:08 pm
Forum: General Questions
Topic: How do I remove a Module variable from data Bindings?
Replies: 2
Views: 1593

Re: How do I remove a Module variable from data Bindings?

Hi Markus

I solved the problem by creating a new recording module & copying the user code to it. Then I deleted the first recording module.
by stapes
Tue Jun 28, 2016 3:10 pm
Forum: General Questions
Topic: How do I remove a Module variable from data Bindings?
Replies: 2
Views: 1593

How do I remove a Module variable from data Bindings?

I am using Ranorex Studio Version 6.0.0 I have been getting an error: Failed to set value '365Agile-TEST (com.365agile.enterprise.365Agile-TEST)' to variable 'global_IOS_App_Name'. Upon inspection, that variable is no longer being used in the module, and the only place it appears now is when I click...
by stapes
Fri Jun 24, 2016 5:27 pm
Forum: General Questions
Topic: Reporting on Windows Users and Security Rights
Replies: 4
Views: 1291

Re: Reporting on Windows Users and Security Rights

I am running my SUT here: processID=Host.Local.RunApplication(global_Program_Name, "", global_Working_Directory, false); The Execute Windows Batch Command looks like this: .\Test-365AgilePortal\Test-365AgilePortal\bin\debug\Test-365AgilePortal.exe /cc "chris.lawrence@castletonplc.com" /to "stephen.s...