How do you create a recordset object in VBScript?
Answers were Sorted based on User's Feedback
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 |
Mention what is the use of option explicit in vbscript?
How will you get the octal value of the given number in vbscript?
Write VB script to convert from feet to inches(hint 1feet=12 inches)
What are class variables?
How to add actions in driver script to run those actions in QTP?
What are lbound and ubound in the vbscript language?
What are the 2 ways to pass a value to the function?
how to automatically update the sql server2005 database records when insert in vb6?
Which loop is used in case of arrays in the vbscript language?
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.
1)How to test whether items in a weblist are in alphabetical order or not?
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.