I am trying to identify the parent of some rawtextblock
The parent's xpath is element[@controlid='59648']. It is a window with many children, one of which is a rawtextblock. When I make a recording I want that Ranorex Studio identifies the parent while clicking on rawtextblock.
I tried to describe this block as element[@controlid='59648']/rawtextblock/.. It is nicely highlighted in Spy, but during a recording RanorexStudio ignores this item and produces a new rawtextblock. I also tried to set the xpath weight to exclude a rawtextbox from the search but also without success. Are there any way to solve this problem?
Automatical identification of the parent of some element
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Automatical identification of the parent of some element
Hello BorisS,
Please check whether the “controlid” of the parent element changes.
If the “controlid” is not causing the issue, please create a Ranorex snapshot of your application under test. Either upload the file to the forum or send it to [email protected]
Thanks,
Robert
Please check whether the “controlid” of the parent element changes.
If the “controlid” is not causing the issue, please create a Ranorex snapshot of your application under test. Either upload the file to the forum or send it to [email protected]
Thanks,
Robert