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 is accessibility check point?
How you calling actions in qtp?
What is an expert view and keyword view?
How many add-ins comes by default with qtp?
What is qtpro?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
Can I change properties of a test object?
By using QTP can we record any log files written by the application which is in execution?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
What is the use of an object spy tool in qtp?
How does qtp identify objects in the application?
What the differences are and best practical application of Object Repository?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.