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



1. In build1 there is a page with two check boxes and a submit button. You have prepared a script ..

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

1. In build1 there is a page with two check boxes and a submit button. You have prepared a script ..

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

1. In build1 there is a page with two check boxes and a submit button. You have prepared a script ..

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

Post New Answer

More QTP Interview Questions

My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.

1 Answers  


What is wrong in my code?

3 Answers  


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

1 Answers  


Synchronization methods?

8 Answers   Ordain Solutions,


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

1 Answers   IBM,


i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0

1 Answers  


can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???

1 Answers  


How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab?

2 Answers   Cap Gemini,


How we can add actions in the test using QTP?

4 Answers   BirlaSoft,


hou can we use vb script in qtp could u tell me breafly

1 Answers  


Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?

5 Answers  


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

1 Answers  


Categories