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 |
Which command is used for writing text on a page?
What is Procedure or Subroutine in VB Script?
Explain about arrays in vb script?
can any body give the code to write the function for given suppose user login with usrer id and pwd to yahoomail.after cliking "sign in"if it is valid user id the next page will display userid'message box.( Note u have to use excel sheet to retrive the userid's data)
How to remove the spaces in a string Ex: "this is apple"
how to check whether link is disabled in QTP??
Can anyone help me in write coding to get this pattern * ** *** ****
I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30
write a vb script to display the size of the folder,date created and name of the folder
Mention the environments where vbscript could be run?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.