Geek Articles

 

Categories

Latest Articles

 
Home Online Training

Swing Extreme Testing - The wasCancelled() Test

Author: exforsys.com Published: 25th Jul 2008 Visited: 65 times 
Category: Online Training
Add Comment
 
The wasCancelled Test The first of our API tests is to check the wasCancelled method We will basically do three investigations The first test will call wasCancelled before the dialog has been cancelled The second test will cancel the dialog and then call the method In the third test we will enter a name cancel the dialog and then call wasCancelled

Read Article
 

Sponsored Links

 


Related Articles

 JMeter - Running the Test Running the Test Once the assertions are properly completed we are expecting that running our Test Plan would pass all the assertions Passed assertions will not show any error in Assertion Results Listener installed within the same scope As for all Listeners results as captured by the Listeners can ...

 JMeter - Functional Testing Functional Testing JMeter is found to be very useful and convenient in support of functional testing Although JMeter is known more as a performance testing tool functional testing elements can be integrated within the Test Plan which was originally designed to support load testing Many other load te ...

 SOA Web Services - Developing the Test Client Developing the Test Client We will now develop a C console application for consuming the previously created web services Use the project wizard in VS NET to create a console applica ...

 Swing Extreme Testing Book Review Swing Extreme Testing Book Review Swing used to be a simple component offered as an add on for Java This plug in can be used as a GUI graphical user interface to develop as an add on for the Java application It has the ability to emulate certain platforms eventually building a powerful application W ...

 Swing Extreme Testing Swing Extreme Testing by Tim Lavers Lindsay Peters This book is a practical guide to automated software testing for extreme Java programming using Swing GUIs with lots of ready to use real life examples and source code for automated testing of the software components usually regarded as too hard to ...

 Swing Extreme Testing - Outline of the Unit Test Outline of the Unit Test The things we want to test are Initial settings The text field is empty The text field is a sensible size The Ok button is disabled The Cancel button is enabled The dialog is a sensible ...

 Swing Extreme Testing - Unit Test Infrastructure Unit Test Infrastructure Having seen the broad outline of the test class and the UI methods needed we can look closely at the implementation of the test start with the UI Wrapper class and the init and cleanup met ...

 Swing Extreme Testing - The ShowerThread Class The ShowerThread Class Since SaveAsDialog show blocks we cannot call this from our main thread; instead we spawn a new thread This thread could just be an anonymous inner class in the init me ...

 Swing Extreme Testing - The Constructor Test The Constructor Test A freshly constructed SaveAsDialog should be in a known state and we need to check the things we listed at the start of this cha ...

 Swing Extreme Testing - The Data Validation Test The Data Validation Test The Ok button of the SaveAsDialog should only be enabled if the name that has been entered is valid A name can be invalid if it contains an illegal character or if it has already been ...



Next: Swing Extreme Testing - The Data Validation Test



Post Comment


Members Please Login

Name:
Email: (Optional)
 (Used for Notification)
Title:
Comment:
Validation Code:
 <=>  (Enter this code in text box)


Subscribe

 


Daily Email Updates

GeekInterview Articles Updates delivered directly to your Inbox...

Enter your email address:


Latest GeekInterview Articles Updates

Sponsored Links


 

Popular Articles