GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  Rational Robot
Go To First  |  Previous Question  |  Next Question 
 Rational Robot  |  Question 43 of 73    Print  
What is the use of “SQAWaitForObject”?

  
Total Answers and Comments: 1 Last Update: January 02, 2007     Asked by: jyothsna 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 11, 2007 04:24:08   #1  
Tulika chatterjee        

RE: What is the use of “SQAWaitForObject”?

It pauses execution of the script until the specified object can be found.
status SQAWaitForObject(recMethod$ timeout&)recMethod$ is the recognition
method values you use to identify an object depend on the object you are
accessing. For example if you are accessing a push button object use the
recognition method values listed for the PushButton user action command.timeout&
is the maximum number of milliseconds to look for the object. If the object does
not appear within the timeout period sqaTimeout is returned. This example waits
up to two minutes for a particular push button to appear.


Sub Main


Dim Result As Integer


Window SetContext "Caption MyApp" ""MenuSelect "File->Open..."Window
SetContext "Caption Open" ""'


The OK button may take a long time to appear. We can use ' SQAWaitForObject
to synchronize our script without ' increasing the default wait period of all
other actions


Result SQAWaitForObject("Type PushButton;Text OK" 120000)


If Result sqaSuccess Then


... ' add the rest of the actions/tests here


End If


End Sub


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : It pauses execution of the script until the specified object can be found. status% = SQAWaitForObject(recMethod$,timeout&)recMethod$ is the recognition method values you use to identify an object depend on the object you are accessing. For example, ...
Read Answers (1) | Asked by : jyothsna

I am new to Robot, I need to verify a particular item or data is present in the Combo List box. I used some commands like SQAFINDOBJECT, SQAWAITFOROBJECT, SQAGETPROPERTY & SQAGETPROPERTYASSTRING. but i 
Latest Answer : By using verification point.i.e insert--verification point--select object data ...


 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
 

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
 

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
 

Advantages of Using SAP R/3 in comparison with other Similar Tools

ERP system takes a lead role because of some of the following reasons: Many large corporations use several different and separate information systems, often because they have merged with and/or acquired other companies with varied systems. An ERP system integrates these separate information systems
 

Advantages of Using VoiceXML In Comparison To Similar Tools

Another powerful advantage of VoiceXML is the ability for the system to re-use certain Internet structures. The vast majority of companies today use either one of two infrastructures, and these are the IVR infrastructure or the web based infrastructure. VoiceXML is powerful because it will allow
 

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

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

Page copy protected against web site content infringement by Copyscape