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

write a qtp code to display all the items in the fly from combo box or list box

3 Answers  


How to start recording using quicktest professional?

0 Answers  


examples of user definied functions? how to write user defined functions in qtp9.2?

3 Answers   IBM,


What is difference between design time and run time data table?

0 Answers  


For Regression testing already written test cases are sufficient?

2 Answers   CTS,






Apart from VB script What are the fundamental criteria to gain the knowledge to write QTP script without OR and recording ?

2 Answers  


what is automation(qtp)bug pls giv me one ex?

1 Answers  


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

0 Answers   RR Donnelley, RRDonnelley,


what is defination of intergration testing?

2 Answers  


How to find the number the number of Links, Brolken Links in a webpage?

3 Answers   Ordain Solutions,


what are the areas that cannot be tested using an automated tool? list a few

3 Answers  


According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com

1 Answers   HCL,


Categories