programdoubts
13 years agoContributor
URGENT: how to get all the links under specific div/ panel only
HI All,
im shal new to TestComplete tool.
How to get all the links under specific div/ table/ panel
ex:
<div id="firstDiv">
<a href="1"> 1 </a>
<a href="2"> 2 </a>
<a href="3"> 3 </a>
</div>
<div id="secondDiv">
<a href="1"> 1 </a>
<a href="2"> 2 </a>
<a href="3"> 3 </a>
</div>
Now i wanna get all the links under "firstDiv" not under secondDiv
pls let me know how to write script in vb to get all the links under specific div tag
thanks in advance
im shal new to TestComplete tool.
How to get all the links under specific div/ table/ panel
ex:
<div id="firstDiv">
<a href="1"> 1 </a>
<a href="2"> 2 </a>
<a href="3"> 3 </a>
</div>
<div id="secondDiv">
<a href="1"> 1 </a>
<a href="2"> 2 </a>
<a href="3"> 3 </a>
</div>
Now i wanna get all the links under "firstDiv" not under secondDiv
pls let me know how to write script in vb to get all the links under specific div tag
thanks in advance