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
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 |
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 |
Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?
Can any body explain me how to prepare QTP frame work with an example?? alexander.gdk@gmail.com
what are the attributes of QTP?
In QTP if u got a defect , how to report to developer using Test director or Quality center .
i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it need some title of pop up but i want that it should handle all the pop up even i don't give the title of that pop up in recovery scenario is there any general way to handle all the pop up please help
what is the difference between xmlutil and xmlDOM in qtp?
Do we get any issues if we run the test script on differentbrowsers?what are the options we need to set in QTP?
Explain the features of quick test pro(qtp)?
in how many ways you perform batchtesting?
I am using DataTable.ImportSheet method to import the data from an excel sheet to the Runtime DataTable of QTP. here is my piece of code DataTable.import("c:\DataSheet.xls","Members","Members") The first row headings of Members sheet of DataSheet.xls and Members sheet of QTp are matched. but the QTP is taking very long time(approximately half an hour) to import the data into runtime datatable even though the DataSheet.xls has one or two rows in it. Please let me know why this is happening and is there any alternative for impoting the data into runtime datatable of qtp ?
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
How can i count the list box elements in QTP ?using script plz explain me (Chandana)