Use case: I want to test the creation of users on a system. This includes creation, and deletion of the user.
Issue: Due to other system processes and requirements, when the user is "deleted" the username is no longer usable.
Question: Is there a way in Ranorex studio to auto-increment the username variable every time the test is run? For example:
Test1 - Create UserName<incremented_dynamic#1>. Delete User
Test2 - Create UserName<incremented_dynamic#2>. Delete User
I tried looking around the forums, StackOverflow, and some videos and wasn't able to find anything.
Auto increment in a test
Re: Auto increment in a test
Even better...
Write a little snippet of code that appends the time/date stamp to your user name and you will guarantee a unique name...
Write a little snippet of code that appends the time/date stamp to your user name and you will guarantee a unique name...
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
-
- Posts: 3
- Joined: Mon Apr 29, 2013 9:54 pm
Re: Auto increment in a test
Thank you for your quick response!