How do you create a recordset object in VBScript?

Answer Posted / prasant

set oRecordset = New ADODB.Recordset -- for VB scripting
set oRecordset = createobject("ADODB.Recordset") -- for QTP scripting

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

1775


Mention what is vbscript procedures?

740


Why to use option explicit in vb script?

794


Mention what if you do not specify anything when you call a procedure?

752


Mention the environments where vbscript could be run?

891


hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

2773


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2251


Which command is used for writing text on a page?

740


What is the difference between VBScript and JavaScript?

2307


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3232


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

2001


what is the features of visual basic?

1746


Can automation testing find ssame no. of bugs what we can find by manual testing?

1714


what do you mean .ota mobile format

2171


Compare java script and vb script?

818