Forum Discussion

techgirlbb's avatar
techgirlbb
Contributor
7 years ago

How to insert checkpoint to check the value not exists in one of column on web page

During my scripting for web application, one of the scenario came across as

 verification of requester name not present under approver column in the table. Table data is not static.

Ex: Table contains different columns(state, Approver, comments, crated)

Approver column contains 5 names ( Test name1, Test name2,Test name3, Test name4 ,Test name5). I need to validate 

 requester name "Test Name 6" not present under Approver Column.

 

 

Can you through some suggestions.?

 

 

Thanks in advance

 

3 Replies

  • cunderw's avatar
    cunderw
    Community Hero

    I would approach this with something like FindChiledEx from the table object and then do a property checkpoint on the result and verify Exists equals false.

     

    Or if the row does exist and you can find it based on some other criteria, find the row and then do a property check point on the table using wValue and verifying that the cell does not contain the name.