Whenever the graphical user interface of any software system
or application is tested, a manipulation is done to the windows, menus, buttons
and so on via input sources such as key board and mouse clicks etc.
These
windows, menus, buttons and so on are nothing but the GUI objects which are
interpreted by the silk test.
Later, in the test automation process the silk
test recognizes these GUI objects based up on two things that uniquely identify
them namely:
- Object class properties and
- Object methods
The operations that are performed on that particular
application software by the users are usually in terms of input from keyboard
and mouse clicks.
These events are simulated by the silk test and the results
thus obtained are subjected to automatic verification.
This whole process is carried out by two very
distinct components of the silk test mentioned below:
- Silk host software and
- Silk agent software
Both of these components are installed on different machines:
the host machine and the target machine.
- Host machine is for the silk host
software whereas target machine is for the second component of the silk test.
- The
host component plays an important role in the development of the test scripts
as well as the test plan.
- Using the components the following operations can be carried out
on the test scripts:
- Creating
- Editing
- Deleting
- Compiling
- Running
- Debugging etc.
- The latter component of the silk test i.e., the agent is configured
to interact with the graphical user interface of the AUT or application under
test.
- The agent is responsible for monitoring as well as driving the
application under test.
- The commands in test scripts are written in the 4test
language.
- These need to be translated in to specific equivalent GUI
commands.
- This task is also achieved by the silk agent software.
- One thing that
should be taken care of is that the application under test should be installed
on the same machine as of the agent and on no machine else.
- Matching objects to
that of the GUI objects are created in the 4test and each one is unique.
- Silk
test completes test automation in a period of 4 steps:
- Creation of a test plan
- Recording of the test frame
- Creation of the test cases
- Execution of the test cases and interpretation of
the test results.
- The interaction between the GUI of the application and the
silk test is necessary since the operations need to be submitted to the
application for simulation.
- During the simulation, the silk test is said to be
the simulated user whose work is to drive the application under test.
- Since the
AUT does not recognize the difference between the simulated user and the
actual user, it behaves exactly in the same way as it reacts to an actual user.
- In
addition, you can have an agent as a local agent installed on the host machine.
- Machines
other than the host machine on which agent is installed in a network are called
target machines.
- The application under test is driven by the silk test and in
turn drives the server like always.
- Silk test is quite a powerful tool and can
be used to drive the GUI of a server directly by running the scripts which will
send equivalent SQL scripts to the data base of the server.
- In such a way the
server application is manipulated directly thus supporting the testing
involving a server being driven by a client.
No comments:
Post a Comment