Answer Posted / kalyani galla
it is a process of matching the speeds of both the tool and
the application involved in testing in order to keep them in
synchronization with each other to obtain proper testing
results.
The main concept of synchronization is making the tool to wait.
it can be done in 3 ways.
1.inserting the synchronization point:
syntax:object hierarchy.wait property "property
name".property value,extra time in milliseconds.
2.inserting a wait state statement.
syntax:wait(time in seconds)
3.Increasing the default time.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
How do you convert manual test cases to automated test cases?
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
Explain different recording modes?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
what type of automation is follwed in the project?
How can get count of list box?
What is the Difference between copy to action and call to action?
can u explain relative path architecture framework in qtp?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
How the exception handling can be done using quicktest professional (qtp)?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
How many ways is to parameterize the value?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.