how do you done Data-driven test using MS-Word Instead of
DataTable
Answer Posted / 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 View All Answers
What are the data types in qtp?
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
What do you to script when objects are removed from application?
Can I change properties of a test object?
With what extension you can save the list of tests in a file to run in test batch runner?
Explain sub procedure of vbscript.
is there any addin for remedy user application
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
How can i initiate the objects to find uniquely in OR
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
What are the advantages of Object Repository?
banking domain description for software tester for interview
What is a quick test professional?