Some Ui elements are not detected

Bug reports.
brodrigues
Posts: 4
Joined: Tue May 11, 2021 9:56 am

Some Ui elements are not detected

Post by brodrigues » Tue May 11, 2021 11:25 am

Hello everyone!

Using Ranorex 9.5.0.

When using a jnlp file to launch a Jenkins agent, I found a weird behavior.

After launching the file, a dialog appears. It's buttons are not recognized by Ranorex Spy.
Image

After interacting with the dialog (pex: dragging it around) and refreshing the Ranorex Spy, the buttons are found.
Image

My "test" is supposed to launch this file and confirm all dialogs. All buttons were registered ok when creating the recordings.
When running the test, the continue button wasn't being found.
The solution was, before interacting with the Continue button, to Click the title bar, move it to Point (0, 0), and then to the original position. After that, the button is found.
You do not have the required permissions to view the files attached to this post.

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

Re: Some Ui elements are not detected

Post by odklizec » Thu May 13, 2021 10:10 am

Hi,

Your problem sounds like a some kind of Java injection or timing issue? Have you tried it on another computer?

If there is a workaround for this porblem, then you may need to implement it directly to the test. If I understand it right, the form as such is found, jut not the elements inside?

Could you please share snapshot of given form and xpaths of problematic elements, as you have them in repository? Thanks.
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