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

I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.

0 Answers  


Hi Currently am using Qtp 10.0 Lisenced product.. but when am adding objects to object repository from google page it was identifying as windows objects.. please help me!!!

3 Answers  


What does VBS file contain?

1 Answers  


How to check the URL using Automation tool QTP

2 Answers  


How do we count the no of mails in Yahoo Inbox for a specified week?

0 Answers  






What is accessibility check point?

0 Answers  


normally by going through the object properties in object spy we write descriptive programming(correct me if i am wrong). But how or from where can we get the object properties in the object spy?plzzzzzz do answer

2 Answers  


Where is the Bitmap checkpoint information stored?

0 Answers   Ordain Solutions,


can u Give Procedure to Handle Pop Window & write Code for that

2 Answers   CTS,


How to give Table check points?

4 Answers   ssinformatics,


Why to use descriptive programming?

0 Answers  


How QTP recognizes Objects in AUT?

1 Answers   Crea,


Categories