I am looking at Ranorex as a potential functional testing tool for Epic application.
I run Epic fat client on my Macbook laptop in Parallel environment.
Epic is a windows-based application with embedded web-browser-capable frames. Epic is used extensively in healthcare industry.
I recorded and reran the test, the test always stop because objects were not able to be identified. When I tried to identified the objects, Spy always gave me the same result. (please look at the attached PNG file).
Can anyone tell me what I do wrong here?
Thanks,
Nghi Vo
Objects not recognized properly
Objects not recognized properly
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Objects not recognized properly
Hi,
In order to analyze the issue we would need a Ranorex Snapshot file of the element which couldn't be found, the rxlog file and the RxPath which is used in your solution for that element.
If you like you can send the files to our support mail address, [email protected].
Maybe one of the used attributes change when the application under test is restarted, if so you just have to use another unique one.
Here are some useful links about the RxPath:
RanoreXPath Editor
RanoreXPath
Regards,
Markus
Ranorex Support Team
In order to analyze the issue we would need a Ranorex Snapshot file of the element which couldn't be found, the rxlog file and the RxPath which is used in your solution for that element.
If you like you can send the files to our support mail address, [email protected].
Maybe one of the used attributes change when the application under test is restarted, if so you just have to use another unique one.
Here are some useful links about the RxPath:
RanoreXPath Editor
RanoreXPath
Regards,
Markus
Ranorex Support Team
Re: Objects not recognized properly
I used Spy to track the item in question, its XPath is:
/dom[@caption='TreeControl']//a[#'LINKKEY193512012MR_NODE_HISTORY_SPECIALTY_PEDS']
The issue here is the portion of the link value is dynamically generated. In this case it is 193512012.
How can I handle this?
Thanks
/dom[@caption='TreeControl']//a[#'LINKKEY193512012MR_NODE_HISTORY_SPECIALTY_PEDS']
The issue here is the portion of the link value is dynamically generated. In this case it is 193512012.
How can I handle this?
Thanks
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Objects not recognized properly
Hello,
You can use RanoreXPath with regular expression.
E.g. you can use the following regular expression to recognize the element regardless of the dynamically generated number:
[@id~'LINKKEY.*.MR_NODE_HISTORY_SPECIALTY_PEDS']
Regards,
Bernhard
Ranorex Support Team
You can use RanoreXPath with regular expression.
E.g. you can use the following regular expression to recognize the element regardless of the dynamically generated number:
[@id~'LINKKEY.*.MR_NODE_HISTORY_SPECIALTY_PEDS']
Regards,
Bernhard
Ranorex Support Team