Answer Posted / paayal
VBScript function that you can use to conncet to DB is
CreateObject. we have to create the connection object first
as ADODB and then we can use that connection object to open
the DB connection. Once the connection is open, we can run
SQL query by using a while..wend loop and can get the
derired results data into local data sheet
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
What are advantages of test automation?
How to call a test from another test?
What are the properties you would use for identifying a browser and page when using descriptive programming?
Does QTP record on Objects created on XWindows Environment?
What is debugging? How you debug your script?
What are the types of object repositories? Which one is you are using?
How to customize checkpoints with parameters?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
Can we use index on view?
How to run a test using quicktest professional (qtp)?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
How to use conditional loops in qtp ?
what is the advantages and disadvantages of using functions instead of re usable actions