Professional Documents
Culture Documents
The acceptance criteria are defined on the basis of the following attributes:
Functional Correctness and Completeness
Accuracy
Data Integrity
Data Conversion
Backup and Recovery
Competitive Edge
Usability
Performance
KJSCE/IT/BE/SEMVII/STQA/2013-14
Start-up Time
Stress
Reliability and Availability
Maintainability and Serviceability
Robustness
Timeliness
Confidentiality and Availability
Compliance
Installability and Upgradability
Scalability
Documentation
Procedure / Approach /Algorithm / Activity Diagram:
1.Selection of Acceptance Criteria
The customer needs to select a subset of the quality attributes and prioritize them to suit
their specific situation.
Ultimately, the acceptance criteria must be related to the business goals of the customers
organization.
For example ,IBM used the quality attribute list CUPRIMDS for their products.
(Capability, Usability, Performance, Reliability, Installation, Maintenance,
Documentation, and Service)
For web base applications,
Reliability,usability,security,availability,scalablity,maintainability and time to market.
2. Define acceptance criteria for each identified attribute for your system.
For example ,the aim of the recovery acceptance test criteria is to outline the extent to
which data can be recovered after a system crash.
The goal of usability acceptance test criteria is to specify how will the system help the user
in the day-to-day job.
_________________________________________________________________________
Results: (Program printout with output / Document printout as per the format)
_________________________________________________________________________
Questions:
1. Why are the selected acceptance criteria the most critical ones for your
system?
_______________________________________________________________________
KJSCE/IT/BE/SEMVII/STQA/2013-14
Outcomes:
1. An ability to apply knowledge of mathematics, science, and e ngineering.(a)
2. An ability to identify and formulate engineering problems. (e)
3.An understanding of best practices, standards and their applications. (m)
Conclusion: (Conclusion to be based on the objectives and outcomes achieved)
Grade: AA / AB / BB / BC / CC / CD /DD
Signature of faculty in-charge with date
_________________________________________________________________________
__
References:
Books/ Journals/ Websites:
1. Software Testing and Quality Assurance: Theory and Practice, Sagar Naik,
University of Waterloo, Piyu Tripathy, Wiley , 2008
2. Effective methods for Software Testing William Perry, Wiley.
3. http://en.wikipedia.org/wiki/Acceptance_testing
KJSCE/IT/BE/SEMVII/STQA/2013-14
Experiment / assignment / tutorial No._______
Title: Study of software quality standard ISO
9001:2000 fundamental and requirements.
KJSCE/IT/BE/SEMVII/STQA/2013-14
Batch: Roll No.: Experiment / assignment / tutorial No.:
Title: Study of software quality standard ISO 9001:2000 fundamental and requirements.
Objective:
_________________________________________________________________________
After completing this experiment you will be able to:
1. Understand software quality standard ISO 9001:2000 fundamental and
requirements.
2. Apply these standards to any organization.
_________________________________________________________________________
Resources needed: Libre Office, Internet
_________________________________________________________________________
Theory
There are the eight quality management principles on which the quality management
system standards of the ISO 9000:2000 and ISO 9000:2008 series are based. These
principles can be used by senior management as a framework to guide their organizations
towards improved performance. The principles are derived from the collective experience
and knowledge of the international experts who participate in ISO Technical, which is
responsible for developing and maintaining the ISO 9000 standards.
The eight quality management principles are as given below,
Principle 1: Customer focus
Principle 2: Leadership
Principle 3: Involvement of people
Principle 4: Process approach
Principle 5: System approach to management
Principle 6: Continual improvement
Principle 7: Factual approach to decision making
Principle 8: Mutually beneficial supplier relationships
1. Customer focus:
Organizations depend on their customers and therefore should understand current and
future customer needs, should meet customer requirements and strive to exceed customer
expectations.
Applying the principle of customer focus typically leads to:
KJSCE/IT/BE/SEMVII/STQA/2013-14
Researching and understanding customer needs and expectations.
Ensuring that the objectives of the organization are linked to customer needs and
expectations.
Communicating customer needs and expectations throughout the organization.
Measuring customer satisfaction and acting on the results.
Systematically managing customer relationships.
Ensuring a balanced approach between satisfying customers and other interested
parties (such as owners, employees, suppliers, financiers, local communities and society as
a whole).
2. Leadership:
Leaders establish unity of purpose and direction of the organization. They should create
and maintain the internal environment in which people can become fully involved in
achieving the organization's objectives.
Key benefits:
People will understand and be motivated towards the organization's goals and
objectives.
Activities are evaluated, aligned and implemented in a unified way.
Miscommunication between levels of an organization will be minimized.
Applying the principle of leadership typically leads to:
Considering the needs of all interested parties including customers, owners,
employees, suppliers, financiers, local communities and society as a whole.
Establishing a clear vision of the organization's future.
Setting challenging goals and targets.
Creating and sustaining shared values, fairness and ethical role models at all levels
of the organization.
Establishing trust and eliminating fear.
Providing people with the required resources, training and freedom to act with
responsibility and accountability.
Inspiring, encouraging and recognizing people's contributions.
3. Involvement of people:
People at all levels are the essence of an organization and their full involvement enables
their abilities to be used for the organization's benefit.
KJSCE/IT/BE/SEMVII/STQA/2013-14
Key benefits:
Motivated, committed and involved people within the organization.
Innovation and creativity in furthering the organization's objectives.
People being accountable for their own performance.
People eager to participate in and contribute to continual improvement.
Applying the principle of involvement of people typically leads to:
People understanding the importance of their contribution and role in the
organization.
People identifying constraints to their performance.
People accepting ownership of problems and their responsibility for solving them.
People evaluating their performance against their personal goals and objectives.
People actively seeking opportunities to enhance their competence, knowledge and
experience.
People freely sharing knowledge and experience.
People openly discussing problems and issues.
4. Process Approach:
A desired result is achieved more efficiently when activities and related resources
are managed as a process.
Key benefits:
Lower costs and shorter cycle times through effective use of resources.
Improved, consistent and predictable results.
Focused and prioritized improvement opportunities.
Applying the principle of process approach typically leads to:
Systematically defining the activities necessary to obtain a desired result.
Establishing clear responsibility and accountability for managing key activities.
Analyzing and measuring of the capability of key activities.
Identifying the interfaces of key activities within and between the functions of the
organization.
Focusing on the factors such as resources, methods, and materials that will improve
key activities of the organization.
KJSCE/IT/BE/SEMVII/STQA/2013-14
Evaluating risks, consequences and impacts of activities on customers, suppliers
and other interested parties.
5. System approach to management:
Identifying, understanding and managing interrelated processes as a system
contributes to the organization's effectiveness and efficiency in achieving its objectives.
Key benefits:
Integration and alignment of the processes that will best achieve the desired results.
Ability to focus effort on the key processes.
Providing confidence to interested parties as to the consistency, effectiveness and
efficiency of the organization.
Applying the principle of system approach to management typically leads to:
Structuring a system to achieve the organization's objectives in the most effective
and efficient way.
Understanding the interdependencies between the processes of the system.
Structured approaches that harmonize and integrate processes.
Providing a better understanding of the roles and responsibilities necessary for
achieving common objectives and thereby reducing cross-functional barriers.
Understanding organizational capabilities and establishing resource constraints
prior to action.
Targeting and defining how specific activities within a system should operate.
Continually improving the system through measurement and evaluation.
6. Continual improvement:
Continual improvement of the organization's overall performance should be a
permanent objective of the organization.
Key benefits:
Performance advantage through improved organizational capabilities.
Alignment of improvement activities at all levels to an organization's strategic
intent.
Flexibility to react quickly to opportunities.
Applying the principle of continual improvement typically leads to:
KJSCE/IT/BE/SEMVII/STQA/2013-14
Employing a consistent organization-wide approach to continual improvement of
the organization's performance.
Providing people with training in the methods and tools of continual improvement.
Making continual improvement of products, processes and systems an objective for
every individual in the organization.
Establishing goals to guide, and measures to track, continual improvement.
Recognizing and acknowledging improvements.
7. Factual approach to management: Effective decisions are based on the analysis
of data and information
Key benefits:
Informed decisions.
An increased ability to demonstrate the effectiveness of past decisions through
reference to factual records.
Increased ability to review, challenge and change opinions and decisions.
Applying the principle of factual approach to decision making typically leads to
Ensuring that data and information are sufficiently accurate and reliable.
Making data accessible to those who need it.
Analyzing data and information using valid methods.
Making decisions and taking action based on factual analysis, balanced with
experience and intuition.
8. Mutually beneficial supplier Relationship:
An organization and its suppliers are interdependent and a mutually beneficial relationship
enhances the ability of both to create value
Key benefits:
Increased ability to create value for both parties.
Flexibility and speed of joint responses to changing market/customer expectations.
Optimization of costs and resources.
Applying the principles of mutually beneficial supplier relationships typically leads to:
Establishing relationships that balance short-term gains with long-term
considerations.
Pooling of expertise and resources with partners.
KJSCE/IT/BE/SEMVII/STQA/2013-14
Identifying and selecting key suppliers.
Clear and open communication.
Sharing information and future plans.
Establishing joint development and improvement activities.
Inspiring, encouraging and recognizing improvements and achievements by
suppliers.
ISO 9001:2000 Requirements:
1. Systemic Requirements: The concept of quality management system is the core
part of ISO 9001:2000 document. A quality management system is defined in terms of
quality policy and quality objectives.
An example of quality policy is to review all work products by at least two
skilled persons. Another quality policy is to execute all test cases for at least two test
cycles during system testing.
An example of quality objective is to fix all defects causing a system to crash
before release. Mechanisms are required in terms of processes to execute quality policies
and achieve quality objectives.
Documentation is an important part of a QMS. There is no QMS without
documentation. A QMS must be properly documented using quality manual. The quality
manual describes the quality policies and quality objectives.
Documentation part can be summarized as follows:
1. Document organizational policies and goals.
2. Document all quality processes and their relationships.
3. Review and approve updated documents.
4. Monitor documents coming from suppliers.
5. Document a procedure to control records.
2. Management Requirements: The concept of quality cannot be dealt with
developers and test engineers. Rather upper management must accept the fact that quality
is an all-pervasive concept.
Upper management must make an effort to see that the entire organization is
aware of quality policies and quality goals.
Following are some important activities for upper management to perform in this
regard:
KJSCE/IT/BE/SEMVII/STQA/2013-14
1. generate an awareness for quality to meet a variety of requirements such as
customer, regulatory and statutory
2. Develop a mechanism for continual improvement of the QMS.
3. Focus on customers by identifying and meeting their requirements in order to
satisfy them.
4. Deal with quality concept in a planned manner by ensuring that quality objectives
are set at organizational level, quality objectives support quality policy, and quality
objectives are measurable.
5. Clearly define individual responsibilities and authorities concerning the
implementation of quality policies.
6. Communicate effectiveness of QMS to the staff so that the staff is in a better
position to conceive improvements
in the existing QMS model.
7. Periodically review the QMS to ensure that it is an effective one and it adequately
meets organizational policy and objectives to satisfy the customers.
3. Resource Requirements: Resources are key to achieving organizational policies
and objectives. There are different kind of resources, namely, staff, equipment, tool,
financial etc.
Typically, different resources are controlled by different divisions of organization.
Important activities concerning resource management are as follows:
1. Identify and provide resources required to support the organizational quality policy
in order to realize the quality objectives. Here key factor is to identify resources to be able
to meet and even exceed customer expectations.
2. Allocate quality personnel resources to the projects. Here quality of personnel is
defined in terms of education, training, experience, and skills.
3. Put in place a mechanism to enhance the quality level of personnel.
4. Manage a work environment, including physical, social, psychological, and
environmental factors, that is conductive to producing efficiency and effectiveness in
people resources.
4. Realization Requirements: This part deals with processes that transform customer
requirements into products.
The key elements of realization part are as follows
1. Develop a plan to realize a product from its requirements. Important elements of
such plan are identification of processes needed to develop a product, sequencing the
processes, and controlling the processes.
KJSCE/IT/BE/SEMVII/STQA/2013-14
Product quality objectives and methods to control quality during development are
identified during planning
2. To realize a product for a customer, much interaction with the customer is
necessary to understand and capture requirements.
3. Review the customers requirements before committing to the project
.Requirements that are not likely to be met should be rejected in this phase.
4. Once requirements are reviewed and accepted, product design and development
take place:
Product design and development start with planning: Identify the stages of design and
development, assign various responsibilities and authorities, manage interactions between
different groups, and update the plan as changes occur.
Specify and review the inputs for product design and development.
Create and approve the outputs of product design and development. Use the outputs to
control product quality.
Periodically review the outputs of design and development to ensure that progress is being
made.
Perform design and development verification on their outputs.
Per form design and development validations
Manage the changes effected to design and development: Identify the changes, record the
changes, review the changes, verify the changes, validate the changes, and approve the
changes.
5. Remedial Requirements:
This part is concerned with measurement, analysis of measured data, and continual
improvement. Measurement of performance indicators of processes allows one to
determine how well a process is performing. If it is observed process is performing
below the desired level, then corrective action can be taken to improve the performance of
the process.
Performance measurement needs as explained below:
3. The success of an organization is largely determined by satisfaction of its
customers. Thus standards require organizations to develop methods and procedures for
measuring and tracking customers satisfaction level on an ongoing basis. For example, the
number of calls to help line of an organization can be considered as a measure of customer
satisfaction-too many calls are a measure of less customer satisfaction.
4. An organization needs to plan and perform internal audits on a regular basis to
track the status of organizational QMS.
5. The standard requires that both processes, including QMS processes, and products
be monitored using a set of key performance indicators.
6. As a result of measuring product characteristics, it may be discovered that a
product does not meet its requirements Organizations need to ensure that such products are
KJSCE/IT/BE/SEMVII/STQA/2013-14
not released to the customers. The causes of an expected product and real one need to be
identified.
7. The standard requires that data collected in measurement processes are analyzed
for making objective decisions. Data analysis is performed to determine effectiveness of
QMS.
8. Process improvement includes both corrective actions and preventive actions to
improve the quality of products.
______________________________________________________________________
Procedure / Approach /Algorithm / Activity Diagram:
Case Study: Apply this standard to the MTNL : Mahanagar Telephone Nigam Limited
Principles:
Customer focus:
MTNL first aim should be customer focus. For developing any new product, MTNL must
understand needs of customer. Along with that, they must try to develop something which
is really useful and worth, along with user friendliness. Services should be provided to each
and every customer such that all their demands are fulfilled. In order to launch a new
service or product, customer demands must be taken into consideration. Long distance
telephone lines must be made free of any disturbances. Phone calls should be clear and free
from any disturbances.
Leaderships:
Leaderships are essential for any organization. A strong leadership helps and organization
to reach their destination easily and effectively. It helps in establishing a clear vision , and
goal set for an organization. Proper leadership is necessary for any organization for
satisfying customer demand and bringing profit to the company.
Involvement of People:
People in organization must understand their responsibility and role in the organization.
They must participate in activities to lead it to success. Participation of people is very
important, which helps in understanding their needs better and helping them in more
efficient manner
Process Approach:
A process approach is essential. Desired results are achieved successfully if activities and
related resources are managed as a process. Hence, an organization must follow process
approach. Proper implementation of process is optimum need of any organization.
System Approach to management:
Identify the processes , understand them and managing interrelated processes as system,
improve effectiveness , and improve the development.
Continual Improvement:
The objective of MTNL should be continuous development . Continuous improvements
,developments help in making effective products and giving better and efficient results.
KJSCE/IT/BE/SEMVII/STQA/2013-14
Factual Approach to decision making:
In MTNL factual data should be used take any decision. Decision making is essential and
must be done by understanding the data, and analyzing the data.
Mutually beneficial Supplier Relationships:
MTNL should have interdependent and mutually beneficial relationships which will enable
to enhance ability of both to create value.
Requirements
Systemic Requirements:
Documentations is an important part of QMS. Its important for MTNL to document
everything.QMS must be well documented and it should be done using quality manuals.
Management Requirements:
The concept of quality cannot be dealt with developers and test engineers. Rather upper
management must accept the fact that quality is an all-pervasive concept.
Resource Requirements:
Resources are key to achieve organizational policy and objectives. Resources are staff,
equipment , finance etc. These resources are typically handled by different divisions.
Realization Requirements:
It deals with converting requirements of customer into actual products. It includes
reviewing the product according to requirements , verification of outputs , validation and
verifying and identifying the changes along with their validation.
Remedial Requirements:
This part is concerned with measurement, analysis of measure data and continual
improvement. Measurement for performance indicators of processes allows one to
determine how well a process is performing.
THE VARIOUS QUALITY FACTORS THAT CAN BE CONSIDERED ARE:
The telephone should start functioning after registration in less than the periods
prescribed time.
The number of faults per 100 subscribers in a month should not exceed the number
of faults prescribed.
For short term , 85% of the faults booked should be cleared by the best working
day.
The average duration of fault clearance as per norms prescribed.
Grade of service is defined as the permissible limit of number of calls out of 100
calls that can fail during the busy hour.
KJSCE/IT/BE/SEMVII/STQA/2013-14
The call completion rate means the percentage of calls successful in first attempt in
a local network.
In the meter reading and telephone bills issued in a billing cycle, the percentage of
bills disputed should not exceed the percentage prescribed.
The urgent trunk calls booked should mature in less than 1 hr 30 mins.
This indicates that the percentage of calls made on operator assisted special services
like 199,197 and 180 services etc, to be answered by the operator in the prescribed
period.
95% of the request from customers for shifting , closing of telephones and
additional facility required should be compiled within the prescribed period.
The percentage of repeat faults implies that fault should not re-occur in more than
the prescribed percentage of original faults.
_________________________________________________________________
Results: (Program printout with output / Document printout as per the format)
Questions
1. Apply this standard to following organizations and submit the detailed reports.
Educational Institutes giving technical education.
Hospitals with facility for super specialization.
Research and Development facility of any organization.
Financial organization (Bank).
_________________________________________________________________________
Outcomes:
1.An ability to apply knowledge of mathematics, science, and e ngineering.(a)
2.A recognition of the need for, and an ability to engage in life-long learning(i)
3.An understanding of best practices, standards and their applications. (m)
Conclusion: (Conclusion to be based on the objectives and outcomes achieved)
KJSCE/IT/BE/SEMVII/STQA/2013-14
Grade: AA / AB / BB / BC / CC / CD /DD
Signature of faculty in-charge with date
_________________________________________________________________________
References:
Books/ Journals/ Websites:
1.http://www.itgovernance.co.uk/
2.http://www.iso.org/iso/
3. http://www.qualitygurus.com/
KJSCE/IT/BE/SEMVII/STQA/2013-14
Experiment / assignment / tutorial No._______
Title: Exploring WinRunner
KJSCE/IT/BE/SEMVII/STQA/2013-14
Batch: Roll No.: Experiment / assignment / tutorial No.:
Title Exploring WinRunner.
Objective:
________________________________________________________________________
After completing this experiment you will be able to:
1. Understand the features and applications of testing tool WinRunner.
2. Perform functional testing of software application with testing tool WinRunner.
_______________________________________________________________________
Resources needed: WinRunner
________________________________________________________________________
Theory
Introducing WinRunner
If you have ever tested software manually, you are aware of its drawbacks. Manual testing
is time-consuming and tedious, requiring a heavy investment in human resources. Worst of
all, time constraints often make it impossible to manually test every feature thoroughly
before the software is released. This leaves you wondering whether serious bugs have gone
undetected.
Automated testing with WinRunner addresses these problems by dramatically speeding up
the testing process. You can create test scripts that check all aspects of your application,
and then run these tests on each new build. As WinRunner runs tests, it simulates a human
user by moving the mouse cursor over the application, clicking Graphical User Interface
(GUI) objects, and entering keyboard inputbut WinRunner does this faster than any
human user.
Features
WinRunner is:
Functional Regression Testing Tool Windows Platform Dependent
Only for Graphical User Interface (GUI) based Application Based on Object Oriented
Technology (OOT) concept
Only for Static content Record/Playback Tool
KJSCE/IT/BE/SEMVII/STQA/2013-14
Add Ins
WinRunner includes the following Addins:
Web Test Visual Basic ActiveX
Power Builder
How does Win Runner identify GUI Objects
GUI applications are made up of GUI objects such as windows, buttons, lists and menus.
WinRunners Rapid Test Script Wizard learns the descriptions of all GUI objects
It saves the object description in GUI Map file.gui, which is the Heart of Win Runner
When we run tests, WinRunner uses this file to identify and locate objects
Creating GUI Map file and Loading it
There are three ways of creating GUI Map file
o Rapid Test Script Wizard- systematically opens the windows in your
application and learns a description of every GUI object.
Used to learn the entire application User Interface Test
o Recording- adds windows and objects to the GUI Map as they are
encountered by the user
o GUI Map Editor- used to store all the information about GUI elements
present in your application. The GUI Map editor tool can be used edit the
information in the map file easily.
You can load the GUI Map file through
GUI Map editor / GUI_load(filename.gui)
KJSCE/IT/BE/SEMVII/STQA/2013-14
Recording Test
By recording, we can quickly create automated test scripts, clicking objects with mouse,
entering Keyboard input
Recording generates statements in TSL, Mercurys interactive Test Script Language, Case
sensitive.
Choosing Record Mode
Before you begin recording a test, you should select the appropriate record mode. There
are two record modes available
Context Sensitive Mode- records operation you perform in terms of GUI objects
e.g. button_press(Ok)
Analog Mode records exact co-ordinates traveled by mouse and keyboard inputs
e.g. Mtype(<kleft>+)
Running the Test
WinRunner provides three modes for running test
Use Verify mode when running a test to check the behavior of our application and when
we want to save the test result.
Use Debug Mode, when you want to check that the test script runs smoothly without
errors in syntax. The debug mode will not give the test result.
Use Update mode, when you want to create new expected results for a GUI check point or
bitmap check point
Win Runner Testing Process
Create GUI Map File: By creating GUI Map file the WinRunner can identify the GUI
objects in the application going to be tested.
Create Test Scripts: This process involves recording, programming or both. During the
process of recording tests, insert checkpoints where the response of the application
needs to be tested.
Debug Test: Run the tests in Debug mode to make sure whether they run smoothly.
Run Tests: Run tests in Verify mode to test the application.
View Results: This determines the success or failure of the tests.
Report Defects: If a particular test run fails due to the defect in the application
tested, defects can be directly reported through the Test Results window.
KJSCE/IT/BE/SEMVII/STQA/2013-14
KJSCE/IT/BE/SEMVII/STQA/2013-14
Sample Test Result
GUI Checkpoint
Checkpoints allow you to compare the current behavior of the application being tested to its
behavior in an earlier version. You can add four types of checkpoints to your test scripts
Object Checkpoint verifies information about GUI objects. For example, you can check
o Whether radio button is on or off
o Whether a push button is enabled or disabled
Text Checkpoint read text in GUI objects and in bitmaps and enables you to verify their
contents. For example, you
o Can read the text content of any button
Bitmap Checkpoint takes a snapshot of a window or area of your application and
compares this to an image captured in an earlier version.
o Capture drawings and graphs
Database Checkpoint check the contents and the number of rows and columns of
a result set, which is based on a query you create on your database.
o So you create a query and examine the result set
KJSCE/IT/BE/SEMVII/STQA/2013-14
Database Checkpoint- Compare Expected and Actual Outcomes
Data Driven Test
When you want to test your application, you may want to check how it performs the same
operation with multiple sets of data. So we use Data Driven Test. By replacing the
fixed values in your test with values stored in a data table (an external file), you can
generate multiple test scenarios using the same test.
Two ways of Data Driven Test
Data driven Wizard
Modify Test Script manually
Data Driven Testing Process
Creating a test
Converting it in to a Data Driven Test Preparing a Data table
Running the Test
Analyzing the results
KJSCE/IT/BE/SEMVII/STQA/2013-14
Application Performance with Data Driver Wizard
KJSCE/IT/BE/SEMVII/STQA/2013-14
Synchronization
Synchronization is used to have the uniformity between the application and test scripts. It
enables you to solve anticipated timing problems between the test and your application
For example, if you create a test that opens a database application, you can add a
synchronization point that causes the test to wait until the database records are loaded on
the screen.
So you could synchronize:
To retrieve information from a database For a window to popup
For a progress bar to reach 100% For a status bar message to appear
Batch Test
A Batch test is a test script that contains call statements to other tests It opens and executes
each test and saves the test results.
It suppresses the error message that occur while running the test script
A test becomes a batch test when you select the run in batch mode option
e.g. GUI_load(a1.gui);
call a1()
Dialog Boxes
You can create dialog boxes, that popup during interactive test execution .
It will prompt the user to perform an action such as typing in text or selecting an item from
the list
Types of Dialog boxes
Input Dialog boxes List Dialog boxes
Password Dialog boxes
Functions
Inbuilt functions
Insert Function- Object/ window
Function Generator- a visual tool that presents a quick and error-free way to program your
tests.
You can add TSL statements to your tests using the Function Generator in two ways:
o By pointing to a GUI object, or
o By choosing a function from a list.
KJSCE/IT/BE/SEMVII/STQA/2013-14
User defined functions are Compiled modules
A complied module is a script containing a library of user defined function
When you load a compiled modules in a script, its function are automatically compiled and
remain in memory.
Compiled modules can improve the performance of your tests
Since you debug the compiled module before using them, your test will require less error
checking
Regular expression enables Win Runner to identify objects with varying names and titles.
You can use regular expressions in TSL statements or in object descriptions in the GUI
map
3[0-] 3* *.*
KJSCE/IT/BE/SEMVII/STQA/2013-14
Exception Handling
Using exception handling, you can instruct Win Runner to deduct an unexpected event
when it occurs, and act to recover the test run
Types of Exceptions
Pop up exception TSL exception
Object exception
Break points
By setting a break point you can stop a test run at a specific place in the test script You can
set break points
Break at location Break in function
Appendix
GUI- Graphical User Interface
TSL- Test script Language
_________________________________________________________________________
Results: (Program printout with output / Document printout as per the format)
_________________________________________________________________________
Questions:
1.Compare and contrast QTP and Win Runner.
2.Which are the recording modes available in Win Runner.?
Outcomes:
1.An ability to use the techniques, skills, and modern engineering tools necessary for
engineering practice.(k)
2. An ability to adopt open source standards(l)
3. An understanding of best practices, standards and their applications. (m)
KJSCE/IT/BE/SEMVII/STQA/2013-14
________________________________________________________________________
Conclusion: (Conclusion to be based on the objectives and outcomes achieved)
Grade: AA / AB / BB / BC / CC / CD /DD
Signature of faculty in-charge with date
_________________________________________________________________________
References:
Books/ Journals/ Websites:
1.http://www.softwaretestinghelp.com/winrunner-automation-tool-preparation
2.http://www.kthmcollege.com/pdffiles/File-37.pdf2.