Presentation is loading. Please wait.

Presentation is loading. Please wait.

H2K Infosys is business based in Atlanta, Georgia – United States Providing Online IT training services world wide. www.H2KINFOSYS.com USA - +1-(770)-777-1269,

Similar presentations


Presentation on theme: "H2K Infosys is business based in Atlanta, Georgia – United States Providing Online IT training services world wide. www.H2KINFOSYS.com USA - +1-(770)-777-1269,"— Presentation transcript:

1 H2K Infosys is business based in Atlanta, Georgia – United States Providing Online IT training services world wide. www.H2KINFOSYS.com USA - +1-(770)-777-1269, UK - (020) 3371 7615 Training@H2KInfosys.com / H2KInfosys@Gmail.com

2 IT Trainings with Real time Project Work for Corporates & Individuals Special IT Training for MS Students in US Software Design, Development, QA – Manual, Automation & Performance Testing, Maintenance. IT Staff Augmentation Job Placement Assistance Tech Support H2K INFOSYS PROVIDES WORLD CLASS SERVICES IN

3 Descriptive Programming(DP): ♦ Entering Objects Information (Property  Value pair) directly into the test script is called descriptive programming. So QTP won’t use object information from OR file. ♦ Object Spy is used to get the properties and their values to uniquely identify the objects in the application. Job Oriented QTP/UFT Training

4 Two ways of descriptive programming: 1. Static Programming We use Property  Value pair that describe the object directly in a VBScript statement 2. Dynamic Programming We use Description object. We add a collection of properties and values to a Description object, and then use Description object name in the script. Job Oriented QTP/UFT Training

5 Where to use Descriptive Programming? Test Scenario #1: Application having similar type of objects appears on the page at multiple places. Redundant objects in Object Repository. Test Scenario #2: Application still under development, proceed with automation scripting. There is no Object Repository. Test Scenario #3: Run time objects in the application Difficult to handle Dynamic Objects in OR because of hard coded properties. Test Scenario #4: Size of OR file The performance will decrease if object repository is having huge number of objects. Job Oriented QTP/UFT Training

6 Advantages of Descriptive Programming: 1. Migration : Script can be migrated in any version of QTP without any changes. 2. Easily Port the scripts: Just scripts is enough to run script. No other files are associated to script. We can run script in any other new requirement. 3. Execution : Any time scripts will be in ready to run state. No worry about OR/ other QTP settings 4. Maintenance of constants/variables: Maintain the object properties in library file Job Oriented QTP/UFT Training

7 Thank you Your feedback is highly important to improve our course material and teaching methodologies. Please email your suggestions. USA +1-(770)-777-1269 UK (020) 3371 7615 Training@H2KInfosys.com H2KInfosys@Gmail.com H2K Infosys is e-Verified business based in Atlanta, Georgia – United States H2K Infosys acknowledges the proprietary rights of the trademarks and product names of other companies mentioned in this document.

8 DISCLAIMER H2K Infosys, LLC (hereinafter “H2K”) acknowledges the proprietary rights of the trademarks and product names of other companies mentioned in any of the training material including but not limited to the handouts, written material, videos, power point presentations, etc. All such training materials are provided to H2K students for learning purposes only. H2K students shall not use such materials for their private gain nor can they sell any such materials to a third party. Some of the examples provided in any such training materials may not be owned by H2K and as such H2K does not claim any proprietary rights for the same. H2K does not guarantee nor is it responsible for such products and projects. H2K acknowledges that any such information or product that has been lawfully received from any third party source is free from restriction and without any breach or violation of law whatsoever.


Download ppt "H2K Infosys is business based in Atlanta, Georgia – United States Providing Online IT training services world wide. www.H2KINFOSYS.com USA - +1-(770)-777-1269,"

Similar presentations


Ads by Google