how i will connect oracle or microsoft acess database
through manually written Script
Answer Posted / sashikanth
DIM ADDCON
DIM RECSET
SET ADDDCON = CREATEOBJECT("ADODB.CONNECTION")
ADDCON.OPEN "DSN= ;UID= ;PWD= ;"
SET RECSET = ADDCON.EXECUTE("SELECT.....)
WHILE RECSET.EOF
.........
.........
WEND
SET ADDCON = NOTHING
SET RECSET = NOTHING
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Hoe can we do retesting using functions please give the code for it using login page
How to define array in qtp?
Explain how to use QTP to check broken links on a page?
Can we record an application running on a remote machine using qtp?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
Is QTP supports Unix. If yes, then how the test automation is done?
Sql questions to find second max salary and how to use joins
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
What is the difference in testing a client-server application and a web application?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Explain the terms test and business component?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
Explain how you can find the absolute value of the number in qtp?
how to download mercury qtp9.2 ny internet ?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?