Question
4
Replies
214
Views
TATA Consultancy Services Ltd
Posted: June 15, 2017
Last activity: June 19, 2017
Closed
GetColne return NULL value
I have interrogated a div element with "Element Class Match Rule" and I want to use it to match its innertext dynamically. I see that there are more than one matching targets for that tag with a particular class name. But GetClones is returning NULL. I have set UseKeys=True. As I am new to Openspan, I am wondering if I have missed something else. Please guide me.
***Updated by moderator: Lochan to add Categories***
Hi,
Set the UseKeys property to True for the div object.
Then call GetClones which will return CloneCollection.
You can loop this collection and return the exact div with your conditions.
thanks,
Harish.