Forum Discussion
Is the question about creating random userID's
or hooking up different options for multiple test senarios?
- Colin_McCrae9 years agoCommunity Hero
I think they want the test top be re-usable.
But part of the test is to create the user.
And the same user cannot be created multiple times.
I have a similar situation. Once my test has completed, I disable the user and the role set up for them. But at the same time I do this, I add some random strings of rubbish to the ID's stored for the user and the role. This way, they are not seen as duplicates next time round and the same user can be set up repeatedly so the input data for the test doesn't have to be constantly updated.
But my application allows me to do it this way. If it didn't I'd have had to add the randomisation data at creation time.
Related Content
- 2 years agoarmygrad
- 2 months agoasantev2
- 3 years agoMarkSchofer
- 4 years agobklabel1
Recent Discussions
- 13 hours agodhundley