# 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.

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/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