I've a problem with one of my tests who try to find a navigationTreeList in our software and then get all the Items in a list.
Once all items are in the list, I try to go through the list to find the item I'm looking for and then click on.
So this test wroks fine when it's ran from ranorex study on an agent.
It also works fine when I run it from Ranorex Studio on my programming computer.
But when this test is Ran by Jenkins on the same agent above it fails because it couldn't find an item which match the item I'm looking for (DemoUnit).
So I ran Ranorex Studio on the agent then I did highlight (works perfectly) I tried to check the RxPath so I spied on the object (their is no difference).
Here is the RxPath
Code: Select all
/form[@controlname='Software']/container[@controlname='mpContextualHelpContainer']/?/?/container[@controlname='panel1']/container[@controlname='mpMainPanel']/?/?/container[@controlname='mpSplitContainer']/container[@controlname='panel1']/container[@controlname='CollapsingControl']//container[@controlname='mpCurrentPagePanel']//container[@controlname='TreeViewControl']/element[@controlname='mpTreeViewAdv']
Here how I get the NavigationTree
Here how I get all Items in the NavigationTree
Here how I try to find if it match the Item I'm looking for
NB : My code works fine (at least form me )
Thank you for your help