Your team has reported this issue in a private ticket. I will also share this information here on the public forum for anyone else that might encounter this misbehavior.
The issue is actually caused by a change in the WaitForExists step in the latest Service Pack release. It now throws different exception that breaks the If...Else statement's logic and the test does not proceed as expected. I have already created a public bug report item on our feedback portal and our engineering team started investigating the issue.
There are 2 possible workarounds that you can use, until the official fix is release.
- Revert to the previous official release of Test Studio 2019.2.0619 (you can find the installation in your Telerik.com account page). Please keep in mind that the new features and small bug fixes, that were included in the Service Pack, will not be available. That said, they are not major changes and might not affect your overall experience with the product.
- You can replace the WaitForExists step with VerifyExists step and the issue will be resolved. Both steps will have a timeout that allows the application to load, before making the verification and in most cases will behave the same way. This option requires you to manually record new "Verify element is visible" step or new WaitForExists test steps and change their roles to verification steps (see changeRoleVerification.png).
Please consider the above suggestions and go with the one you that better suits your scenario. The fix should be included in our next official release, after it is fully tested, but you can also follow it and get notifications for its progress.
I remain available, in case you need further assistance.