1. Pls can anyone give me the descriptive programing
script to find the number of edit boxes in a login window
in flights reservation (windows application only not web).
2. Using descriptive programing, how do you handle
changing URLs. Pls anyone, very urgent
Answers were Sorted based on User's Feedback
Answer / hemakumar.m
1)Answer
Dim oEditDesc
Set oEditDesc=Description.Create()
oEditDesc("micclass").value="WinEdit"
a=Dialog("text:=Login").Childobject(oEditDesc).Count
Msgbox a
| Is This Answer Correct ? | 3 Yes | 0 No |
Try this...
Set obj_edit = description.Create
obj_edit("nativeclass").value = "Edit"
Set EditDesc = dialog("Login").ChildObjects(obj_edit)
msgbox "Number of Edit Fields : "& EditDesc.count
For i = 0 to EditDesc.count - 1
EditDesc1 = (EditDesc(i).getROProperty("Attached Text"))
msgbox EditDesc1
Next
| Is This Answer Correct ? | 2 Yes | 0 No |
how to post xml data from QTP scripts to any application?
Explain QTP using different development techniques ?
WHAT AREV THE STEPS BETWEEN TEST cASE AND Script generation?
How do u connect database through QTP tell me both Ms Access and SQL
How to make Shared object repository in qtp 9.1 and 9.2?
hi what is the use of "dim" in automation objective model or any where what is the use of "dim" plz tell me
what is the difference between data driver & data driven and driver script?
How to create a standard checkpoint ?
what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example
Hi guys, can anyone explain me whats the method for reporting the QTP test results to teamlead or non-QA member (developer/PM)? Thanks in Advance!!!!!
Syntact for how to call one script from another? and Syntax to call one "Action" in another?
In what occasion we can specify global sheet and action sheet?