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

why we are using environment variables instead of global variables?

1 Answers   TCS,


Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........

0 Answers   IBM,


What are the common defects found in your project? (in qtp interview)

0 Answers   TCS,


How can we redirect QTP results in to a excel sheet after the execution

3 Answers   SAP Labs, Virtusa,


what is Defect density, defect leakage, defect age,latentbed,yasid testing, interface

4 Answers   Syntel,






In website, protocol has been changed http:to https what you will do? tell me your approach?

1 Answers  


Excepton Handling?

0 Answers   Wipro,


what is the general issues faced while using automation tool Qtp9.0

1 Answers   TCS,


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

0 Answers  


I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.

0 Answers   RBS,


QTP script is not working on other's machine..

0 Answers  


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

0 Answers   AppLabs,


Categories