Hi,
I have a problem with a button that I use to open a new window.
This button isn't present in the tree Browser and Results, and also with View Spy - Track I cannot select the button.
You can see the button in the attached image (for example the button associated to the textbox Acid concentrate)
I have also attached a snapshot of the program.
Thanks for your help.
Button isn't present in tree Browser and Results
Button isn't present in tree Browser and Results
- Attachments
-
- example.rxsnp
- snapshot
- (142.52 KiB) Downloaded 172 times
-
- screenshot
- immage.PNG (16.44 KiB) Viewed 1242 times
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Button isn't present in tree Browser and Results
Hello dariof,
Please post a Ranorex Snapshot of your application.
This would help us in analyzing your issue.
Please take a look at our User Guide for more information on how to create snapshot files.
Regards,
Markus (T)
Please post a Ranorex Snapshot of your application.
This would help us in analyzing your issue.
Please take a look at our User Guide for more information on how to create snapshot files.
Regards,
Markus (T)
Re: Button isn't present in tree Browser and Results
I have already attached the snapshot in the previous post.
Thanks

Thanks
Re: Button isn't present in tree Browser and Results
Hi,
Until the experts at Ranorex solve the recognition problem, I suggest a workaround:
Use the ability of Ranorex to use relative coordinates on where to click on the button.
For example, the Rxpath for the Acid Concentrate textbox is:
If you use this element is Ranorex Studio, then you can set the Location parameter to the right end of the textbox. You can use exact pixel parameters, or even percentage parameters. For example if you set the location parameter to .95;.5 then it will click on 95% of the width and at 50% of the height of the textbox.
See attached picture.
Hope this helps, as for now
Best Regards,
Zoltán
Until the experts at Ranorex solve the recognition problem, I suggest a workaround:
Use the ability of Ranorex to use relative coordinates on where to click on the button.
For example, the Rxpath for the Acid Concentrate textbox is:
Code: Select all
/form[@name~'^TSS\ -\ Therapy\ Support\ Sui']//tabpage[@name='Treatment prescription']/?/?/container[@automationid='browserFrame']//tabpagelist[@automationid='PART_TabControl']/tabpage[2]/text[9]
See attached picture.
Hope this helps, as for now

Best Regards,
Zoltán
- Attachments
-
- Setting the clicking positon of the element
- textbox_click_on_relative_position.PNG (41.59 KiB) Viewed 1175 times
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Button isn't present in tree Browser and Results
Hello dariof! Hello Zoltán!
@dariof:
Thank you for posting your snapshot.
It seems that UIA is not implemented correctly for this button.
Are you in contact with the development team of your application?
@Zoltán:
Thank you for posting this nice workaround
Regards,
Markus (T)
@dariof:
Thank you for posting your snapshot.
It seems that UIA is not implemented correctly for this button.
Are you in contact with the development team of your application?
@Zoltán:
Thank you for posting this nice workaround

Regards,
Markus (T)