issue highlighting a webpage link once added to Repository

Ask general questions here.
ReutersDev
Posts: 2
Joined: Mon Jan 07, 2013 4:33 pm

issue highlighting a webpage link once added to Repository

Post by ReutersDev » Mon Feb 11, 2013 2:06 pm

So i have been trying to isolate a single link button on a web page from another button with a different name but same RXPath

When using the SPY the structure is displayed as follows

-<> Frameset
-<> Frame 'index'
+<> Head
-<> Body
+<>TR
+<>TR 'Credit'
+<>TR
+<>TR 'CI'
+<>TR 'CI'
+<>TR 'CI'
+<>TR 'CI'
+<>TR
-<>TR 'DCS'
-<> TD
<> A '       Match/Trade Search'
-<>TR 'DCS'
-<> TD
<> A ' Select DCS' <=== This is the one i am after

(sorry not sure how to indent on this forum)

The RXPath given for this link is:
/dom[@domainName]/frameset/frameset/frame[@name='index']//tr[#'DCS']/td/a[@innertext='       Select DCS']

However it is not recognised once i have added it to the repository. It attempts to find the link but fails

If i try the same with the other link with name: ' Match/Trade Search' It is recognised without issue.

This makes beleives that it is due to the Identical Paths but i have no idea how to get the second link.

Any help would be majorly appreciated

Thanks for reading

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: issue highlighting a webpage link once added to Repository

Post by Ciege » Mon Feb 11, 2013 11:22 pm

*) Are you using RanorexSpy to find that link and copying the XPath from Spy?
*) When you say it can't be found, is it timing out? Is it giving you a specific exception?
*) Can you post a RanorexSnapshot of your AUT with the link visible?
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...