Can u call txt extension file in QTP?

Answer Posted / king

we can .txt extension files.
using file system object we can call the .txt files.

for example:

set a=createobject("scripting.filesystemobject")
set b=a.opentextfile("path of the *.txt file",mode)
1-read mode, 2- writing mode and 8- append mode

using 2 lines u can call the particular txt file.

if u have any quarry plz call me or mail me i will explain
u.
raju.ippali@gmail.com
9823257761

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we do the frame work in qtp

1602


Can any one send me the QTP Basic Coding Samples?

1614


Explain xml checkpoints.

599


How to modify object property in qtp ?

563


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1396






hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2435


What is the default object synchronization timeout in qtp?

644


Can we create a qtp test from qc?

588


what type of automation is follwed in the project?

1485


what is meant by Implicit and explicit requirements?

3619


Why qtp always start action1 and does not start action?

602


What is keyword view in qtp?

550


What is the difference in the global and action sheet in qtp?

569


How to save your test using quicktest professional?

534


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1738