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
Have you faced any problems with object repository?
What is the file extension of the code file and object repository file in QTP?
Limitations in QTP?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Do you know how to connect database? Can you tell me the procedures?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
What is QTP’s model for test creation?
i can done the project with QTP in that time i can say how many members in my team size?
What is Port testing. Whhen will you perform?
How can you exit from an action?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window