ranorex stop respond to identify the object

Bug reports.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

ranorex stop respond to identify the object

Post by omayer » Wed Sep 12, 2012 5:11 pm

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
Tipu

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: ranorex stop respond to identify the object

Post by Support Team » Thu Sep 13, 2012 3:08 pm

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
.
Image

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: ranorex stop respond to identify the object

Post by omayer » Fri Sep 14, 2012 5:31 pm

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
Tipu

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: ranorex stop respond to identify the object

Post by Support Team » Mon Sep 17, 2012 10:00 am

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
.
Image

mrrioes
Posts: 6
Joined: Wed Oct 10, 2012 8:56 am

Re: ranorex stop respond to identify the object

Post by mrrioes » Tue Oct 16, 2012 8:22 am

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. :(

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: ranorex stop respond to identify the object

Post by Support Team » Wed Oct 17, 2012 10:22 am

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
.
Image