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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of parameters are available in quicktest professional?

520


How to find the difference between 2 dates in qtp?

577


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

623


what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

2738


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2265






I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

1719


What is the quicktest professional testing process?

526


What is action split and the purpose of using this in qtp?

533


What is the basic concept of quicktest professional (qtp)?

577


What is qtp window?

566


What are the steps involved in the recovery scenario wizard?

559


How you can replace string in qtp?

570


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3442


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1640


How to use transactions in qtp?

563