Page 1 of 1

ranorex stop respond to identify the object

Posted: Wed Sep 12, 2012 5:11 pm
by omayer
Ranorex 3.3.2, IE7-
ranorex intermittently not responding to identify this object , workaround had to close and reload the ranroex--
InputTag cmmsnFld=webDocument.FindSingle("/dom[@page='index.cfm']//input[@id~'com_split_AccountMgr_*']",30000);
Thank you

Re: ranorex stop respond to identify the object

Posted: Thu Sep 13, 2012 3:08 pm
by Support Team
Hi,

Can you determine any circumstances which could lead to this issue?
Which OS and .Net version is installed on your machine?
Did you get an error message or did Ranorex just freeze?
Did this happen during the execution of your tests or during coding, ...?
Which Ranorex programs didn't respond, Ranorex Studio, Spy or all of them?
Did you get an error before it stopped responding?

Regards,
Markus
Ranorex Support Team

Re: ranorex stop respond to identify the object

Posted: Fri Sep 14, 2012 5:31 pm
by omayer
xp-ie7, ranorex3.3 studio, .net -3.5

this is an intermittent
ranorex freezes during test execution when searching the object InputTag cmmsnFld=webDocument.FindSingle("/dom[@page='index.cfm']//input[@id~'com_split_AccountMgr_*']",30000);
there is no error message

Re: ranorex stop respond to identify the object

Posted: Mon Sep 17, 2012 10:00 am
by Support Team
Hi,

How long does Ranorex freeze, about 30 seconds?
The RxPath you use in order to find the element is a very relative RxPath, this could be the reason why Ranorex takes longer as it has to search through the whole tree of elements.
You can try to use a less relative path, does this change anything?
Could you send us a Ranorex Snapshot file of that element?

Regards,
Markus
Ranorex Support Team

Re: ranorex stop respond to identify the object

Posted: Tue Oct 16, 2012 8:22 am
by mrrioes
I have kind of the same problem... IE8, .net 4, ranorex 3.3 and Win 7. But the problem is kind of random.

I have one test case(data driven with 17 iterations) in my test suite. I wanted to execute this test case overnight to determine robustness of the test case. So I added a new test case(data driven, too) that contains the first test case and executes it 24 times.

After 2 1/2h the test execution got stuck when searching an element(login page, password field). But this happend before for other elements, too. The "searching element" dialog doesn't disappear and the test run just freezes/got stuck(pressing pause button to end the test run/search element dialog doesn't work). The only way to end the test run is to close the console or to press the stop button in ranorex studio. So there will be no report. :(

Re: ranorex stop respond to identify the object

Posted: Wed Oct 17, 2012 10:22 am
by Support Team
Hi,

There should be a report, you should find it in the output directory of your project, the ending of the file is just different. The ending is "*.rxlog.rxlog_tmp", this is the temporary log file and you can rename it to "*.rxlog" in order to open it with the report viewer.
Could you send us the report file?
Could it be that the machine got locked or that the screensaver appeared during execution of your tests?
Are you sure there weren't any other events which could have influenced the execution?
What do you mean with "The "searching element" dialog doesn't disappear", do you mean the Progress Dialog?

Regards,
Markus
Ranorex Support Team