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 create Userdefined Function.Please write the steps ans also provide example where exatcly we use it.
Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??
we have 10 automation scripts. how to call them from one main script.
How can you identify the browser and its information using QTP script?
WHAT IS SMATR IDENTIFICATION? plz EXPLAIN BRIEFLY? IS IT POSSIBLE in QTP? HOW AND WHEn THE SITUATION U R USING EXPLAIN WITH EXAMPLE?
What is checkpoint in qtp?
how interviews will be on QTP?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
How do you capture tooltip using QTP?
what is the difference between Table checkpoint and Database checkpoint in QTP
how to retrieve the value from data table to the script and using the value to be displayed in message box. an also retrieve the value of the output value during runtime to the script or separating and using that value in the script.
Any limitation to XML Checkpoints?