can we create recorset with out using database connection in
vbscript?



can we create recorset with out using database connection in vbscript?..

Answer / amarendra kothuru

You can create recordset object without using database
connection but not able to access data from Database.
If youn want to access data from database, then you should
create db connection. Using connectionstring only, you can
execute SQl query and able to save the results into
recordset.

Even if you create recordset object without db connection,
you might unnecessarily increase you code. Nothing will be
happen.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

How to supress warnings from the "Test results page"?

4 Answers  


how to create external data table?

1 Answers   TCS,


Where can I find and view run-time data table?

0 Answers  


How we can differentiate between stand alone application and web application in QTP?

3 Answers   Deloitte,


In QTP, What is Global action and Local action?

0 Answers   Virtusa,






How to test background color and dynamic images which are moving during runtime?

7 Answers   CTS,


how to know no.of mails in our g mail by using vb-script

0 Answers   HP, Thinking Hats,


For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............

3 Answers   Satyam,


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

0 Answers   Mannar Company, Wipro,


In Manual testing , can u prpare bug report in TD?

1 Answers   TCS,


In automation testing, while doing descriptive programing; how will u get the properties of the objects in what format, what type of a document, and by whom? Pls explain in detail. Thanks a lot

2 Answers   Quest,


How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.

4 Answers  


Categories