Hi,
I am working in an Insurance application where I need to create a case each time with unique claim number. Is there any option in Ranorex to perform this ?
Thanks!
Pass dynamic variable on each run of test
Re: Pass dynamic variable on each run of test
If you use Ranorex Automation helpers within your solution, you can use the user code method 'GetRandomString(String length)'. There is no way to guarantee it is unique in your system; however the longer the string is, the more likely it is to be unique. Here I chose to generate a random string with 100 characters and output it to the report:
Alternatively if you want more control, you can also just use .NET code to generate a random string/number/etc:
https://www.dotnetperls.com/random
Hope this helps
Alternatively if you want more control, you can also just use .NET code to generate a random string/number/etc:
https://www.dotnetperls.com/random
Hope this helps