This topic deals with T-Plan
Robot Enterprise features and it is not applicable to the legacy VNCRobot Version 1.3 or 2.0 projects.
Tests in the software engineering industry usually consist
test cases. A test case is
either a single logical
step or a
steps aimed at testing of a feature, functionality or correct
behaviour of an
application. An expected result is usually defined. Test cases are
often referred to as
test scripts and they are usually collected to
T-Plan Robot Enterprise supports test cases (called
"scripts" in T-Plan terminology) and
steps. It is expected
that test suites are managed on a higher level outside of T-Plan Robot,
such as through the test management tools like T-Plan Professional. The
scripting language contains two commands,
Script and step structures are
reflected both in HTMLHypertext Markup Language. A set of tags used to mark the structural elements of text files. HTML files include tags that create hyperlinks to other documents on the Internet. and XML reports created through the
Report command. The XML serves as test report viewable through a web browser
as well as a source of test result data suitable for export to 3rd
party applications. Reporting functionality will be discussed in
details later on in this tutorial.
As an example let's add the script and step structure to the calculator
example from previous
topic. We suppose that it automates two test cases: verify calculation
"5+5" (script 1) and "10*5" (script 2). For simplicity the steps always
returns "pass" because we do not verify the result in any way.
Verification of application behaviour is covered extensively in the next
chapter of this tutorial.
To see the resulting XML report look at calculator-Windows.xml (Windows XP only) in our examples. To get the raw XML data simply select "View Page Source" in your web browser or save the report to a file and open it in a text editor.
|12 December 2014||
Copyright © T-Plan Ltd.