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 |
Hi let me ask one questin 1.How to use outputof the one function input to the another function pls give the script for above 2.what is the purpose of action parameter , how to create it
what is spy, and how can u use?
When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)
1.what is the difference between childobjects and child items in qtp? 2.what is difference between a class and function? 3.can u convert ustimings to indian timings using vbscript? 4.i have scripts in one machine.can i run those scripts in another machine.how?
2 Answers Genpact, Infosys, Symantic Space, TCS,
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
what is defination of system testing?
3 Answers CodeArrow, Infosys, Omax,
how to recall a function in QTP?
What are the views available in quicktest professional?
What is Expert view?
what is the frame work in J-meter?
How u send bugs to dev'lpment team all at once or one by one or waht is the process?
How do we edit the script in QTP. Anybody can explain in detail..Thanks in advacne...