Question
Ernst & Young LLP
US
Last activity: 6 Nov 2018 20:02 EST
Interrogation
Hi All,
Can anyone help me to Interrogate below structure / of if How to handle below senario
Have below DOM structure
<ul>
<li> <span> abc </span> <span> xyz</span> <a> ... </a> </li>
<li> .....</li>
<li> .....</li>
<li> .....</li>
</ul>
I want to access one span and <a> tag through automation. How Can I Interrogate in this situation both span and <a>
or is there a way to get Parent control or child control of <a>? When check "Test Target methods " for <a>. I can see "get_parent" method available but I didn't that when I try to use it from window object Explorer.
Thanks.