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
How to break the object spy ?
What are the steps involved in recovery scenario wizard?
How many number of actions possible in qtp?
How to customize qtp?
How QTP identify the system time that's changes every seconds?
Does quicktest professional (qtp) is unicode compatible?
what you mean by artifact,milestone...
What does mean by Scope of Automation?n How we defined it?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
What is the difference between run time object and test object in QTP?
what is profile tool?
Hi ,Can any one pleas explain how to test splash objects using QTP?
What is text/text area checkpoint?
What is RTM (require ment tracebulity marix) fromate?
How to execute a winrunner script in quicktest professional?