Generate a Three-Digit Random Number in Scenario Editor

What do we do when we encounter a special character and we have to assert it in a designer script ?


Lets take the below Example:

User navigates to the Apple website and tries to do a assert on iphone page and finds that the iphone 7 has special character " just before 7. So the user now has to assert iPhone"7 which contains a special character just before 7.

We can "\" to escape the special character and run the script successfully.


VYvRyqFjstu0oJCA-b5d9416e81f7.png

For characters that are usually treated specially, '\' indicates that the next character is not special and should be interpreted literally.


If you have any feedback on this topic, please contact us at documentation@appvance.ai

Last updated: October 16, 2026

Last updated: October 16, 2026


Revision #4
Created 2026-07-31 15:40:04 UTC by Admin
Updated 2026-10-16 17:57:09 UTC by mmora