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 |
Hai anyone please "Explain about Framework in QTP?"
I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loop,my checkpoint is going to fail sometimes.That failed results only I have to log in a file.How it's possible...pls give the solution for this?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
what is tool interface?
How will you test a keyboard?
Does QTP run in any environment?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri
What is difference between WR and QTP?
If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.
what are the different types of framesworks in QTP?what is the keyword driven framework?
Hi What are re-usable actions in QTP? -Thank You