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
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 |
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 |
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 |
why was automation used in the project?
How to count no of edit boxes on the page?
How comfortable are you in VB scripting?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
what is a good testcase?
why the smart identification is not there in WinRunner
How to test menu options using qtp
How does QTP identifies the object in the application?
Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
what is the extension of new local object repository?
How is test case write?