... Automated
GUI Testing Tool
Kanglin Li
Mengqi Wu
SYBEX®
xvi
Introduction
fully automated GUI testing tool. Second, it will serve as an application under test for the GUI
testing tool as the testing ... Tuesday, September 28, 2004 11:21 AM
San Francisco • London
Effective GUI
Test Automation:
Developing an Automated
GUI Testing Tool...
... GUI testing tasks are still accomplished by manual tests.
Test engineers believe that a test monkey is an effective and automated testing tool, but the
random actions of test monkeys cannot effectively ... schedule testing executions and manage effective regression
testing by reusing the script library.
●
In addition, testers can use these tools as learning assis...
... and members can help a tester find all the details of a
component under test. The automatic GUI testing tool and its generated test scripts will make
use of them to execute test functions and ... objects by serialization and deserialization will help
the GUI testing tool create and save the testing cases and present and save the test results. These
data objects and re...
... many simple testing tasks to form a complex test script is the key to
increasing the testing efficiency to find bugs.
●
The testing cases can be reused for regression testing and system testing.
... cycle of developing an automatic
GUI testing tool. The ultimate goal of this tool is to fully automate the GUI testing process
from discovering all the GUI comp...
...
to the AutomatedGUITest project.
Enhancing the AutomatedGUITest Tool
You implemented the AutomatedGUITest tool in Chapter 7. This tool is fully capable of see-
ing and handling the GUI components ... AM
261
Conducting the First Automatic GUI Testing
GUITestUtility.SerilizeInfo(TestCaseStore, GUITestSeqList);
GUITestScript guiTS = new GUITestScript(TestCaseStore, currDir);
G...
...
➥(GUITestUtility.GUIInfo)seqGUIUT.GUIList[clickNum];
string ctrlAction =
➥GUITestUtility.GetAGUIAction(guiTestActionLib, guiUnit.GUIControlType);
Control ctrlTested =
➥(Control)GUITestUtility.VerifyField(AUT, ...
execution and interac-
tions between the test
script and the data
stores
GUI Test Script
GUI Test
Input Data
Conducts testing
and verification
interactively...
... RunsScript()
{
guiTestActionLib = Path.Combine(progDir, "GUITestActionLib.xml");
GUITestUtility.GUIInfo guiUnit =
➥(GUITestUtility.GUIInfo)seqGUIUT.GUIList[clickNum];
string ctrlAction =
➥GUITestUtility.GetAGUIAction(guiTestActionLib, ... document and three classes,
GUITest-
Utility
,
GUITestVerification
, and
GUITestScrip
, are in need of updating. After the u...
... control and then solve the conversion dilemma.
Testing a Customized .NET GUI Control
After you build and run the AutomatedGUITest tool with the new enhancement, you can click
the Start GUI Test ... fully automated GUI testing tool for different
testing purposes. C# was used in the sample code, but developers can use the basic ideas pre-
sented to build a testing tool...
... problem can be identified
and reported. An intelligently automated test tool needs an effective state table. It can be used to
perform GUI testing, load testing, and stress testing. A test script ... AM
Effective GUI
Test Automation:
Developing an Automated
GUI Testing Tool
Kanglin Li
Mengqi Wu
SYBEX®
xii
Contents
Adding Code to the
TestExp...