Object identification problem in Ranorex 8.1 on Windows 10

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
BorisS
Posts: 11
Joined: Fri Jul 11, 2014 2:25 pm

Object identification problem in Ranorex 8.1 on Windows 10

Post by BorisS » Wed Jun 27, 2018 2:53 pm

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
Ranorex-Spy-image.png (5.08 KiB) Viewed 234 times
.
In Repository this is stored as
Ranorex-Studio-entry.png
Ranorex-Studio-entry.png (8.77 KiB) Viewed 234 times
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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Object identification problem in Ranorex 8.1 on Windows 10

Post by odklizec » Thu Jun 28, 2018 9:36 am

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 ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

BorisS
Posts: 11
Joined: Fri Jul 11, 2014 2:25 pm

Re: Object identification problem in Ranorex 8.1 on Windows 10

Post by BorisS » Thu Jun 28, 2018 12:22 pm

1. I cannot post a snapshot because of the following nice message
Saving Snapshot Failed.png
Saving Snapshot Failed.png (3.46 KiB) Viewed 214 times
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.

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

Re: Object identification problem in Ranorex 8.1 on Windows 10

Post by Support Team » Mon Jul 02, 2018 8:16 am

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