1. In build1 there is a page with two check boxes and
a submit button. You have prepared a script for that page
and its working fine. In Build 2 the developers have added
two checkboxes in the page. Will the script prepared for
Build 1 work for Build 2 or not. If yes, why and if No,
why. Remember the developers have not touched the object
properties of the textboxes in the page.
Answers were Sorted based on User's Feedback
Answer / rayudu
Yes, Exactly!.It will work if you have written a
descriptive programing.
Write a code in descriptive programming to find out the no
of Check boxes using child object method.It will work for
not even two, Any no of Check boxes.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / litan
Its all depends how you developed the Script.
If you are not using Index Property for the checkbox,Then
it will wotk.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sureshsinghbhandari
Yes it will work,
As the Object and their properties (Properties of Checkbox like "html tag, name, type") are not changing by adding 2 more checkboxes.
If we are using DP and using Index property of the checkbox on then on adding 2 new the code might be work or not; its depend on the Place of the new checkbox, which might change the indexing of the previous boxes.
| Is This Answer Correct ? | 1 Yes | 0 No |
How to write business scripts using object repository with different scenarios
what is object repository size?
HI. AnyBody can explain Automation Testing Framework...Generally wht do we Intiate before going to start Automation testing process... Anybody can explain.......Thanks in advacne...
When and why to use descriptive programming?
write a script to verify the image path(src property) of the images which are in web pages.
How many types of Recordings are there in QTP and what are they?
7 Answers Dangote, First Indian Corporation,
What is obsolute path and relative path in QTP..? How to access them and what are the differences between them...??
How can we QTP Scripts in xml format? is there any way to do so?
write code to read and write data from file?
what is the difference between ClassName and class in QTP?
Explain the difference between call to action and copy action?
what kind of erros can be handled with the using QTP?