Udhay,
I have one diubt how to compare excel sheet values and web
table values.
I was faced this question in ADP.
Any body please give me answer
It will help
ful to me
On Sun, Jun 10, 2012 at 5:36 PM, sujit kumar <[email protected]> wrote:
> Hi Udhay,
> Better u use one XML file which store Result folder path into XML file
> then load this XML file into all script and If you want to change this
> location just change into XML file and Enjoy
>
> --
> Thanks & Regards
> Sujit :)
>
>
>
> On Sat, Jun 9, 2012 at 10:01 AM, Anish Pillai <[email protected]
> > wrote:
>
>> Hi Udhay,
>>
>> How are you running your test scripts? Directly from QTP or using AOM ??
>> If you are using AOM then you can use the below code to specify the result
>> folder.
>>
>> 'Open QTP
>> '------------------------------------------------------------
>> Set qtpApp = CreateObject("QuickTest.Application")
>>
>> 'If QTP is not open then open QTP application
>> If qtpApp.launched <> True Then
>> qtpApp.Launch
>> End If
>>
>> 'Make the QuickTest application visible
>> qtpApp.Visible = True
>>
>> 'Set QuickTest run options
>> 'Instruct QuickTest to perform next step when error occurs
>> qtpApp.Options.Run.ImageCaptureForTestResults = "OnError"
>> qtpApp.Options.Run.RunMode = "Fast"
>> qtpApp.Options.Run.ViewResults = False
>>
>> 'Open the test in read-only mode
>> qtpApp.Open strScriptPath, True
>>
>> 'set run settings for the test
>> Set qtpTest = qtpApp.Test
>>
>> 'Instruct QuickTest to perform next step when error occurs
>> qtpTest.Settings.Run.OnError = "NextStep"
>>
>> 'Create the Run Results Options object
>> Set qtpResult = CreateObject("QuickTest.RunResultsOptions")
>>
>> 'Set the results location
>> qtpResult.ResultsLocation = strResultPath
>>
>> 'Run the test
>> qtpTest.Run qtpResult
>>
>>
>>
>> *
>> Cheers,
>> a n i s h
>>
>> [QTP
>> Tutorial]<http://www.automationrepository.com/tutorials-for-qtp-beginners/>|
>> [VBScript
>> Tutorial]<http://www.automationrepository.com/category/qtp-and-vbscript-tutorials/>|
>> [QTP
>> Blogs] <http://www.automationrepository.com/qtp-blogs/>
>>
>> **
>> [** Subscribe to Get New Posts in your Inbox
>> **]<http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds>
>> *
>>
>> --
>> ar
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>
>
>
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
--
prasad kopparapu
+91-9032114331
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en