Hey all!
I am working on evaluating this tool, and have run into a snag.
On our web page, There is a table that appears as screenshot "S2".
I want to uniquely identify the row of this table that is currently at the top.
However, I can't use the Xpath that Ranorex found because the TR it finds is a GUID that is uniquely generated each time the file gets uploaded.
How can I alter the xpath to tell Ranorex to only look for the TD for the filename and the TD for the status?
Help with RanoreXPath
-
- Posts: 2
- Joined: Tue Jan 05, 2016 5:01 pm
Help with RanoreXPath
You do not have the required permissions to view the files attached to this post.
Re: Help with RanoreXPath
Hi,
Please upload a Ranorex snapshot (not screenshot) of the table in question. It would be much easier to help you with snapshot, because it contains much more detailed info about the GUI
Please upload a Ranorex snapshot (not screenshot) of the table in question. It would be much easier to help you with snapshot, because it contains much more detailed info about the GUI
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
Re: Help with RanoreXPath
If you ALWAYS want the first row you can change the path for the TR element to this:
/tr[1]
You don't have to keep the path the Ranorex generates if it isn't going to work for what you need.
/tr[1]
You don't have to keep the path the Ranorex generates if it isn't going to work for what you need.
Shortcuts usually aren't...
-
- Posts: 2
- Joined: Tue Jan 05, 2016 5:01 pm
Re: Help with RanoreXPath
Thanks so much everyone!
I actually figured it out, krstcs was right on point. That is the solution I went with.
I actually figured it out, krstcs was right on point. That is the solution I went with.