Hello! Can someone help me to understand if I can use regular expression as value of Variable.
Every time I run the test I need unique First and Last name. Now in Ranorex studio I can use "Variables" button to store all my global values that I want to have access from every module of my project.
I created variable "FirstName" and assigned it a default value "FirstName_%S_%M%D%Y_%T"
which is a current timestamp. But when I use it and trying to type it in Edit box nothing happens.
Static variables work no problem. Any work around I can use? Again they should be accessible from every test case in my project.
Thank you so much,
Nik
Can I use regex in Variable value
Re: Can I use regex in Variable value
Sure you can. But if a repository item needs to take a regex variable value you'll need to ensure it's setup with the correct comparison operator e.g. text[@accessiblename~$RegExVariable]