I have a quick question...
Is there any way to use multiple agents to complete the same task?
Here's what I am doing: I am reading contents of a lot of folders and analyzing data in some files.
I start reading from the root and going only 2 levels down. Is it possible for me to divide the load of analyzing folders from 1st level (down from the root) between different agents?
You mean to say is that u wannt execute to number of testcases which are in sequence with a number of agents.i.e. first few testcases are executed by one agent and next few testcases by another agent.
I think this is not possible.
one agent will execute all testcases from first to last. In a similar way other agent on other machines will behave.
I think this answers your queries...
Thanks for a quick reply.
Let me rephrase my question a little bit...
I have 1 testcase that goes through 2 levels of folder structure (e.g. root\level1\level2). At Level1 I would like to split the load between x number of Agents (let's say 10 folders per Agent).
Can this be done with only 1 computer and 1 testcase? Can this be done with Multiple computers and 1 testcase?
Can't be done with one computer. You can not have several users using one desktop at the same time on the same computer and Silk simulates user. All windows are written to support only one user. You can not for example expect a window to handle two different mouses.
Now if you got two computers and 2 agents you can do it.
Please read your documentation. There are million ways of doing it and you need to pick what works for you. I personally like data driven tests so I would not pass arguments back and forth but read them directly from DB but hey it's just me.
I suggest you begin with tutorial that explains multi threaded functions.
No, I am basically analyzing the results and writing data to a database. If we run a lot of tests, SilkTest might take up to 3 hours to go through each folder, write data to a database, send out e-mail. So, I was hoping to split the workload between several agents to make this go a bit faster.
I will also try to look at some Data Driven testcases as Dima has suggested and see if that will fit my needs.