Forum Discussion

kevintran1308's avatar
kevintran1308
Contributor
4 years ago

How to take object property without using checkpoint

Hi,

 

Can anyone help me how to take property of object without using checkpoint?

Because I just want to take the property and compare it to turn it into the condition for the if else stuff.

 

Thank you

  • Obtain the desired object.

    Obtain values of the object’s properties.

    Compare the property values with expected values. Note that to compare actual values with expected values, you can use various comparison operations, like =, <, > and so on. You can also use property checkpoints  to check an object’s properties.

    Report the results.

    official site

  • tphillips's avatar
    tphillips
    Frequent Contributor

    Are you using keyword testing? Or scripting?

     

    In Keyword Testing, the If... Then Value1 option can be set to an Object Property

     Click the three dots at the right end of the Value test box and choose your object and its property

  • Virginia's avatar
    Virginia
    Occasional Visitor

    Obtain the desired object.

    Obtain values of the object’s properties.

    Compare the property values with expected values. Note that to compare actual values with expected values, you can use various comparison operations, like =, <, > and so on. You can also use property checkpoints  to check an object’s properties.

    Report the results.

    official site