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 can i call function (which has link with excell sheet at a remote location) within another function
What is the Diff between Image check-point and Bit map Check point?
What is a Patch in QTP?
We are using the QTP version 9.0 where we want to call objects from global repository for a particular function at runtime for increasing the performance of framework.We are actually looking for loading the objects under test (OAT) dynamically when script runs and would like to unload the same once the execution of the script is completed.
what is Action conversion tool? what the Action conversion tool will do?
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?
More details about keyword driven technique in QTP
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
Whenever we use GETROPROPERTY function.
How we can differentiate between stand alone application and web application in QTP?
What is our exact stage involvement with QTP?