How to write a Batch script and Batch Framework?

Answers were Sorted based on User's Feedback



How to write a Batch script and Batch Framework?..

Answer / pratichi

Framework:

A set of procedures to execute the test script is
called framework.

There r so many frameworks will be available. As per
my knowledge 4 frameworks

1. Modularity framework
2. Test driver framework
3. 3-level framework
4. data driven framework
Batch is nothing but excution of one or more tests at a time

Is This Answer Correct ?    2 Yes 0 No

How to write a Batch script and Batch Framework?..

Answer / swati

hi pratichi,

can u bried more about the frameworks u hv listed..plz it
could be of grt help for job seekers.

thanks in advance


regds,
swati
swty79@rediffmail.com

Is This Answer Correct ?    0 Yes 0 No

How to write a Batch script and Batch Framework?..

Answer / 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

More Manual Testing Interview Questions

how to create automation frame work ?

0 Answers   ITC Infotech,


What are the web designing tools ?

0 Answers  


which type of testing we r doing at the begining of the project,and what r the next next testing at the application

3 Answers  


WHO CAN TEACH ME MANUAL TESTING AND PROJECTS PERFECTLY WITH INTERVIEW PREPARATION AND RESUME WRITING PLZ PLZ HELP ME I WANT TO WORK ON TESTINGTOOLS SO PLZ HELP ME TEACHING WOULDBE EITHER DIRECT OR ANYMODE BUT I PREFER DIRECT CLASSES , COACHING INSTITUTES ARE AVAILABLE BUT THEY WILLNOT TAKE CARE MUCH SO THATSWHY IAM APPROACHING LIKETHIS WAY MY MAILID :sumalatha.qtp@gmail.com plz reply and i will pay good fees

3 Answers  


hOW WILL U ENSURE THAT U HAVE COVERED EACH AND EVERY TEST CASE

2 Answers   Hewitt,






How to test Reports manually?

2 Answers  


1.Unit testing ->integration testing->system testing->UAT in this where do u do the functional testing & regression testing? if these two done in each phase why should not mentioned in that ?

6 Answers   ITC Infotech,


What is comparison testing?

4 Answers  


Hello Friends, I m working as tester in a company, i have 1.5 yrs of exp., in my company we used manual testing Technique & i wants to give The ISTQB Certified Tester-Foundation Level certificate Exam. Can any one tell me the next date of the exam.? If anyboady have questions papers OR any material then pls. frwd me on my id : preet45p@yahoo.com Thanks in advanced.

3 Answers  


you r a tester having good knowledge of coding.now in ur company developers are having some problem in coding will u (tester) help them.

2 Answers  


Explain three tier architechture of the java project? what is the web server and what is the database server?

1 Answers   Infosys,


ofter combine the sub modules which type of integration testing will be done ? and who will do this ?

2 Answers  


Categories