Answer Posted / santosh
1.increasing the default time
2.Object Property:
The specific property of an object can be considered as a condition to request the QTP wait for some time until the property is seen on the object.
3.Exist method:
this method is used for requesting the qtp to wait for some time until for specific window exist.
EX:
if(window("flight reservation").exist(10)) then
...............
...............code
...............
else
msgbox("flight reservation window doesn't appeared").
end if.
4.wait statement
ex:wait(10)...direct setting the time in seconds.
5.sync method:
browser(browser name).sync()
This is used for only web applications.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the Test design techniques you uses in ur project?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
How to get popup error message.
What are the types of properties that quick test learns while recording?
Can we write winrunner language i.e TSL in QTP tool?
What are test settings and global settings?
Differences between quicktest professional (qtp) and winrunner?
whare exactly we have to use functions and sub routain
What are output values and why they are used ?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
What is the script for database check point, bitmapchek point, regular expression ?
What is qtpro? What is quick test pro? What is a quick test professional?
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
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.