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 whether the contentText property of the object is empty or not by script ? If it is empty then I can check for another property like idStr.
Let me know if you need additional questions
Thanks
Nishchal
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.
Thank you for the updates . I figured out the solution by passing the alias.
NG