1) 100 test boxes there in application. how to click 100
test boxes using vb script? 2) 100 objects there in web
page,how we will store that 100 objects repostries?

Answer Posted / uday

The expectated answer for these kind of questions is using
descriptive programming.

If you create single webedit object, then u can use it for
100 webedit objects.

set editObj=description.create
editObj("micclass").value="webedit"

set editChildObjCol=b().p().childobjects(editObj)
for i=1 to 100
editChildObjCol(i).click
next

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can i initiate the objects to find uniquely in OR

1476


What is qtp window?

568


can the activities of test case design be automated?

1457


On what document base Descriptive programming is written if build is not yet ready ?

882


What are the methods used in UFT to handle exceptions or run-time errors?

653






Explain the features of quick test pro(qtp)?

581


Analyzing the checpoint results?

599


Explain how you can find the absolute value of the number in qtp?

648


How to save your test using quicktest professional (qtp)?

601


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1378


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1590


• What type of testing questions will be asked for 2+ yrs exp people in interview?

1263


Is the qtp course will help to create a virtual object?

1519


How do you configure QTP AND Test director?

1503


Explain the terms test and business component?

550