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
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
How many types of actions are there in quicktest professional?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What is the extension of the qtp local repository?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
What are the recording modes in wave event?
what are all the fileds present in object repository?
How to import a test case present in ".xls" file to TD under a Test set?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
Explain the terms test and business component?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
What is parameter in qtp?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.