How can you connect the database with QTP?
Answers were Sorted based on User's Feedback
Answer / siva
set mycon = CreateObject("ADODB.Connection")
mycon.open("driver=SQL Server;Server=localhost;database=(database name);trusted_connection=yes")
set myresult=mycon.execute(Select * from emp)
while myresult.EOF<>TRUE
msgbox.myresult.fields(0)
myresult.movenext
wend
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / prashanth
Hi Sandeep,
What are the steps through database wizanrd, will u give
clear steps.
| Is This Answer Correct ? | 0 Yes | 0 No |
In QTP, What is Global action and Local action?
what is the frame work your using in automation testing
i have an array CAPGEMINI .....Here i need to check whether G is there or not ..how to do that and friends i have one big doubt that is whether it is array or string ,how we come to know that and where we consider that it's array ,where we consider that it's an string because when i want to find the length i have big doubt whether we need to use len function or ubound ... ans me for this TWO Questions any one please
how can i count the number of links???
how to write regular expression for Date field?
with out object repository i need to launch IE and then navigate to a login page and then operate the objects within the page. How will be the script?
after click on compose mail how can we attached a file in qtp with vbscript code
explain keyword driven framework?
How to switch between browser tabs? )moving from one tab to another tab)
What is checkpoints for quicktest professional (qtp)?
Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..
How will you test a stapler?