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 |
How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)
How to handle Java tree in QTP?
What is the scripting language used in QTP?
Give me brief idea about QTP automation object model?
Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?
how to export the result to notepad....for example i want to enter the user name and pass word and clicking on login button ......once you click on login button the corresponding page will open ...in that page you having one list box ...here you can get either success or failure ........friends here i want export the message what ever i got either success or failure .....how to export the result to note pad
How can we fill data in a text box without recording using object spy. Can you please provide the steps...
Describe how Smart Identification is used
hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check "want" is their in the text or not ?
Using Object Repository is a advantage or disadvantage?
What are the different types of checkpoints?
I need to know how to Automate a Username and Password for a Web-based product? I'm scripting 3 different types of surveys but each Survey requires a Username and Password which is always the same. I can I do this using QTP?