Hi,
I have two base paths
/form[@processname='WorkflowEngine']
AND
/form[@controlname='syngo']/?/?/element[@controlname='DockingContainer']//element[@instance='1']/element[@controlname='TaskWS']/element[@controlname='ISA_View']/?/?/?/element[@controlname='IsaAppLauncherControl']/container[@controlname='IsaHostPanel']/form[@controlname='SMIMLauncher']/form[@processname='WorkflowEngine']'
is it possible to club these two paths into a single path.
regards,
Vamsi
Base Path
Re: Base Path
Hi,
Try this:
Try this:
However, it may not be the best idea to use the path like this! With such simplified path, Ranorex will find all forms with this processname but only the first one will be used (if the repo element/path is used in recording/code).//form[@processname='WorkflowEngine']
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Base Path
Hi Vamsi and odklizec,
Before we can recommend you a working path we would also need to know which elements, or which application you try to access with the new RxPath.
What do you want to accomplish with the new RxPath?
Should just a form with the processname "WorkflowEngine" and the contorlname "syngo" be found, or do you want that the repo item references a form which has either a processname "processname" or a controlname "syngo"?
Regarding odklizec' suggestion, I am afraid this is not recommended, since such a RxPath (//form[@processname='WorkflowEngine']) would force Ranorex to search through all elements of all running applications of your machine for the specific form to exist, which would take much time and is normally not intended.
Regards,
Markus
Before we can recommend you a working path we would also need to know which elements, or which application you try to access with the new RxPath.
What do you want to accomplish with the new RxPath?
Should just a form with the processname "WorkflowEngine" and the contorlname "syngo" be found, or do you want that the repo item references a form which has either a processname "processname" or a controlname "syngo"?
Regarding odklizec' suggestion, I am afraid this is not recommended, since such a RxPath (//form[@processname='WorkflowEngine']) would force Ranorex to search through all elements of all running applications of your machine for the specific form to exist, which would take much time and is normally not intended.
Regards,
Markus