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
How can you close the second opened browser?
What are parameterizing tests?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
Define Environment Variable in UFT and its uses?
If I change the property value at runtime is it effect is object repository?
How to use the object spy in quicktest professional (qtp) 8.0 version?
Explain types of descriptive programming?
How does qtp identify the object in the application?
How to add synchronisation points in qtp?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
write a script to verify the image path(src property) of the images which are in web pages.
Diff b/w test scenario's and test Procedures?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
Explain different recording modes?
What is the quicktest professional testing process?