Is it possible to insert a random time delay so that a repetative set of actions, in this case clicking from one site link to another site link is done with random time delays?
Scenario - an application with say 10 users, all might want to access one page to process the contents, but locking is required so only one person can be in one site at a time. I want to run 2 clients with Robot clicking between 2/3 sites on each one to simulate the possiblity of 2 users going for same sites. Can I make the time delay random so that it is more realistic and chances of locking are increased?
Or any other ideas/improvments are welcome as I am very new to this.
Thanks v much
TestPartner 6.3, Visual Tests
Application under test: Client/Server based, C# .Net App with Infragistics Presentation layer
Database: SQL 2000/2005
To control transaction rates and randomization of delays, you could also do this in your TestManager Suite. In the Suite you could insert a synchronization point to ensure the multiple users begin a script at the same point.
If you want further control, you could either break down your script into two (would not do myself) or use code in your script at the point you want it to synchronize (where they click on the link). See SQASyncPointWait in help.