Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

0 Answers   Accenture,


What are the types of Object Repositories in QTP?

9 Answers  


QTP 9.2, Issue: Creating Shared Object repository. I recorded 2 scripts. I exported the Object Repository to a shared location for the first script. Associated the exported repository to the first script and deleted the Local Repository for the First Script. Now Opened the Second script and try to Add the Local Object Repository of 2nd Script to Exported Object Repository. But I fail. Can anyone please help in providing steps that need to be followed in creating a shared object repository? Thanks in Advance.

3 Answers   Google, UHG,


How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani.

2 Answers   Accenture, CSC,


Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP

3 Answers   CTS, IBM, Sapient,


How do u insert an object during runtime in qtp?

2 Answers  


How to creating an output value using quicktest professional?

0 Answers  


How to data driven test for Win objects in QTP ?

0 Answers  


What are the most frequent errors you faced while executing your scripts?

4 Answers   Semantic Space,


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

0 Answers  


write the code to reverse a string without using Strrev built in function.

14 Answers   ADP,


Using Regular expression method some particular value is not present in given value. HOow do use regular expression? Forexample password all number,character ,special character are accepted but (_',)underscore,comma are not used. How do write regular expression.

1 Answers  


Categories