|
|
|
IBM Functional Tester |
- Lecturer
-
Dan Yahav
Yael Grumbach
Eitan Kovacs
- Presentation
-
IBM Functional Tester
- Abstract
-
These days, due to the fact that software application development becomes
more complex, we need to invest more time in software testing.
The problem - Manual testing is time consuming and efforts are needed from testers.
a proposed solution is to use automated testing instead of manual testing using automated
software tools.
Test automation saves a lot of effort needed for rigorous testing of the system.
It also ensures uniformity in the testing process each time the test is executed.
Using automation, tests can be run faster, in a consistent manner, and over and
over again with fewer overheads. Automation is used to replace or supplement
manual testing with a suite of test programs.
Manual testing never goes away, but these efforts could now be focused on more
rigorous tests.
There are two general testing types:
-
Black box testing - the testing is performing against the specification, indicating what part of the
specification has not been fulfilled.
-
White box testing - the testing is performing against the
implementation.
First of all we have to understand the advantages and disadvantages of each
type of testing.
White box testing
Advantages:
- Wise input can help in testing the application effectively.
- Helps in optimizing the code.
- Helps in removing the extra lines of code.
Disadvantages:
- Requires a skilled tester.
- Cannot look into every bit of code to find out hidden errors.
Black box testing
Advantages:
- The tester does not need knowledge of any specific programming languages.
- Test cases can be designed as soon as the specifications are complete.
- The test is unbiased because the designer and the tester are independent of each other.
Disadvantages:
- The test can be redundant if the software designer has already run a test case.
- Testing every possible input stream is unrealistic because it would take an inordinate amount of time.
- Difficult to design without clear specifications.
Our presentation was focused on black-box testing which also known as functional
testing.
In the presentation we introduced very common software in the industry
for automated testing called IBM Rational Functional Tester.
Here are the features of IBM Rational Tester:
- Support for testing of Java, Web, Visual Studio .NET WinForm-based applications and Siebel.
- Choice of language - Java or Visual Basic .NET - for test script customization.
- Native Java and Visual Basic .NET editor and debugger for advanced testers.
- ScriptAssure technology to accommodate frequent UI modifications.
- Automated data-driven testing eliminates need for manual coding.
- Multiple verification points with regular expression pattern matching support.
- Advanced object map maintenance capabilities.
- Ships with IBM Rational ClearCase LT for automated version control.
- Support for recording user interactions with Java, Web, and Visual Studio .NET WinForm-based applications.
After we listed the features of IBM Rational Functional Tetster, here is a comparison
among the three leading software vendors for automated testing.
- Compuware TestPartner - appropriate for teams with both non-technical and semi-technical
users and a relatively diverse portfolio of apps to test.
- IBM Rational Functional Tester - is the right choice for users who have strong programming
skills and for users who work closely with development teams.
- Mercury QuickTest Professional - best for centralized testing teams that work on a wide
range of apps and include team members with varying levels of programming skill.
-
IBM Rational Tester
QA Center
Mercury QuickTest
Compuware TestPartner
|
|
Demo |
- Overview
-
The demo given here is to show you how to begin writing java tests using IBM
Functional Tester.
There are 2 demo programs :
-
WebApp demo project -
will show you how to test a web site and what is a data pool and how to use it.
We will test a registration page in our web site. our test script will register many users automatically.
For registering the users we will use a data pool which allows us to separate the java code from the user data
(the users details).
All users, inserted to the site, will be written to the log as information messages.
All these tests are all done automatically by our java test scripts and can be
re-run for regression tests without user intervention.
- Files
-
- Installation Instructions
-
We assume that the demo will run on a Windows XP machine. You will need to run a Calculator program for the calculator test. You will need to run a web site for the webApp test.
For running our site you need to install a web-server and a database.
-
Installing Java SDK -
- Install a java 1.4.2_10 SDK you can download it from
here.
1) Choose the first option to install IBM Functional Tester , if you want to
install the feature of VB .Net scripting
you will need to install Microsoft .Net framework before step 1.

2) Press next.

3) Choose the installation directory.

4) choose what components you will install. you can choose Java / .Net
scripting.

5) Press next.

6) Installing . . .

1) Select the language English.

2) Press next.

3) Press next.

4) Press next with the default options selected .

5) Enter in the account password - matrix (the password is matrix).

6) In the password type - matrix (the password is matrix).

7) From now on you need to press next and leave the default values until the
end of the installation.
Now you can run IBM Functional Tester and choose the project you wish to run,
calculator or webapp and run it.

- Features & Comments
In our demo programs there are several important features :
Extending our demo This demo can be extended easily and will help you learn the features
presented here. the calculator demo can be extended to test more function such as multiply
divide etc. this can be done in the same manner as the addition test.
The web site demo can be extended to test the other pages in the web site. for
example, after registering the users,
one can test the login page with the registered users.
Additional information
If you are interested in learning more features and advanced features you are
welcome to read the help in IBM Functional Tester.
there are code snippets and examples and there are fairly easy to understand.
we welcome you to the interesting world of a java QA developer :-)
|
|