Question is simple, but i found no solution how to get the found row-nbr.
Sample from Repository:
?/?/table[@automationid='m_listUsers']/container[1]/container[2]/row[]/cell[@text=$colWinUser]
This will find my $colWinUser on row Line 22 says the spy.
What i need is the "22" into a variable to get other columns in same row nearby. Thats what i need.
i searched the forum over 2 hours. Its not easy to know what to search for..hmmm.
Any ideas are welcome.
cu
Wolf
row[] in xpath found cell, but what is row-nbr?
Re: row[] in xpath found cell, but what is row-nbr?
Hi,
Please post a Ranorex Snapshot (NOT screenshot) of the table in question. Without this info, it's impossible to tell what to do.
Generally speaking, it should be possible to get the value you want via GetValue action (pointing to the returned element and attribute returning row number).
Please post a Ranorex Snapshot (NOT screenshot) of the table in question. Without this info, it's impossible to tell what to do.
Generally speaking, it should be possible to get the value you want via GetValue action (pointing to the returned element and attribute returning row number).
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: row[] in xpath found cell, but what is row-nbr?
All fine now. Found a way to get the other cells in this row. Sometimes it is better to sleep over a problem
Thanks for answer Pawel
cu
Wolf

Thanks for answer Pawel
cu
Wolf
Re: row[] in xpath found cell, but what is row-nbr?
Hi,
Nice to hear you found the solution. I know this "sleep-on-it" thing very well too
Nice to hear you found the solution. I know this "sleep-on-it" thing very well too

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