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). Pls anyone,
very urgent
Answer Posted / hemakumar.m
1)Answer
Dim oEditDesc
Set oEditDesc=Description.Create()
oEditDesc("micclass").value="WinEdit"
a=Dialog("text:=Login").Childobject(oEditDesc).Count
Msgbox a
a=2
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
tell me QTP standards ?plz
What are the flaws in water fall model and how to overcome it?
How to creating an output value using quicktest professional (qtp)?
How do I get the QTP scripts result in xml format by using vb script function?
How do you synchronization point through DP?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
Explain types of output values?
What is the syntax for how to call one script from another?
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
If object is not recognized by qtp but the object is standard object what is your approach?
What is the extension of the recovery scenario file in qtp?
Have you used xml check point in your project? How?
Write a script to customize the test results in PDF and HTML format.
How many ways we can parameterize data in quicktest professional (qtp)?