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 To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar
What do you mean by iteration?
I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4
when i add the items to the repositry, the item is loading is "winmenu", but wn i write the script the tool is not able to recognise the item, i know that we need to define the mandatory or assitive properties here, but i am confused wt i need to difine here and on wt basis i need to select the properties and define it, can any one help me out on this.
we have 10 actions in out test how can we convert 9th action is main action ? how ?
How u perform exception handling in QTp,what is other name for ths?
what is the mediater between qtp and application/project in automation testing?
what is the difference between testing and debugging?
how to retrieve the value from data table to the script and using the value to be displayed in message box. an also retrieve the value of the output value during runtime to the script or separating and using that value in the script.
what is the difference between call to copy action and call to an existing action
Hi, Can anyone help me in esimating time for an application using QTP tool.. What factors should be considered while calculating the estimation time for QTP... Thanks in advance... Prasad Gali
How to Parameterize Object repository in QTP?