FREE ONLINE COURSES FOR :-   QTP AUTOMATION  | MANUAL TESTING   | MOBILE APPS   | ANDROID APPS   | MONKEYTALK   | SELENIUM AUTOMATION TOOL  

स्वस्थ, सुन्दर, मजबूत व् आकर्षक दांतों के लिए बस एक ही विकल्प - नीम की दातुन
NOW CLICK HERE
नीम की दातुन

अब न पेड़ ढूंढना है और न उस पर चढ़ना है, बस घर बैठे मंगाइए, और लाभ उठाइये आयुर्वेद की इस दुर्लभ इनायत का : नीम की दातुन

Exporting the Scripts, Fetching a Scripts from one PC to another, Export a Script examples in QTP



Exporting the Scripts, Fetching a Scripts from one PC to another, Export a Script examples in QTP



How would you export a Script from one PC to another in QTP ?
You can create the use of the "Generate Script" function present in Object Identification, Tests Setting and Tools / Options tab to develop a zip of the scripts at the source computer. Then easily these zip file can be carried over and open into QTP at any destination computer.
No tool is required rather We got some line of code which we edited accordingly and used for exporting the script to QC.

Given Below is the ref code. This code will be saved as .vbs and then executed. you can maintain this code in loop wise and can export all the test script to QC.



strQCURL = "<>"
strDomains = "<>"
strProjects = "<>"
strUserNames = "<>"
strpasswords = "<>"




Dim qtApp
Set qtApp =CreateObject("QuickTest.Application")
qtApp.Launch

qtApp.Visible =True
qtApp.TDConnection.Connect strQCURLs, strDomains, strProjects, strUserNames, strpasswords, True '

'Connecting to Quality Center

If qtApp.TDConnection.IsConnected Then
qtApp.Open "C:\Automation\Test Scripts\TestScriptName1",True

Set qtqcTest = qtApp.Test
qtApp.Test.SaveAs "[QualityCenter] Subject\Automation\TestScript\Test Script Name1"
End If
qtApp.Quit
Set qtApp = Nothings 

Exporting the Scripts
Exporting the Scripts





Advantages and Disadvantages of Automation Testing













Virtual Objects with Example in QTP
Cross Platform Testing


What is Object Spy in QTP Ordinal Identifiers Alone can Make an Object Unique



Test Automation Frameworks Types



No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

स्वस्थ, सुन्दर, मजबूत व् आकर्षक दांतों के लिए बस एक ही विकल्प - नीम की दातुन
NOW CLICK HERE
नीम की दातुन

अब न पेड़ ढूंढना है और न उस पर चढ़ना है, बस घर बैठे मंगाइए, और लाभ उठाइये आयुर्वेद की इस दुर्लभ इनायत का : नीम की दातुन

ONLINE FREE QTP COURSE
ONLINE FREE MANUAL TESTING COURSE
ONLINE FREE MOBILE APPS TESTING COURSE
ANDROID APPS TESTING ONLINE FREE COURSE
MONKEYTALK TESTING ONLINE FREE COURSE
SELENIUM TESTING ONLINE FREE COURSE

Popular Posts