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

Answers were Sorted based on User's Feedback



In automation testing, while doing descriptive programing; how will u get the properties of the ob..

Answer / 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

In automation testing, while doing descriptive programing; how will u get the properties of the ob..

Answer / sandeepguttikonda

Actually I guess your question is How we will go with the
automation testing without application?

If this is your question here goes the answer.

In Quick Test Professional we are having a concept call
Descriptive Programming.

Generally we will go to descriptive programming when
1) object are unidentified
2) when there is no applicatoin to develop the code

Here our case is 2:

So if we are having object properties and its values we can
start coding in QTP. As developers, who develops the
application.

So in this scenario we will be given the same document that
is given to the developers (BRD or SRS) which will be
having all the details regarding the object properties and
its values too.

And it will be provided by the client itself and prepared
by the Business Analysts or domain experts.

Sorry If I understand the question in wrong way.

Please let me know if you need more info.

Thanks.

Regards,
Sandeep Guttikonda.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

wt is the use of multiple questions in QTP

0 Answers   DigiTech,


How to return a value from a fn, if it has more than one value how to return

3 Answers   Verizon,


What is action split and the purpose of using this in qtp?

0 Answers  


What are the Application Functions available in QTP?

0 Answers  


if our qtp vb Script may be Currepted then What we want do?

0 Answers   IBM,


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

0 Answers  


In an(AUT) web application their are two frames as fraMain and fraFooter. Both the frames contain link which needs to be retrieved at a single step. I tried it using "Regular Expression" as fra.* but QTP doesn't recognize the object. So Plz help me out to get resolve the problem:-)

1 Answers  


explain how to write vb script in qtp?when will you write own script?

0 Answers   FirstApex,


A question was asked in a company-suppose, I am testing a website on QTP, all the time a new title bar is appeared on next page. Trying to use regular expression under key word driven testing but expert view is also appearing unchanged and error is also generating, do you have any best resolution for that kindly explain in detail. please dont give example of yahoomail, that is unable to clear my doubt.

2 Answers  


What will be happen if i load object repository at run time, but it has already associated.

0 Answers   NTT Data,


How to remove associated function library?

0 Answers  


What are SetToProperty, SetRoProperty, GetToProperty scripting?

2 Answers  


Categories