Re: Dynamically running QTP scripts from QC -any o
[ QUOTE ] Requirement : End user should be allowed to select the QTP script in any order from QC (Valid flow order only) and can executed it.
[/ QUOTE ]
First it says in any order, then it says valid flow order only. That my friend is a contradiction of statements. The requirement is no good.
However, if each test is written in such a manner as to clean up after itself and when it starts it configures the system as needed for the test, then each test can be run in any sequence. Whereas if the test set was set up in the "valid flow order", the tests can be run in the proper sequence by running the test set. Writing a test script which will setup and cleanup is very good practice. It takes a little longer initially but will save a lot of time later on.
HINT: The setup & cleanup could be a called function so there is only one script to change when the application changes.
Success is the ability to go from one failure to another with no loss of enthusiasm.
~ Winston Churchill ~