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

How to capture text from image to word

2 Answers  


Explain the difference between call to action and copy action?

0 Answers  


A web Page has 2 frames. Find out the number of weblist items in the second frame of the page.

2 Answers   Virtusa,


object types is used for what?

1 Answers  


Please Explain The QTP real Testing process with steps.

4 Answers  


Hi guys i'm prepareing for interview question for qtp i don't have bayground for vb scipt language can any one tell me it is easy to do job in qtp without bayground.

3 Answers  


what the difference between shared repository and per action repository?

0 Answers  


Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.

1 Answers  


now a days which one is using all companies for qtpscript a)Object Repository based script b)Descriptive program based script c)BOTH

1 Answers  


What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

0 Answers   CTS,


How to give Table check points?

4 Answers   ssinformatics,


Hi, How to export the Checkpoints and Output values(Test area output values) from Object Repository to Excel

3 Answers   Wipro,


Categories