Forum Discussion

jyothinb's avatar
jyothinb
Contributor
10 years ago

How to create property checkpoint

Can someone help me on creating a property checkpoint  - 



To  make sure a particular data is not exist in any of the witems of the object.

 

Objectname:  Testapplication ["splitContainer1"]["SplitterPanel1"]["ToDo1"]["lsttasks"]["wItem"](1, 0)

There are lot of  witems in this object



Thanks,

3 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Balajyothi,

     


    The wItem property allows you to access only the specified item on the list. It looks like you need to check the wItemList property - it contains all items from the list. Here is the sample how the comparison settings can look like:




     


     


    BTW, make sure that you are using the Advanced View mode when exploring the object to select the wItemList property.

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Balajyothi,

     


    This property is added only to some controls. It looks like your control isn't a standard one.


    Explore all the properties and methods of the control to find the one that returns the list of all items. Make sure that the Advanced View mode and "Show hidden properties" are activated in the Object Browser.


     


    If you don't find the property, it looks like you have to create several checkpoints that will compare each item with the desired value.