Answer Posted / mreddy
There are 4 types.
1) .waitproperty():-this is applied for a object or page
properties
2) .sync():- its used to wait to get the page is up
3) .exists():-its used to wait untill or unless the page
exists
4) .wait():-its used to wait a particular times given time
Ex: wait(10)-it will wait 10 sec
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is different command used in command Prompt while using QTP?
Tell me about your project? please help me how to tell about insurance project
What is debugging? How you debug your script?
Define virtual object?
what is the difference between data driver & data driven and driver script?
In qtp, explain what is crypt object
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
What are the different types of checkpoints?
How to use the object spy in quicktest professional 8.0 version?
what type of automation is follwed in the project?
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
How do Parameterization and Data-Driving relate to each other in QTP?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
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
How to use the object spy in quicktest professional (qtp) 8.0 version?