How to read a text file from QC using QTP.

I would like to do something like this. But instead read a
file from QC and NOT from my local drive.

Set fso = CreateObject("Scripting.FileSystemObject")

Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading)

Thanks


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

Hi, Is there any function or vbscript in QTP to clear the cookies,sessions. Please help me in this.

6 Answers  


How the exception handling can be done using QTP

6 Answers  


difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties

5 Answers   Wipro,


Define Canvas view of UFT?

0 Answers  


What are the disadvantages of Recovery Scenarios in QTP ?

3 Answers  






How do know the number of browsers opened?

0 Answers  


What are benefits of qtp?

0 Answers  


we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do

5 Answers   Covansys,


What is a Web Table?

5 Answers   Kanbay,


What are the features and benefits of quick test pro (qtp 8.0)?

0 Answers  


What are Child Objects?

1 Answers  


What is the difference between "call to action" and "call an existing action"

9 Answers   Accenture, Yana Software,


Categories