Answer Posted / nagk24
cnt=0
Set d=description.Create
d("micclass").value="WinEdit"
Set a=window("text:=Flight Reservation").ChildObjects(d)
For i=0 to a.count-1
cnt=cnt+1
Next
msgbox cnt
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Hi,All How to create a link in excel sheet using qtp
Define Error Pane of UFT?
What is the XML file architecture ?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
Explain advantages and disadvantages of ddf?
what is the hierarchy to use properties in descriptive programming
how to acess a test in RSA?
What are the advantages of a Hybrid framework?
What is the use of an object spy tool in qtp?
How many types of run modes are there in qtp?
Where we can use the synchronization?
How to open a new test using quicktest professional (qtp)?
what is the diffrence bw qtp architectute and qtp framework?
How is the Bitmap checkpoint different from Image checkpoint?