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 |
Could any one suggest web site links to learning VB Script for QTP purpose??
can we run the scripts of qtp 8.2 in the qtp7.0?
How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana)
Discuss quicktest professional (qtp) environment?
What are Test case selection criteria for Automation?
How do u write a regular expression for date (dd/mm/yyyy) field?
can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???
How do we call Library Files(.vbs) in the Test Script Thanks in Advance...
Explain the benefits of quick test pro(qtp)?
How many types of status are there?
scalability testing comes under in which tool?
What are the two types of repositories available, explain them?