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

request to add whatsapp grp for test engineer

1 Answers  


What are the parameters provided by QTP?

3 Answers   Ordain Solutions,


In 1st screen,if v enter a/c no. in one field, the information of the subscriber will be displayed. The details should be displayed only in screen 3(NOTE:details should not display in screen 2).How can v do using QTP.

2 Answers   BirlaSoft, TCS,


How you perform smoke and sanity testing using qtp?

1 Answers   Tech Mahindra,


What is the use of Debug Viewer?

0 Answers  






What is meant by Step Generator in Qtp How is it used? pls gimme in detail

7 Answers   AppLabs,


How do I get the QTP scripts result in xml format by using vb script function?

0 Answers  


Where we write the FUNCTIONS, in Expert view (or) in any textfiles like Notepad and save it in Library functions folder? How to cal that functions to our script? How to save that functions to Function generator?

3 Answers  


how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. But when i am calling the function with the keyword CALL <Function Name>. its not working out. can any one give me a clue how to call the external functions. with example.

3 Answers  


Explain the Keyword View ?

2 Answers   Crea,


What is the basic concept of quicktest professional?

0 Answers  


how to retrieve data from flight resevation->reports

2 Answers   Wipro,


Categories