How to identify checkbox ahead treenode with Spy

Ranorex Spy, Recorder, and Studio.
zouyong0229
Posts: 7
Joined: Sat Jan 05, 2013 8:33 am

How to identify checkbox ahead treenode with Spy

Post by zouyong0229 » Fri Jan 25, 2013 10:07 am

Hi,

I have a tree control which with an ahead check box on tree node, Ranorex Spy can identify the whole tree and each tree item, but can not identify the check box, my case need to simulate user actions to
check/uncheck the check box during testing. Just like below pic shows:
Small.png
Spy can not identify the ahead check box of tree node
Small.png (37.03 KiB) Viewed 761 times
As the pic show, there is no child belongs to "TreeItem 'ES03 [Host:ES03]' ", If the check box is a child
of "TreeItem 'ES03 [Host:ES03]' ", I can use find() to get it then do action on it.

I read the topic:
http://www.ranorex.com/forum/how-to-ide ... t4162.html
But I'm not sure it's a same problem as me. I'm installing MSDN Inspect as this topic said.

Maybe you resolved such problem before so that you can give me a reply soon, I can skip to try Inspect.

Thanks a lot.

Ranorex version: 4.0
OS version: Win Server 2008 R2
AUT: MMC Application, developing with winForm technology
Attachments
Custom_Tree.rxsnp
snapshot file
(118.78 KiB) Downloaded 369 times
Custom_Tree_1.png
Spy can identify the whole tree
Custom_Tree_1.png (89.49 KiB) Viewed 761 times
Last edited by zouyong0229 on Fri Jan 25, 2013 11:43 am, edited 1 time in total.

zouyong0229
Posts: 7
Joined: Sat Jan 05, 2013 8:33 am

Re: How to identify custom user tree with Ranorex Spy

Post by zouyong0229 » Fri Jan 25, 2013 11:42 am

Hi,

I tried Windows Inspect Tool and get below result:
Windows_Inspect_Result.png
Parse result by Windows Inspect Tool
Windows_Inspect_Result.png (16.4 KiB) Viewed 753 times