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 |
i did B.Tech cse and i secured 76%. instead of siting at home ... i would like to do some course. can u suggest me in this.
What is keyword view and Expert view in QTP?
breef description of batch testing ?
How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?
Using QTP checkpoint, where do you store your expected Properties of the object which later compares with the actual properties of the object???
how qtp handles customised object
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
What are main panes available in qtp test browser?
How QTP recognize the object??how to add objcts into object repository??
How can we encrypt the username using recording mode in login window? There is 2 encrypted types what are it
why the smart identification is not there in WinRunner
How to capture text from image to word