Page 1 of 1

Object identification problem in Ranorex 8.1 on Windows 10

Posted: Wed Jun 27, 2018 2:53 pm
by BorisS
I have a testsuite, produced by Ranorex 6.1 which successfully runs every day on Windows 7. Now I am updating it to Ranorex 8.1.2 on Windows 10 and there is some really strange identification problem. Our C++ Application uses Win32 interface and there is a dialog by clicking on which a small window is popping up. Ranorex Spy recognizes it as
Ranorex-Spy-image.png
.
In Repository this is stored as
Ranorex-Studio-entry.png
Previously the Entry ListComboValues was //list, but new Ranorex failed to recognize it so I changed it to the /form/list.
This structure is correctly recognized by Ranorex Studio running a separate Testcase, but if the same Testcase is run from rxtst file, it fails to identify 'Silver' Item. It makes no matter if rxtst file is started from Ranorex Studio of separately.
Starting "Run as Administrator" also makes no difference.

Two other points regarding the same case.
1. When testing fails with the popup windows is still open, the tested application fails as well, what never occurred with the previous version of Ranorex.
2. If Spy is active on moment of the test end, Ranorex Studio periodically freezes completely showing in the status string the message Updating code

Currently this is the only Testcase, failing in rxtst file but running under Ranorex Studio. Hence, this issue hardly has any relations to the GAC story.

Re: Object identification problem in Ranorex 8.1 on Windows 10

Posted: Thu Jun 28, 2018 9:36 am
by odklizec
Hi,

Could you please post a Ranorex snapshot of your app and exact xpath as stored in repository?

BTW, it seems there are recognized ListItems 'Gold' and 'Silver', so I would suggest to use them instead of RawTexts. RawTexts are good only in case there are no other elements recognized. I would definitely ignore them if there other (better) elements recognized ;)

Re: Object identification problem in Ranorex 8.1 on Windows 10

Posted: Thu Jun 28, 2018 12:22 pm
by BorisS
1. I cannot post a snapshot because of the following nice message
Saving Snapshot Failed.png
To understand this window is closed automatically after remove of its focus, hence the message. I suggest older Ranorex was able to do it.

2. You have the complete xpath in the pictures in the previous post.

3. listitem does exactly in the way of rawtext, i.e. both working during debugging from Studio but failing with rxrst file.

Re: Object identification problem in Ranorex 8.1 on Windows 10

Posted: Mon Jul 02, 2018 8:16 am
by Support Team
Hello Boris,

Thank you for reporting this issue in our forum.
Since you also created a new support inquiry, we would be happy to continue assisting you via email.

regards,

Stephan