GeekArticles
Testing
Bug ReportingAutomation Testing Using Visual Basic 6.0
Author: stickyminds.com |
Published: 18th Aug 2005 |
Visited: 547 times |
Add CommentFiled in: Bug Reporting have used and taught classes in Microsoft Visual Basic® since its Version 2.0, in addition to teaching and consulting on test automation. Since I work for a Quality Assurance company, Data Dimensions, Inc., most of the students I have trained have been testers. The tester's goal, usually, was to gain programming experience and to perhaps build test utilities in VB. Yet, the courses I taught were initially the same as the courses taught to developers. Quite naturally, these courses began to evolve to fit what a tester needs to know. To support this, I spent some time researching what was being done with Visual Basic for test automation in our own company and compared that to the other major test automation tools we use. I learned more as I spoke with testers around the country about their use of Visual Basic for automation testing. From the experiences, our course development team and I put together a course called Visual Basic for Testers. This course has since been taught on both coasts so has afforded us the opportunity to be on-site at companies speaking to testers about their use of VB. There are some exciting things going on with Visual Basic in testing these days. Visual Basic can be, and is being, used very effectively on automation projects in a variety of ways.
Read Article Sponsored Links
Related Articles
• 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 applicat ...
• 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 ...
• 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 size.
...
• 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()method ...
• 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()metho ...
• Swing Extreme Testing - The wasCancelled() Test 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 wil ...
• 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 use ...
• Testing Multithreaded Java Code
In this interview from JavaOne 2008, Coverity chief scientist Andy Chou discusses why traditional unit tests often help in uncovering concurrency-related errors, and why a combination of static and dynamic analysis yields better results when testing multithreaded code.
...