23 Sep This tutorial demonstrates how to use Descriptive programming in your QTP scripts & its two type viz. Static and Dynamic. QTO UFT Descriptive programming (DP) is using by create descriptive object or Using set of properties and values directly in the statement. This article covers the basics of Descriptive Programming in QTP with the main So when you run the above code, QTP will try to find out the object properties . article with pictorial representation which i never seen any other tutorial sites.
|Published (Last):||18 May 2015|
|PDF File Size:||19.78 Mb|
|ePub File Size:||6.26 Mb|
|Price:||Free* [*Free Regsitration Required]|
But if OR is used for top level objects eg.
Descriptive Programming in QTP with Syntax : Part 1 – XX
As I m learning new can anyone help on this: Consider that you have to write the code which enters some text in Google Search. It then uses the stored description in the Object Repository and replaces the name with the description. I am experiencing the problem in navigation.
So I will be very thankful if you will help me to get rid from this problem and provide me the solution. What is Smart Identification? QTP also provides another way to retrieve all the objects matching given properties. I want to read on the WebElement which is following the above hierarchy.
Lets say, I would like to get all the links of a google page, Then I need to come up with Descriptive Object as shown here.
Create ; MyDescription “property”. So, If I try to store all the object properties in Object Repository, then the maintenance would be tedious. I want to click on the WebElement which is following the above hierarchy. New Features of UFT Can you update it in your website?
I have a question about the following: Hi Ankur This is kiran. Actually the Child object type is not known. If UCase Left allLinks i.
QTP/UFT – Advanced Descriptive Programming
For me, this is not right. Both the forms described above support usage of Regular Expressions by default. This is truly a fantastic article. Thanks in advance, NV Reply.
Cannot identify the object “[ WebElement ]” of class WebElement. Hey Anish, this is Thangamani… You did a great job man.
It is really really very good article with pictorial representation which i never seen any other tutorial sites. Is the above error message coming because of this window 3.
A Complete Guide to Descriptive Programming in QTP (UFT)
Hi, A great article for descriptive programming. Part 2 – Automation Repository – Automation Repository. Is that possible to create 5 objects basing on principle that 1 row is one object? Hi Ankur, How to schedule a Test Batch Runner to run the script automatically without user intervention to press key F5? This article covers the basics of Descriptive Programming in QTP with the main aim to help you get familiarized with its basic syntax.
I am getting an error message like this while running the code for google search Cannot find the “[ WebEdit ]” object’s parent “[ Browser ]” class Browser.
I tried to retreive using Childobjects as follows. Sample Script to launch application: