Dynamic Instantiation

Tips and Techniques

Moderators: ZeenyxSupport, blesuer

Post Reply
ZeenyxSupport
Site Admin
Posts: 17
Joined: Thu May 24, 2012 3:53 pm

Dynamic Instantiation

Post 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()
Post Reply