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

explain abt dyanamic changing object with example?

0 Answers   Wipro,


Where we can use the synchronization?

0 Answers  


hi, i am trying to capture "web element" names in a web page, and i written the code like this,, with Browser("title:=") with .page("") .webelement("htmltag:=...").getroproperty("innertext") end with end with //////////////////////////////////////////////////////////////////////////////////// QTP RETURN ERROR like this: " object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object" ok fine , i need to search another property other than "index" i use all the properties like class,text,innerhtml,innertext,visible=true,x , y,abs x ,abs y...but qtp returns error ..... in this webpage index is difficult to find? how to solve

1 Answers   IBM,


what is a good testcase?

3 Answers   Wipro,


Could some one explain me how to create folder on the desktop from QTP?? This is an interview question

2 Answers   Clinical Soft,


can i login a page by giving username and password and click on ok button through database parameterization.and if its yes then please write the code of that

2 Answers   Ness Technologies,


Hello everybody, can we maintain the state of page in QTP? 1. suppose i opened a notepad text file i entered some text and changed the font type and font size and saved that file. 2. Now next time when i will open a new notepad file it is showing me that font type and size which i changed in my previous step. 3. Here i want that QTP should capture the default setting i.e. it should maintain the state of the page. Thanks in advance, Gaytri

0 Answers  


when to start the automation?

2 Answers   Accenture,


Explain the concept of Output values in Quick Test Professional?

1 Answers   Crea,


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

0 Answers  


How do we Access, retriew and edit the runtime objects in Automation Testing using QTP

3 Answers   IBM,


can we change the name of a check point? when will you start writing testcases? do you follow any methodology for writing test scripts? qtp is key word driven testing or data driven testing?

2 Answers  


Categories