how do you done Data-driven test using MS-Word Instead of
DataTable
Answers were Sorted based on User's Feedback
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 |
Could u please give Idea and code for this Question
Is This Answer Correct ? | 0 Yes | 1 No |
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 |
I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
What is qtpro? What is a quick test professional?
How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?
What is action split and the purpose of using this in qtp?
Can we record a video in qtp recording??
In qtp,how to interact tool & application build?
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?
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);
can any one tell me how to select some text.i need the script for that
What are the option you can use to synchronize your test?
What is iteration?