Forum Discussion
- vinniewStaff
Hi dikshika114
You can do this using property checkpoints.
In the wizard you can change the condition from exists to doesnt exist
https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/property/about.html
Hope this helps
Vinnie
- dikshika114Contributor
Hi. I am using JavaScript not Keyword script.
The code part is something like that: for my conditions but it's not working because it's returning error for "deleteLocationLink.Exists" because it delete location link doesn't exists. vinniew
if(equals(deleteLocationLink.Exists, false))
{
Log.Message("User did not have permissions to Delete this location.");
}
else
{
Log.Error("User don't have permissions to Delete this Location but he is able to do that.");
}- dikshika114Contributor
Hi vinniew
Can you please give me a quick solution for that?
Related Content
- 2 years ago
- 5 years ago
- 4 years ago
- 10 months ago
Recent Discussions
- 4 hours ago
- 6 days ago
- 10 days ago