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...

Tell about descriptive programing in qtp8.2?

Answer Posted / imran sheikh

Objects in QTP are recognized by it's properties. When
object cannnot be recorded in OR or cannot be added in OR
due to some reason, we can identify an object by
Descriptive Programming. Small example of web application
which make DP clear is: Suppose there is a link which is
phone number, everytime we log-in with different user phone
link is changed. if we want to click the phone number we
cannot create it's object in repository because OR will
capture the present phone number,next time with second user
it's phone number link will not be clicked.To do that:

Set phoneLink = Description.Create
phoneLink("html tag").value = "Link"
phoneLink("name").value = DataTable.value("phone")
Browser(brw).Page(pg).Link(phoneLink).click

Here 'html tag' and 'name' are property whose value you can
confirm from Spy. If value of phone is there in DataTable
you can use as specified, else you can use regular
expression.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2056


Name the properties you would use for identifying a browser and page when using descriptive programming?

1064


How to create Reusable and Multiple Actions?

2237


What is throw Object?

2230


Why qtp always start action1 and does not start action?

1156


How do you convert manual test cases to automated test cases?

1152


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

1039


can anyone tell me from where i can download qtp demo or crack version

2043


how to write xml output check point bu useing descriptive programing .means without useing output check point

2169


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

2099


How many types of Automation frameworks are there in UFT? Describe them.

1084


Can we run multiple QTP scripts one after the other without manual intervention? How?

1106


How do you send email with attachment from outlook using qtp ?

1059


What are the technologies supported by qtp?

1027


What is the descriptive programming?

2083