In automation testing, while doing descriptive programing;
how will u get the properties of the objects in what
format, what type of a document, and by whom? Pls explain
in detail. Thanks a lot

Answer Posted / saroj

We usually write descriptive programming while we have to
work on a object which appears run time( unable to add to
the repository). ex: I have to add some links to a page run
time and need to click on them. Here we have to write
descriptive programing to work on the links. As I know the
following properties ( Class: Link, Name:<linkname> ).
Using this combination write descriptive programming.

Set midesc=Description.Create()
midesc("micclass").value="link"
midesc("text").value="<name>"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of recording modes in qtp?

589


What are the recording modes in wave event?

1538


On what document base Descriptive programming is written if build is not yet ready ?

879


What is action?

577


How to import a test case present in ".xls" file to TD under a Test set?

751






what is the difference between IE & Netscape in web testing on a log in page

1796


what is the diffrence bw qtp architectute and qtp framework?

1542


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1447


What are the views available in quicktest professional?

563


Have you faced any problems with object repository?

592


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

1763


Where can I find and view run-time data table?

531


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1675


What is regular expression?

579


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1802