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

What does mean by Scope of Automation?n How we defined it?

0 Answers   L&T,


What is User defined function in QTP

6 Answers   Bank Of America,


What is the difference between browser sync and page sync in QTP?

2 Answers  


can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function

5 Answers  


how u track bugs using Test director in manual testing.

2 Answers   Accenture, FCG,






Output values? i want a practical example

0 Answers  


What are the enhancements u did after recording ur script?

1 Answers  


How can i initiate the objects to find uniquely in OR

0 Answers   IBM, Livetek,


why was automation used in the project?

1 Answers   Google,


What is exact difference between “while” and “do while” in QTP ?

1 Answers  


What are the difference between QTP and Winrunner

5 Answers  


Hi any body can tell me the synchranization point syntax thanks in advance

6 Answers   AppLabs,


Categories