write a VBscript code to parametrize test script using test
data from sqlserver database?
Answer Posted / rajh
dim con,rec
set con=create object("adodb.connection")
set rec=create object("adodb.recordset")
con.open"provider=sqloledb.1;server=name;username=scott;pwd=tiger;database=dbname'
rec.open"sql statement"con
while not rec.eof
window("winmame").winedit("uname").set rs.fields(un)
in the same way use the data
loop
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the difference in the global and action sheet in qtp?
What is quicktest professional window?
Brief the process of testing with UFT?
How did you resolve conflicts present in Object Repository?
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
Explain hybrid framework with advantages and disadvantages?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
What is qtpro? What is quick test pro? What is a quick test professional?
Have you done batch testing in qtp? If yes how you are doing?
Explain the concept of object repository?
How to create a standard checkpoint ?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0