Question

1
Replies
142
Views
NagaP504 Member since 2016 20 posts
Tata Consultancy Services
Posted: November 13, 2017
Last activity: November 6, 2018
Closed

How to know weather a control / Html ID is created or not ? :: Pega Robotic / OpenSpan

Hi Community,

I'm trying to identify weather a HTML control is created or not in a webpage.

The control is dynamic in nature and Id also changes dynamically [Not only Index]. Say for example A1 or B1.

I would like write script document.getElementById(A1) , if it is not null - i will proceed with A1 Id.

Note : If the control has fixed name, we can use IsCreated to verify. In this case, it is different.

Thanks in Advance.

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