What are the details steps to connect a remote mysql
database in QTP
Answer / santhosh ankam
This is code to run sql query through qtp.
SQL "SELECT * FROM ORDERS"
connection_string "QT_Flight32"
columns 1
set connection CreateObject("ADODB.Connection")
connection.Open connection_string
set rs1 connection.Execute( SQL )
rows db_get_rows_count(rs1)
msgbox rows
rows rows-1
myval db_get_field_value(rs1 rows columns )
msgbox myval
Is This Answer Correct ? | 1 Yes | 8 No |
How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......
I am using excel sheet to export data to QTP but it selects just one row of data from excel sheel how to import all rows of excel sheet to QTP during runtime
What is the descriptive programming?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
how can i replace any text from the qtp script with some anothere text
When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?
Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check
1)Difference Between Value & RawValue?
What is keyword view in qtp?
write a qtp code to display all the items in the fly from combo box or list box
Where we use data driver in qtp?
Discuss QTP Environment.