| || |
Running diff tests on diff machines same time
For example I have two testcases and two machines. Can I run both test cases at the exact same time. So testcase1 is running on the machine1 at the same time testcase2 is running on machine2?
Re: Running diff tests on diff machines same time
Yes, it is possible, and there are many different way to do it.
What matters is, what are you trying to accomplish ?
I do this as a coordinated test of two client GUIs connected to the same server.
Is this what you want to do ? Or are you just trying to save time in starting tests ? Maybe you want to avoid buying extra development licenses ?
In any case, the first thing that you must have a remote SilkTest Agent running on the remote computer.
If your testcases are simple, without appstates, it is very easy to use spawn() and connect() to run independent testcases from a "master" copy of SilkTest.
One disadvantage is that the results get intermingled. Your can turn on options under "Results -> View options" to know what event occurs on what machine, but the are some bugs in this if you use ResPrintList().
If your testcases are using complex appstates, this is a little more complicated.
You need to use the "multitestcase" mechanism.
Another approach is that you can run two independent instances of SilkTest on one computer, with one copy set to connect to the remote agent. One problem with this is that you must be VERY careful in your setup of the second copy of SilkTest or they will mess each other up.