how do you done Data-driven test using MS-Word Instead of
DataTable

Answers were Sorted based on User's Feedback



how do you done Data-driven test using MS-Word Instead of DataTable..

Answer / saravana.s

In Case, if my word or text file is having millions of
lines then how can i calculate efficiently the total number
of lines?

Is This Answer Correct ?    1 Yes 0 No

how do you done Data-driven test using MS-Word Instead of DataTable..

Answer / nagi reddy

Could u please give Idea and code for this Question

Is This Answer Correct ?    0 Yes 1 No

how do you done Data-driven test using MS-Word Instead of DataTable..

Answer / rajani

using the following script we do the data driven test, data
from flat file i.e., from notepad, Ms-Word etc.,
option explicit
dim fso,f,n
set fso=createobject("Scripting.filesystemobject")
set f=fso.opentextfile("path of word doc.",1,false)
while(f.atendofline<>true)'read the file to the end of file
n=f.readline()'line by line reading

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?

1 Answers   FAI,


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

0 Answers   W3 Solutions,


What is qtpro? What is a quick test professional?

0 Answers  


How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?

6 Answers  


What is action split and the purpose of using this in qtp?

0 Answers  






Can we record a video in qtp recording??

1 Answers   BirlaSoft,


In qtp,how to interact tool & application build?

1 Answers   Polaris,


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

0 Answers   Infosys,


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

0 Answers  


can any one tell me how to select some text.i need the script for that

1 Answers  


What are the option you can use to synchronize your test?

2 Answers  


What is iteration?

1 Answers  


Categories