Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

XPath FF.au3

$
0
0
Hi folks,

Trying to get a small help here.

I am trying to click on a link inside a webpage in firefox and FFClickLink fails. Hence thinking of using XPath and FFClick.
Unfortunately the link is referring a javascript as below and I am not able to obtain the correct Xpath value even with the firebug plugin or I maybe using it incorrectly.

<tr>
<td class="data1" nowrap="on">
<a class="noline" title="Queue Name : CIHGNOC" href="javascript:viewQ('SWLIVE|TESTQUEUE|R')">TEST QUEUE</a>
</td>
<td class="data1" align="right">146</td>
</tr>

The code that I am trying to use here is as follows (xpath got from mozilla plugin firepath/firebug)

$sObj=_FFXpath(".//*[@id='top']/tbody/tr[2]/td[3]/table[6]/tbody/tr/td[1]/table/tbody/tr[7]/td[1]/a","",9)
_FFClick($sObj)

Thanks,
Shaheen

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>