Solved
Forum Discussion
4 Replies
Sort By
- WambooCommunity Hero
Are you sure that you are using the "Exist" and "Visible" prop in the right way?
I use Exists with boolean value like true or false
example:
if (obj.Exists == false) {
- tristaanogreEsteemed Contributor
Wamboo wrote:
Are you sure that you are using the "Exist" and "Visible" prop in the right way?
I use Exists with boolean value like true or false
example:
if (obj.Exists == false) {
Or, probably even more correct... to check for not exists
if (!obj.Exists)
to check for Exists
if (obj.Exists)
You don't need to compare to a boolean value, just use the boolean result.
- kaiiiiRegular Contributor
Hi,
Thanks for your reply.
Yes i am sure ..Assert condition that i am using is correct.
Consition is false but execution go inside.. (strange for me)
Related Content
- 6 months agopaarmann-ara
- 9 years agoteak
- 5 years agoToananas
Recent Discussions
- 3 days agovladd1