GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 578 of 691    Print  
How do you synchronization point through DP?

  
Total Answers and Comments: 1 Last Update: November 13, 2007     Asked by: Richi 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 13, 2007 22:36:44   
AdvancedQTP Member Since: November 2007   Contribution: 4    

RE: How do you synchronization point through DP?
You'll need to implement it yourself as opposed to using the built in native QTP mechanism. The code structure I use is:

iTimer Timer ‘Get the current time

DoTriggerEvent ‘E.g. : click a button submit a form close a window etc.

Do

‘Inner code to deal with anomalies.

Loop until (Timer-iTimer>30) Or (AnotherExitCondition True)

‘Here we wait 30 seconds before exiting the loop

If Timer-iTimer>30 Then

‘Code to deal with TimeOut

Else

‘more code to deal with different exit conditions

End if





For Example:

iTimer Timer ‘Get the current time

iTimeOut 30 ‘How Long To Wait

VBWindow("Window").VBButton("Button").Click

Do

If VBWindow("Window").Dialog("SystemBussy").Exist Then

iTimeOut 90 ‘Longer time-out

iTimer Timer ‘Reset timer

VBWindow("Window").Dialog("SystemBussy").Type MicReturn

End If

Loop until (Timer-iTimer>30) Or (VBWindow("Window").Dialog("Success").Exist)

You can read more about these code structures here: http://www.advancedqtp.com/knowladge-base/code-techniques/custom-checkpoints/

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : I will agree with both Kalpana and Vidya Sagar and I will add some more,Output values are used for as input to other tests ware as check points are only comparing also used within the test only. ...

Can anyone tell me which is the best SDLC model from the QA'S point of view?or which SDLC model is the best and fast?
Read Answers (7) | Asked by : Mann

Latest Answer : Image checkpoint :Checks the property values of an image.Bitmap Checkpoint:Checks an area of a webpage or application after capturing it as a bitmap ...
Read Answers (1) | Asked by : AVS

What is the pre-requisites for XML check point and Database check point in QTP,and what should checked, plz need clear description with an example
Read Answers (1) | Asked by : rajkumar

What is the Difference Between Bit map Check point & Image Check pointPlease explain in detailText & text area check point?
Read Answers (6) | Asked by : akshya

Latest Answer : Back end testing is also a part of functionality testing. QTP allows you to automate Back end testing using data base check point.In this Back end testing test engineers are vaildating the impact of front end operation on back end tables content interms ...
Read Answers (4) | Asked by : Lija

How can we insert Text check point and Bit map check point ? if provide example script, it is greatefull
Read Answers (4) | Asked by : Magadala

Latest Answer : Synchronization point means waiting property  the back ground application  performs  untill the execution of the test script.synchronization point work's only while you recording a script.and wait propery must be  define in our ...
Read Answers (4) | Asked by : swetha

Q. You create QuickTest Pro scripts for an application that performs a great deal of server-side processing which causes synchronization issues when the scripts are run. The only indication that the system is busy processing is an animated image of a flashing red light. Each time the system is finished processing, the image is returned to a static image of a green light. Assume that none of the image’s properties available to QuickTest Pro indicate whether or not the system is busy.What is
View Question | Asked by : LJ

Q. The object synchronization timeout (Test > Settings > Run tab) setting is set to 20,000 milliseconds (20 seconds).Consider the following statement: JavaWindow("Trade Manager").JavaDialog("Trade Entry").JavaButton("Enter").Exist 10What is the maximum amount of time the statement will wait for the specified object to appear?A 20 seconds B 10 seconds C 30 seconds D 10 milliseconds E 20,010 milliseconds
Read Answers (5) | Asked by : LJ


 Sponsored Links

 
Related Articles

SQA Software and Tools

SQA Software and Tools In quality assurance it is always important to get all the help we could get In other industries developers could easily check the products manually and discard those that do not meet the standard The length and the width of the product are checked to maintain standardization
 

Point to Point Protocol (PPP)

Point to Point Protocol PPP The Point to Point Protocol is a platform that is used to connect any individual computer or a network to the internet service provider The connection is established between two points only and that is why it is called Point to Point Protocol The PPP is considered be the
 

Business Network Virtual Communication Tools

Business Network Virtual Communication Tools Since ages the Business community heavily relied on face to face communication for building Business relationships Face to face communications formed the basis for trust in a relationship An individual’ s appearance or the physical appearance of
 

What are Data Access Tools

Data access is the process of entering a database to store or retrieve data. Data Access Tools are end user oriented tools that allow users to build structured query language (SQL) queries by pointing and clicking on the list of table and fields in the data warehouse. Thorough computing history, t
 

What is Access Point

An access point (AP; or also "WAP" for "wireless access point") is a node responsible for the formation of a wireless network through connection between wireless communication devices. It acts as a central transmitter and receiver of wireless radio signals, and is
 

Testing and Integration

Once the software is complete, it will go though rigorous testing before its actual integration.  In this article we will take a look at different types of software testing and also different types of integration. With the diversity of business setting and software development models, it al
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

SAP and Microsoft tools for Customer Service

World’s largest car dealer to use SAP and Microsoft tools for Customer Service Inchcape, the London-based largest car dealer in the world, is making itself much strong now by improving its customer services arising from major SAP and Microsoft implementations. The company has also vowed to
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Career Assessment Tools

For those not sure what type of career they are interested in pursuing, career assessment tools can provide help. There are assessments available at career centers that are designed to help people figure out a good career option. They explore your personality, skills, interests, and values, and can
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape