Answer Posted / pratichi
1>The test script modularity framework requires the creation
of small, independent scripts that represent modules,
sections, and functions of the application-under-test. These
small scripts are then used in a hierarchical fashion to
construct larger tests, realizing a particular test case.
Of all the frameworks I'll review, this one should be the
simplest to grasp and master. It's a well-known programming
strategy to build an abstraction layer in front of a
component to hide the component from the rest of the
application. This insulates the application from
modifications in the component and provides modularity in
the application design. The test script modularity framework
applies this principle of abstraction or encapsulation in
order to improve the maintainability and scalability of
automated test suites.
2> Test Driver frameworks "drive" the replay of scripts. For
example, the SAFS framework uses keywords in plain text
files rather than a matrix of function calls.
This makes it faster and easier to use test tools because they:
1. Provide common functions for error detection, logging,
etc. not provided by test tools. Because the framework's
functions automatically performs validations on every object
within every action without additional coding, many hours of
script coding and debugging is avoided. For example, the
WRSAFS framework includes the CSO libraries of functions for
WinRunner users
2. Provide complete examples. For example, WRSAFS
installation enables a complete test of the "flight"
application that is WinRunner's sample application.
3. Define de-facto naming conventions for common
environment variables, functions, messages, and other
terminology.
4. Make test specs independent of the test tool. Another
tool can potentially be substituted for WinRunner because
rather than making calls to the unique syntax of each tool's
API, the framework processes generic keywords in plain text
files. Otherwise, test scripts crafted for one test tool are
usually useless for use in competitive tools.
5. Allow testing work to begin sooner. Unlike
capture/playback, which requires the application to be
operational, the framework's three-layer test specification
hides low-level details. During application design, when use
cases are known, Test Analysts can define "what" to test
(the "high-level" test cycles) without knowing the scripting
language. When specific application variable names are
known, analysts can define test suites with specific values.
"How" the application's gui map and scripts implement the
action keywords is done as the application matures.
6. Enables testing work to progress in a structured,
top-down, distributed approach by several specialists
working separately.
Unlike tracing function calls within many pages of
test script code, keyword test specs don't have extraneous
programming characters, so they are easier to follow what is
being tested. This makes it easier to have separate
(several) script programmers working on different parts of
the app, making the test project easier to scale larger.
This makes for a much more manageable process to plan
and track.
7. Use of public domain frameworks distributes the work.
For example, here are the recent changes to the framework
source:
* ANSI wide character support
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Do write a separate test case for regression testing? If it is yes, explain how to write the test case?
During alpha testing why customer people are invited?
Hello Varun, Kindly send me the material as well as sample question papers as i am interested in doing the certification. Kindly help me out in this regard. Here is my mail ID: bjyothitesting@gmail.com
Why is it impossible to test a program completely?
How many types of api testing are there?
Hi, I am planing to give ISTQB - Foundation level exam. Can anyone forward the ISTQB materials at laxmi_002@rediffmail.com mail ID.
What are the standard you follow in your company to prepare test plan document? Content is same in every standard or not. Also is there any document to read about the testing standards? Thanks in advance for giving me the answer.
What is the Jar file?
1.what is a test condition ?
Explain some techniques for developing software components with respect to testability.
what is the function generator?
What is strategy to be followed for execution of 500 Test Cases in One day. If only 1 Resource is available.
Can anybody write the test cases for the following scenario. I want to create District. for that, District Code field, District Name field, Reset button, Submit button, Back button are there in the screen. whenever we enter District Code & District Name in the related fields, by clicking on Submit button, District should be created. By clicking on Reset button, all fieds should be cleared. By clicking on Back button, user should navigate to home page. Can you write the test cases for the scenario. I want to know the test case format for the scenario. what procedure is the best. tahnks in advance...
What is concurrent user hits in load testing?
What is an exit criteria?