45,000 Jobs - Get an Interview Call,  Post Your Resume Here
SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




Testing Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too.

QTP-descriptive programming

        

Reply
 
LinkBack Thread Tools Display Modes
Old 26-01-07, 10:43 PM   #1 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute
QTP-descriptive programming

what is descriptive programming in QTP?how can be done?

Spoorthi is offline Offline   Reply With Quote
Old 18-01-08, 04:49 PM   #2 (permalink)
Member
 
Join Date: Nov 2006
Age: 31
Posts: 40
Thanks: 1
Thanked 4 Times in 3 Posts
Rep Power: 3 sivaprasadt@gmail.com is on a distinguished road
Re: QTP-descriptive programming

Descriptive programming is nothing but a technique using which operations can be performed on the AUT object which are not present in


sivaprasadt@gmail.com is offline Offline   Reply With Quote
The Following User Says Thank You to sivaprasadt@gmail.com For This Useful Post:
pavani_v (18-01-08)
Old 19-01-08, 01:37 AM   #3 (permalink)
Member
 
newqtp's Avatar
 
Join Date: Jan 2008
Posts: 37
Thanks: 15
Thanked 2 Times in 2 Posts
Rep Power: 2 newqtp is on a distinguished road
Re: QTP-descriptive programming

DP is a teachnique use to write test script on the AUT object which are not present in Object Repository.
newqtp is offline Offline   Reply With Quote
Old 10-10-09, 02:08 AM   #4 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 1 ashutoshjain is on a distinguished road
Re: QTP-descriptive programming

DP is a scripting technique in which we create Description objects and then use them in the script for performing various functions. We mostly use DP when we deal with Run Time objects.
e.g.
Set desc = Description.Create
Desc (micClass).value= "WebEdit"
Set EditBox = Browser(nameofbrowser).Page(NameofPage).ChildObjects(Desc)

We have just created a description object Desc, which have mercury interactive class value as Web Edit, which means its a web Edit box, and then finally it's value is used in a veriable named EditBox, which will deal with all the objects having description as Desc.

Now suppose we want to perform any function over the same, say we want the count of all the web edit boxes on this page, we will simply write:
NumberOfBoxes = Editbox.Count

If we want to type some values in the boxes we will write:
EditBox(0). Set = "Text1"
similarly:
EditBox(1). Set = "Text2"
EditBox(2). Set = "Text3"
EditBox(3). Set = "Text4"

WHere 0,1,2,3... are the index numbers of the edit boxes.

Hope this helps
ashutoshjain is offline Offline   Reply With Quote
The Following User Says Thank You to ashutoshjain For This Useful Post:
sonali.jog (19-10-09)
Old 19-10-09, 10:23 AM   #5 (permalink)
Junior Member
 
Join Date: Oct 2009
Age: 24
Posts: 27
Thanks: 11
Thanked 0 Times in 0 Posts
Rep Power: 1 sonali.jog is on a distinguished road
Re: QTP-descriptive programming

Hi Ashitoshjain

Very nice explanation of DP by a simple example.
sonali
sonali.jog is offline Offline   Reply With Quote
Reply

Tags
programming , qtpdescriptive

« sigma Testing | - »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Asp - programming model is ASP based on preethisingh vb / asp.net Interview / Technical Questions 0 24-01-07 04:26 PM
Urgent Requirement for MVS Systems Programming Professionals sridhar Experienced Jobs 0 12-01-07 10:44 PM
DSP Architectures & Assembly Language Programming. sridhar Fresher Jobs 0 29-12-06 09:21 AM
Software, Application Programming (1-2yrs) jasmine84 Experienced Jobs 0 05-12-06 10:02 AM
Soft Ware Programming! kiran2710 JOKES , PRANKS & QUOTES 2 09-08-06 09:51 AM


All times are GMT +6.5. The time now is 07:53 PM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0