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?

Answers were Sorted based on User's Feedback



1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 object..

Answer / 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

1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 object..

Answer / taj

HOW CAN U CLICK A EDITBOX.?


ANS HERE IS:
CNT=EDITCHILDOBJ.COUNT
FOR I=0 TO CNT-1
EDITCHILDOBJ(i).set "xyz"
next

Is This Answer Correct ?    1 Yes 1 No

1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 object..

Answer / mohammed zakir

CNT=EDITCHILDOBJ.COUNT
FOR I=0 TO CNT-1
EDITCHILDOBJ(i).set "xyz"
next

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How do we count the no of mails in Yahoo Inbox for a specified week?

0 Answers  


I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

0 Answers  


What are Test case selection criteria for Automation?

2 Answers  


what are the different kinds of frameworks in automation?

2 Answers   Accenture,


how we connect oracle or sql data server database to qtp.

4 Answers   TCS,






what kind of erros can be handled with the using QTP?

2 Answers   CTS, Satyam,


what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.

1 Answers  


what is a file system object in QTP

7 Answers  


Hi All, I'm Akshaya here, could anybody please help me regarding how to import the excel sheet to run time datatable. But Pl. keep it in your knowledge is that excel sheet is opened. Thanks, Akshaya Madali 9823213538

4 Answers  


What is accessibility check point?

0 Answers  


how do you remove object repository at runtime and load object repository and verify it

2 Answers   Thomson Reuters,


• Re –Engineering the regression testing from 0% to 60% automation. This has saved 4-mandays in every release. what doeas this statement means

2 Answers   Infosys,


Categories