Ranorex Spy, Recorder, and Studio.
-
Willy
- Posts: 4
- Joined: Fri Jun 06, 2014 2:11 pm
Post
by Willy » Tue Jun 24, 2014 4:29 pm
Hi,
I encoutered some problems testing Eclipse based applications. Many times Ranorex can't find checkboxes in trees elements or tables of Eclipse-based software.

- The ghost checkbox !
- ghostCheckbox.png (176.14 KiB) Viewed 1215 times
It seems that I can find the line where the checkbox is with this RXPath :
Code: Select all
<pathToTheTable>/table[@class='SysListView32']//checkable
But impossible to check the checkbox, for the moment i press the spacebar to check it but it's not very safe ...
I hope this can help ...
Thank you in advance for any help !
-
krstcs
- Ranorex Guru
- Posts: 2683
- Joined: Tue Feb 07, 2012 4:14 pm
- Location: Austin, Texas, USA
Post
by krstcs » Tue Jun 24, 2014 4:43 pm
Do you have to click exactly on the checkbox for it to activate? Or, can you just click on the containing cell? If clicking on the cell will activate the checkbox then I would suggest that you do that.
If you have to click on the checkbox, is the location of the checkbox static within the containing cell? If so, you could just use specific coordinates with the Mouse -> Click action in Ranorex and click on the cell at the coordinates of the checkbox. If the location is static, this should work.
Shortcuts usually aren't...
-
Willy
- Posts: 4
- Joined: Fri Jun 06, 2014 2:11 pm
Post
by Willy » Wed Jun 25, 2014 9:19 am
Hi,
I verified and the checkbox can't be checked if I don't click on it directly

.
So I had to place the mouse on the checkbox by code, and to perform a click like you suggested.
I would have prefered to use checkbox "check/uncheck" methods ^^, but it will be ok that way too.
Thank you for your help ! Have a nice day !
Willy