Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
7 years ago
Solved

TestComplete - check whether the property value is empty

I would Like to know how we can we check whether the property value of the object is empty or not by script in TestComplete ?   For e.g. We have a Object called Log Out Button, Want to check whethe...
  • tristaanogre's avatar
    tristaanogre
    7 years ago

    I'm confused: Why do you need to log the property used for mapping when you click the button?  What purpose does that serve in your testing?  The mapping does the identification... all you need to do is pass the Alias into your ClickButton function and call the appropriate click method.  What is used for mapping makes no difference in the execution of the click.

  • nisgupta's avatar
    nisgupta
    7 years ago

    Thank you for the updates . I figured out the solution by passing the alias.

     

    NG