Can u call txt extension file in QTP?

Answers were Sorted based on User's Feedback



Can u call txt extension file in QTP?..

Answer / 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

Can u call txt extension file in QTP?..

Answer / nimesh

Yes, We can do. We can call .txt file which contains
vbscript or qtp automation objects.

To do that use SystemUtil.Run "give your .txt file path"

Thanks,
Nims

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More QTP Interview Questions

what type of automation is follwed in the project?

0 Answers   Google,


How to see entire results at the same timeafter the batch run.. Cannot see the entire results at a time. Is there a easier way view everthing at same,as our batch file very large

2 Answers  


how can I read text in browser and export the same into text file?

5 Answers   HP,


What is the extention of Virtualobject

1 Answers   Accenture,


What is obsolute path and relative path in QTP..? How to access them and what are the differences between them...??

3 Answers   Virtusa,






Please Clarify if smartidentfication is used at runtime when qtp does not recogonize the objects

3 Answers   Ordain Solutions,


Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

0 Answers  


How many actions we can write in a test?

7 Answers   TCS,


What is the present version of the VB Script we are using

1 Answers  


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

0 Answers  


How to give Table check points?

4 Answers   ssinformatics,


How do we run the scripts in QTP ?? what are the three options....

4 Answers   HCL,


Categories