Page 1 of 1

Dynamic Instantiation

Posted: Wed Aug 10, 2016 2:22 pm
by ZeenyxSupport
If you want to interact with or check for the existence an object that has not been defined you can use a selector to do so. For example if you want to know whether a textual object is on your web page, you can use the following approach:

MyPage.WebText["the text of the object goes here"].IsPresent()

If you want to match the case as well as the text, add the 'exact' selector modifier to the action like this:

MyPage.WebText["the text of the object goes here", exact].IsPresent()