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
What is active screen?
How you can replace string in qtp?
Explain hybrid framework with advantages and disadvantages?
give me the code to save all messages of inbox of gmail into a folder and notepad
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
How do you synchronization point through DP?
How can you pass value one action to another action?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
In qtp, how you can use xpath to identify objects?
What is QTP testing process?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
How the exception handling can be done using quicktest professional?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)