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 |
How to handle Dynamic Arrays?
what is batch testing?
how will we run batch tests in qtp what is the process to run the multiple test sets?
Write a QTP script to print all the link names displayed in a web page
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
What is the use of sendkeys and what are send keys
What is Object Spy in QTP?
How does QTP identify an object?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
Mention what are the different types of recording modes in qtp? Which will be used when?
How to supress warnings from the "Test results page"?