mike gregg
User
Offline
Posts: 23
|
 |
« on: February 04, 2010, 08:32:49 AM » |
|
I am running QTP 10 in a virtual lab of 5 virtual machines. I have a script that includes three actions.
An Init action that sets some parameters and some global variables A Regression action that is primarily function driven A Close action that shuts things down and posts metrics.
The init action will post a start time and a results file name to an Init data sheet, all of the data to drive the regression script is in a "Regression" sheet. I have a Close datasheet and a Global data sheet included but these are not used in test execution.
If I have a copy of the script running on machine QTP001 and then open the script on QTP002 it will only open read only. I can get two scripts executing at the same time but it requires a bit of manipulation and is not a realistic solution based on the way my QA Team executes testing.
What I am trying to do is run this script on multiple machines with the only difference being the datasheet being assigned and executed.
We are converting from Winrunner to QTP and I can run multiple machines in the WR world. So, I am hopeful this can be done.
Does anyone have any thoughts or experience with this?
Thanks for your help
|
|
|
|
|
Logged
|
|
|
|
Robinhang
User
Offline
Posts: 2
|
 |
« Reply #1 on: February 08, 2010, 01:50:21 AM » |
|
"If I have a copy of the script running on machine QTP001 and then open the script on QTP002 it will only open read only." Sorry, do you mean two PC(QTP001 and QTP002) are run two copyies of script?
|
|
|
|
|
Logged
|
|
|
|
mike gregg
User
Offline
Posts: 23
|
 |
« Reply #2 on: February 10, 2010, 08:14:20 AM » |
|
To clarify,
I have a script called Regression located in a network directory. I open the script on machine QTP001 and execute the script.
I then open the same script on machine QTP002. At that point I get a read only copy.
I am hoping to be able to run the same script. From the network location on multiple machines. The only difference would be the datatable assigned to the script.
We can do this with WinRunner.
|
|
|
|
|
Logged
|
|
|
|
|
Nitya Sri K
|
 |
« Reply #3 on: February 10, 2010, 10:41:50 PM » |
|
Do you have very large number of scripts and data in the common newtork path
Would it be not good if you copy to the local VM and run,in that case there would be a clear demarcation
We were doing same with WR on multiple VMS
Thanks,
|
|
|
|
|
Logged
|
|
|
|
|