Let's say I have 5 scripts (Test1 ... 5). I'm looking for examples or tips so I can randomly callScript any script from Test1 to 5.
I'm doing smoke test but it is not necessary to run 5 of them. 1 of them should be good for each run.
Thanks in advance.
Since RFT is Java, you have to think like a Java programmer. One way to do this would be to put your scripts in separate methods. Your main routine would pick a random number and then use a case statement to go to invoke one of the methods. A beginning book about Java would probably help out a lot.
build the scripts separately.
put if then logic to call the scripts based on a peice of data (datapool)
if data = 1 then
How to read callScript's Datapool from present Script?
Ex: If present script has datapool you can read the datapool using dpString("firstName");
How can we display the datapool info from the callingscript?