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 to write script in qtp(vbscript)..i mean with out
application deployed..and how to call script1 into script2?

Answer Posted / shafi

hi
Using Descriptive Programming automation scripts can be
created in QTP even if the application has not been
developed.
Whenever QTP records any action on any object of an
application, it adds some description on how to recognize
that object to a repository of objects called object
repository. QTP cannot take action on an object until
unless its object description is in the Object Repository.
But descriptive programming provides a way to perform
action on objects which are not in Object repository
There are two ways in which descriptive programming can be
used
1. By creating properties collection object for the
description.
2. By giving the description in form of the string
arguments.

Is This Answer Correct ?    45 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i can done the project with QTP in that time i can say how many members in my team size?

1867


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

2392


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

2201


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

2224


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1477


How may types of defects identify application or your currently working application?pls give me answer..

1945


What are parameterizing tests?

958


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1978


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

968


What are the ordinal identifiers in web page?

1072


What is throw object?

2270


What is checking bitmaps?

956


How to handle Java tree in QTP?

1258


How do you configure QTP AND Test director?

1884


What is meant by Output Value in UFT?

1077