12-27-2008, 10:53 AM
Hi Ankur,
I need to place the results of the test execution in a specific folder. I reffered the QTP help doc as u can see below, thats the script mentioned in help doc
"however when i execute a simple script in QTP like below"
i dont get the results placed at C:\Res1.
Please let me know if i am doin this is in a correct way, or is there another way to do it
Ritesh
"When the goin gets tough the tough gets goin"
I need to place the results of the test execution in a specific folder. I reffered the QTP help doc as u can see below, thats the script mentioned in help doc
Code:
Set qtResultsOpt = CreateObject("QuickTest.RunResultsOptions") ' Create the Run Results Options object
qtResultsOpt.ResultsLocation = "C:\Res1" ' Set the results location
Set qtResultsOp=nothing"
"however when i execute a simple script in QTP like below"
Code:
"Dialog("Login").WinEdit("Agent Name:").Set "ritesh"
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure "495507a186cd47a16355ad62cc6a70950800572b"
Dialog("Login").WinButton("Cancel").Click
Set qtResultsOpt = CreateObject("QuickTest.RunResultsOptions") ' Create the Run Results Options object
qtResultsOpt.ResultsLocation = "C:\Res1" ' Set the results location
Set qtResultsOp=nothing"
i dont get the results placed at C:\Res1.
Please let me know if i am doin this is in a correct way, or is there another way to do it
Ritesh
"When the goin gets tough the tough gets goin"