Hi,
Is it possible for the same test script to appear more than once within a test list? If not, is it possible for one test list to include another (i.e. nested test lists)? The scenario is that I want to test a Delete User function. My scripts are quite generic and modular.
Thjanks,
Nigel Edwards, Transition Computing
Is it possible for the same test script to appear more than once within a test list? If not, is it possible for one test list to include another (i.e. nested test lists)? The scenario is that I want to test a Delete User function. My scripts are quite generic and modular.
- I run script (A) that verifies if a user exists by checking they can successfully log on (if they can, then I log them out).
- If the user does exist:
- I run script (B) that will log on as superuser, delete the user, then log out as superuser.
- I then run script (A) again to verify the user cannot log on.
- I then run script (C) to create the user again.
- I then run script (A) again to verify the user can log on successfully again.
- If the user does not exist:
- I run script (C) to create the user.
- I then run script (A) again to verify the user can log on successfully.
As you can see, I want to call script (A) multiple times.
Now, I cannot guarantee that the user will or will not exist prior to starting this test sequence, so you can see that being able to execute the same modular script multiple times in a single test list would be really useful.
If it is not possible to have the same script multiple times in a test list, or not possible to nest test lists, then I do have alternatives, but not as efficient as being able to re-use scripts like this.
Thjanks,
Nigel Edwards, Transition Computing