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

I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

0 Answers  


Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.

1 Answers  


How can I replace all the text from the QTP script with some other text.

1 Answers   Livetek,


How can we import a Open Office excel file in QTP

4 Answers  


what is key word driven frame work how to use keyword driven frame in QTP in a project

1 Answers   AppLabs,






How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,


How can we do Data driven testing Using For loop in QTP?

2 Answers  


How to load a object repository in QTP during runtime?

2 Answers   BNP Paribas, Virtusa,


I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..

3 Answers  


hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career

0 Answers  


why do we go for Test Automation?

2 Answers  


How to capture the text from the application using QTP?

3 Answers  


Categories