Run Script in multiple versions simultaniously - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Run Script in multiple versions simultaniously (/Thread-Run-Script-in-multiple-versions-simultaniously) |
Run Script in multiple versions simultaniously - Pallavi - 08-07-2009 I have 10 tests in a quality center testset. I need to run these 10 tests in 2 versions of application. Environment.xls contains the host system name and the application versions. System1 has application version1 system2 has application version2 So the tests should pick the system name and version number from this sheet and run on that particular host system. I mean the first test in the testset should read the host system from xls file say system1 which has version1 and execute on that system Then it has to read the next system name from xls file which contains version2 and execute again on the second system. Please let me know if it is possible to do this. Thanks and Regards, Pallavi RE: Run Script in multiple versions simultaniously - basanth27 - 08-07-2009 Are you executing the scripts from Quality Center ? RE: Run Script in multiple versions simultaniously - Pallavi - 08-07-2009 Yes Basanth we are executing from quality center. We need to execute a script from quality center test set which should run in 4 different versions of the application RE: Run Script in multiple versions simultaniously - basanth27 - 08-07-2009 Quality Center has a amazing ability to handle multiple host machines and multiple executions. On the host manager create 2 different sets of hosts. Manually add the required hosts for the application versions. On your test lab, create test sets to associate the hosts according to the versions. Kick of multiple executions. All the tests required to be executed against the host machine specific with the version will be executed against it the rest will follow the definition. IF you dont want to do it the above way and you need to do it dynamically then research on, "TDAPIOLE80.TDCONNECTION" and QCUtil. Maybe you may need to programatically initate QC execution. Let me know if it helps ! RE: Run Script in multiple versions simultaniously - Pallavi - 08-10-2009 Hi basanth, I need to programatically initiate QC execution.I need to connect to QC. Then execute a testset on a particular remote Host machine. I tried the below code. But it is not working. Option Explicit Code: Public Sub RunTestSet(otdc, tsFolderName, tSetName, HostName, runWhere) Please let me know how to do this. Thanks, Pallavi RE: Run Script in multiple versions simultaniously - basanth27 - 08-10-2009 The Code looks fine. Are you getting a Error Message ?? RE: Run Script in multiple versions simultaniously - Pallavi - 08-10-2009 No I am not getting any error message. But The 'Scheduler.run ' is not running the scripts |