Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do u insert an object during runtime in qtp?

Answer Posted / ravi

Where do you want to insert object ??

We can create object at runtime using createobject()
function in VBScript.

For ex:
Set con = createobject("ADODB.Connection")

The above statement creates connection object at runtime.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write script for bitmap image?

2083


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

1039


Step 3&4 are repeated until an the object in recognised uniquely.

2069


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

2071


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1926


how to create flat file datasubmission in qtp

2494


Write a script to customize the test results in PDF and HTML format.

2580


By using QTP can we record any log files written by the application which is in execution?

2002


Is it possible to merge two object repository files in qtp?

1234


How many add-ins comes by default with qtp?

1063


How do you configure QTP AND Test director?

1993


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

2435


What are the challenges u faced in testing with crm domain? How u overcome with?

1996


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1921


Are Shared ORs read-only?

1095