Hi Suman,

You will need to setup a local server on your machine ( just for making the 
task simple ) where the QTP will be launched ( like xamplite ) and have to 
create a normal html file which can trigger a vbscript file on click lets 
suppose a button which in turn starts the QTP.

Also, the input in what ever form you want to pass on to QTP can be passed 
through this html page and should be carefully handled while scripting the 
same as the same vbscript which is used from triggering the QTP will have 
the duty to pass the information about the input to Main Script ( read here 
file name etc would be passed here from vbscript to main Action script 
through the use of environment variable )
OR
you can identify a common sharable path where the input is always expected 
to be present and your script will automatically can check that path/folder 
to look for input data.

Hope i'm able to make some sense to you.

cheers..

On Monday, April 15, 2013 9:37:42 PM UTC+5:30, Ganesh muralidharan wrote:
>
> QTP recognizes your html file right
>
>
> On Mon, Apr 15, 2013 at 10:43 AM, Sumanhyd <[email protected]<javascript:>
> > wrote:
>
>> Hi Murali,
>>
>> Thanks for reply. My question is how to write script to read values from 
>> html and use them in QTP. 
>>
>> REGARDS,
>> Suman
>>
>> Sent from my iPhone
>>
>> On 15-Apr-2013, at 18:38, Ganesh muralidharan 
>> <[email protected]<javascript:>> 
>> wrote:
>>
>> If QTP needs to read data from the same html file from which it is going 
>> to be triggered you can write a script to read the needed values from html 
>> first. 
>>
>> After scripting QTP should be triggered from html first and then it reads 
>> data from html using the script generated earlier.
>>
>>
>> On Mon, Apr 15, 2013 at 7:18 AM, suman ch <[email protected]<javascript:>
>> > wrote:
>>
>>> Hi Alll,
>>>
>>>               My requirement is to take values from an HTML file as an 
>>> input to QTP and start execution from there. 
>>>
>>> Can anyone suggest me how to pass data from an HTML file to QTP..?
>>>
>>> Regards,
>>> Suman CH
>>>
>>> -- 
>>> -- 
>>> 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]<javascript:>
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>
>>> 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 
>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing" 
>>> group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>
>>
>> -- 
>> Regards,
>>
>>
>> Ganesh Muralidharan
>> 'God Never Forgets' 
>>
>> -- 
>> -- 
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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 Groups 
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>>  -- 
>> -- 
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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 Groups 
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Regards,
>
>
> Ganesh Muralidharan
> 'God Never Forgets' 
>

-- 
-- 
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 Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to