How do you create a recordset object in VBScript?

Answers were Sorted based on User's Feedback



How do you create a recordset object in VBScript?..

Answer / saimahesh babu

set a=createobject("ADODB.recordset")

Is This Answer Correct ?    17 Yes 1 No

How do you create a recordset object in VBScript?..

Answer / 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

How do you create a recordset object in VBScript?..

Answer / senthilan . d

dim rs as new ADODB.recordset

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More VB Script Interview Questions

Mention what is the use of option explicit in vbscript?

0 Answers  


How will you get the octal value of the given number in vbscript?

0 Answers  


Write VB script to convert from feet to inches(hint 1feet=12 inches)

2 Answers  


What are class variables?

0 Answers  


How to add actions in driver script to run those actions in QTP?

0 Answers  






What are lbound and ubound in the vbscript language?

0 Answers  


What are the 2 ways to pass a value to the function?

0 Answers  


how to automatically update the sql server2005 database records when insert in vb6?

0 Answers  


Which loop is used in case of arrays in the vbscript language?

0 Answers  


Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.

0 Answers  


1)How to test whether items in a weblist are in alphabetical order or not?

1 Answers   TCS,


My questions is while writting descriptve programming, lets take flight reservation. Line1: systemutil.Run "D:\Program Files\Mercury Interactive\QuickTestProfessional\samples\flight\app\flight4 a.exe" dialog("text:=Login").WinEdit("attached text:=Agent Name:").Set "mercury" dialog("text:=Login").WinEdit("attached text:=Password:").Set "mercury" dialog("text:=Login").WinButton("text:=OK").click window("text:=Flight Reservation").Activate window("text:=Flight Reservation").ActiveX ("acx_name:=MaskEdBox").Type "111111" window("text:=Flight Reservation").WinComboBox("attached text:=Fly From:").Select "Frankfurt" window("text:=Flight Reservation").WinComboBox("attached text:=Fly To:").Select "London" window("text:=Flight Reservation").WinButton ("text:=FLIGHT").Click window("text:=Flight Reservation").dialog("text:=Flights Table").WinList("text:=From").Select "13536 FRA 08.00AM LON 08.45AM SR $163.00" window("text:=Flight Reservation").dialog("text:=Flights Table").WinButton("text:=OK").Click window("text:=Flight Reservation").WinEdit("attached text:=Name:").Exist window("text:=Flight Reservation").WinEdit("attached text:=Name:").Set "sagar", Now i m getting the error in the last line. it is not accepting the WinEdit("attached text:=Name:") Please do solve this urgent...! and i want to know how to insert additional properties for an object and which properties we need to select from the object spy.

3 Answers  


Categories