Question

1
Replies
62
Views
PrashantK0033 Member since 2017 12 posts
Ernst & Young LLP
Posted: May 3, 2018
Last activity: November 6, 2018
Closed
Solved

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.

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn