Started program opens a popup window, which cannot be detected by Ranorex.

Ranorex Spy, Recorder, and Studio.
ranorTest123
Posts: 3
Joined: Mon Feb 18, 2019 4:17 pm

Started program opens a popup window, which cannot be detected by Ranorex.

Post by ranorTest123 » Thu Feb 21, 2019 1:16 pm

I am starting a program which opens a popup automatically.
Then I record a button press in that popup window.
I stop recording (close the program)and click on run.
Then Ranorex cannot find the button in the Popup window and the Test fails after the timeout.

How can I record selecting the popup window/

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

Re: Started program opens a popup window, which cannot be detected by Ranorex.

Post by odklizec » Thu Feb 21, 2019 1:25 pm

Hi,

I'm afraid, that without, at very least, Ranorex snapshot of the problematic app (mainly the popup window), there is not much anyone here can do or suggest. Could you please post the snapshot (NOT screenshot!) of the popup window ?

Have you tried to track the problematic button with Ranorex Spy? If Spy is not able to track the button, it maybe cause by the popup window implementation? You may try to track the button with MS Inspect tool. If Inspect is able to track the button and Ranorex don't, then it's most probably something Ranorex folks should check. Otherwise, your only hope is either GDI Capture approach or Image-based recognition (see Ranorex user guide for both topics).
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