Text verification of text field within popup window

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
CRL85
Posts: 1
Joined: Wed Jun 12, 2013 1:26 pm

Text verification of text field within popup window

Post by CRL85 » Wed Jun 12, 2013 1:48 pm

Hi there,

Does anyone know how I can let Ranorex verify a text content of a specific field?
And does Ranorex record the field I've clicked or just the location of the cursor on the screen?

I've attached two images where I'd like Ranorex to verify specific text content but I just don't find the action to select and how to configure it.

Thanks a lot for any help!


-----------------------
attached ex. Ranorex_01.jpg
"Air pressure has passed the critical value." or "8.1.3.97.1073"
-----------------------
attached ex. Ranorex_02.jpg
"Operation error of the fridge device access module." or "8.1.3.3.143"
Attachments
Ranorex_02.jpg
"Operation error of the fridge device access module." or "8.1.3.3.143"
Ranorex_02.jpg (46.99 KiB) Viewed 1294 times
Ranorex_01.jpg
"Air pressure has passed the critical value." or "8.1.3.97.1073"
Ranorex_01.jpg (20.51 KiB) Viewed 1294 times

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

Re: Text verification of text field within popup window

Post by odklizec » Wed Jun 12, 2013 3:21 pm

Hi, do you use Recorder? If so, then while recording your test, press the "Validate" button, then select the field you would like to validate. For more details about validation check this article...
http://www.ranorex.com/support/user-gui ... rding.html

Ranorex always tries to record the clicked element and relative mouse coordinates (relative to the selected element). But if Ranorex is not able to recognize/select the element under the mouse (because of no or incorrect MSAA implementation), then it records relative mouse coordinates of the parent window.

Are you able to see and highlight the element in Ranorex Spy? Try this. In Ranorex Spy, press the Track button and then hover the mouse over the field you wish to record/validate. You should get red rectangle around the tracked element. If you use Record, exactly this element should be recorded.

If you are still in doubts, please create the Ranorex snapshot and upload it here.
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