SlideShare une entreprise Scribd logo
1  sur  41
Mercury Interactive’s enterprise functional testing
tool.
Introduction

 Automates testing ( RECORD & PLAYBACK ).
Enables you to adapt and reuse your tests.
check the
            Testing Process behavior of the
                                               application
   Creating Tests:                           being tested,
                   • Recording (checkpoints )
                                            where u want to.
                           1. Context Sensitive Recording
                            1. Analog Recording
                      Programming
generates a test in a C-like Test Script Language (TSL).
  Running Tests:
                    Emulates a user by entering mouse and
                     keyboard input into your application.
                It compares the current response of your
                application to its expected response.
 1) Analyzing Test Results:
                  Lists all the major events that occurred during
                 the run, such as checkpoints, errors, or messag
Recording
I. Context Sensitive Recording…
         Identifies each GUI object you select
         (such as a window, a button, or an edit
      field)           an
      • The type of operation
                       d
      performed             (such as
      type, click, or select).
For example:
Programming
       To create an entire test.
                 or
       To add logic to your recorded test.
      Adding elements such as
           conditional statements,
           loops,        and
           arithmetic operators
     enables you to create a more powerful and complex test.
For example:
Checkpoints
You can add four types of checkpoints to your tests:

 1. GUI checkpoints:      Check information about GUI objects.
                           For example:
                                button is enabled or not
                                which item is selected in a list

1. Database checkpoints:
                     Check the data content in a database.


1. Text checkpoints:     Read text in GUI objects and in bitmaps
                         and enable you to check their contents.


1. Bitmap checkpoints: ompare a "snapshot" of a window or
                     C
                     an area in your application to an image
                     captured in an earlier version.
Data-Driven Tests
To check how your application performs the same operations
with different sets of data.
 Data table is created by …
        1. inserting variable values in a
            table       or
       • importing data from an external file
For example:
• Interprets your test line by line.
 provides three run modes:
     • Verify mode: to check your application
         •   Debug mode: to debug your test
     •       Update mode: to update the expected results
Reports:
        List the events that occurred during the test run,
        including errors and checkpoints.
    Test results are color coded and marked as passed or failed
Maintaining Tests
      Making sure you can reuse these tests ensures that your
Investment in creating tests will pay off as your application evolves.


   Tools to help you maintain your tests:
 A. GUI Map Editor: Enables you to quickly update how
                    WinRunner recognizes objects in your
                    application
 A. Function Generator:
                      Enables you to easily add TSL functions
                      and user defined functions to your tests.

 A. Debugging tools: Help you identify and eliminate problems
                                in your tests.
GUI Map Editor
When you record a test
WinRunner creates a GUI map.

A GUI map lists all the objects in your application
 that were learned by WinRunner.

The objects in the GUI map are organized
 according to the window in which they appear.

The GUI map lists the minimum set of
 properties that uniquely identify an object.

you can open your GUI map in the
 GUI Map Editor to add, delete, and modify
 object definitions.
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:
      by pointing to a GUI object.
      by choosing a function from a list.
Debugging Tools

If a test stops running because it encountered
an error in syntax or logic,
Tools can help you to identify and isolate the problem.
  • Step commands: a single line or a selected section of a te
                  Run
  A. Breakpoints:Pause a test run at pre-determined points,
                      enabling you to identify flaws in your
                      test.
   A. Watch List: monitors variables, expressions and array
                  elements in your test. During a test run, you
                  can view the values at each break in the
                  test run such as
                          after a Step command,
                          at a breakpoint, or
                          at the end of a test
Supported Environments
 Support for testing applications developed with
          PowerBuilder
          Visual Basic
          ActiveX
          MFC
also provides testing solutions for other leading application
development and deployment environments such as the
          We
          bav
          J
          a
       Enterprise Resource Planning (ERP) applications
         Wireless Application Protocol (WAP),
          Oracle
          Delphi
          Siebel
Benefits of Automated Testing

Manual testing is
2.   time-consuming and tedious,
3.   requiring a heavy investment in human resources.
4.   Worst of all, time constraints often make it impossible
     to manually test every feature thoroughly
Automated testing (with WinRunner answers these problems.)
     speeds 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 input—but
WinRunner does this faster than any human user.
Benefits of Automated Testing


Fast              WinRunner runs tests significantly faster than human
                  users.
Reliable          Tests perform precisely the same operations each time
                  they are run, thereby eliminating human error.
Repeatable        You can test how the software reacts under repeated
                  execution of the same operations.
Programmable      You can program sophisticated tests that bring out
                  hidden information from the application.
Comprehensive     You can build a suite of tests that covers every feature
                  in your application.
Reusable          You can reuse tests on different versions of an
                  application, even if the user interface changes.
The WinRunner Testing Process
how to start WinRunner
Record/Run Engine icon appears in the status area of the
Windows taskbar.

This engine establishes and maintains the connection between
WinRunner and the application being tested.
Exploring the WinRunner
The Main WinRunner Window
The Test Window
Standard Toolbar
User Toolbar
Create the GUI Map
add descriptions of individual objects to the GUI map by
     clicking objects while recording a test , programming, or
     a combination of both.

How Does WinRunner Identify GUI Objects?
    Spying on GUI Objects
    RapidTest Script Wizard
    The User Interface test determines whether the application
    complies with the Microsoft user interface standards.
    It checks that:
          GUI objects do not overlap
          GUI objects are aligned in windows
          text labels on GUI objects begin with capital letters
          text labels on GUI objects are clearly visible
          OK and Cancel buttons appear in every window
          a system menu is available in every window
WinRunner Testing Modes

    Context Sensitive                          Analog


Context Sensitive mode records your actions on the application
being tested in terms of the GUI objects you select , while
ignoring the physical location of the object on the screen.



Every time you perform an operation on the application being
tested, a TSL statement describing the object selected and the
action performed is generated in the test script.
To run a test, you simply play back the test script.
It can locate objects in a window even if their placement has
changed.
Analog mode records mouse clicks, keyboard input, and the exact
x- and y-coordinates traveled by the mouse.

 Use Analog mode when exact mouse coordinates are
 important to your test, such as when testing a drawing application.

When choosing a record mode, consider the following points:

        Choose Context Sensitive if...                    Choose Analog if...

The application contains GUI objects.            The application contains bitmap
                                                 areas (such as a drawing area).
Exact mouse movements are not required.          Exact mouse movements are
                                                 required.
You plan to reuse the test in different
versions of the application.

Note:
         If you are testing an application that contains both GUI objects and
         bitmap areas, you can switch between modes as you record.
Testing
Testing
Testing
Testing
Testing
Testing
Testing

Contenu connexe

Tendances

Qtp Training
Qtp TrainingQtp Training
Qtp Trainingmehramit
 
Qtp 92 Tutorial
Qtp 92 TutorialQtp 92 Tutorial
Qtp 92 Tutorialsasidhar
 
Functional UI testing of Adobe Flex RIA
Functional UI testing of Adobe Flex RIAFunctional UI testing of Adobe Flex RIA
Functional UI testing of Adobe Flex RIAViktor Gamov
 
QTP Power Point Presentation
QTP Power Point PresentationQTP Power Point Presentation
QTP Power Point PresentationSVRTechnologies
 
First QTP Tutorial
First QTP TutorialFirst QTP Tutorial
First QTP Tutorialtjdhans
 
QTP Slides Presentation.
QTP Slides Presentation.QTP Slides Presentation.
QTP Slides Presentation.tjdhans
 
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programmingKuldeep Sharma
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answersRamu Palanki
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtpRamu Palanki
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtpRamu Palanki
 
HP Quick Test Professional
HP Quick Test ProfessionalHP Quick Test Professional
HP Quick Test ProfessionalVitaliy Ganzha
 
What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.Confiz
 
Automation Testing with TestComplete
Automation Testing with TestCompleteAutomation Testing with TestComplete
Automation Testing with TestCompleteRomSoft SRL
 

Tendances (18)

Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Qtp 92 Tutorial
Qtp 92 TutorialQtp 92 Tutorial
Qtp 92 Tutorial
 
Functional UI testing of Adobe Flex RIA
Functional UI testing of Adobe Flex RIAFunctional UI testing of Adobe Flex RIA
Functional UI testing of Adobe Flex RIA
 
QTP Power Point Presentation
QTP Power Point PresentationQTP Power Point Presentation
QTP Power Point Presentation
 
Ppt Qtp
Ppt QtpPpt Qtp
Ppt Qtp
 
Qtp basics
Qtp basicsQtp basics
Qtp basics
 
First QTP Tutorial
First QTP TutorialFirst QTP Tutorial
First QTP Tutorial
 
QTP Slides Presentation.
QTP Slides Presentation.QTP Slides Presentation.
QTP Slides Presentation.
 
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programming
 
Qtp
QtpQtp
Qtp
 
Qtp training
Qtp trainingQtp training
Qtp training
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtp
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtp
 
HP Quick Test Professional
HP Quick Test ProfessionalHP Quick Test Professional
HP Quick Test Professional
 
What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.
 
Automation Testing with TestComplete
Automation Testing with TestCompleteAutomation Testing with TestComplete
Automation Testing with TestComplete
 
Qtp day 1
Qtp day 1Qtp day 1
Qtp day 1
 

En vedette

The Battle Of The Jarama
The Battle Of The JaramaThe Battle Of The Jarama
The Battle Of The Jaramarbaxell
 
Data flowtesting doc
Data flowtesting docData flowtesting doc
Data flowtesting docvamshi batchu
 
Unit testing after Zend Framework 1.8
Unit testing after Zend Framework 1.8Unit testing after Zend Framework 1.8
Unit testing after Zend Framework 1.8Michelangelo van Dam
 
Unit 3 Control Flow Testing
Unit 3   Control Flow TestingUnit 3   Control Flow Testing
Unit 3 Control Flow Testingravikhimani
 
Normalization in Database
Normalization in DatabaseNormalization in Database
Normalization in DatabaseRoshni Singh
 
Basis path testing
Basis path testingBasis path testing
Basis path testingHoa Le
 
Software Testing Techniques
Software Testing TechniquesSoftware Testing Techniques
Software Testing TechniquesKiran Kumar
 
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NFDatabase Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NFOum Saokosal
 

En vedette (20)

The Battle Of The Jarama
The Battle Of The JaramaThe Battle Of The Jarama
The Battle Of The Jarama
 
C++ material
C++ materialC++ material
C++ material
 
software testing
software testingsoftware testing
software testing
 
Data flowtesting doc
Data flowtesting docData flowtesting doc
Data flowtesting doc
 
Transactionflow
TransactionflowTransactionflow
Transactionflow
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
 
Unit testing after Zend Framework 1.8
Unit testing after Zend Framework 1.8Unit testing after Zend Framework 1.8
Unit testing after Zend Framework 1.8
 
Path testing
Path testingPath testing
Path testing
 
Path testing
Path testingPath testing
Path testing
 
Taxonomy for bugs
Taxonomy for bugsTaxonomy for bugs
Taxonomy for bugs
 
Unit 3 Control Flow Testing
Unit 3   Control Flow TestingUnit 3   Control Flow Testing
Unit 3 Control Flow Testing
 
Bug taxonomy
Bug taxonomyBug taxonomy
Bug taxonomy
 
Normalization in Database
Normalization in DatabaseNormalization in Database
Normalization in Database
 
Path Testing
Path TestingPath Testing
Path Testing
 
Basis path testing
Basis path testingBasis path testing
Basis path testing
 
Software Testing Techniques
Software Testing TechniquesSoftware Testing Techniques
Software Testing Techniques
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
DBMS - Normalization
DBMS - NormalizationDBMS - Normalization
DBMS - Normalization
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NFDatabase Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
 

Similaire à Testing

Getting started with_testcomplete
Getting started with_testcompleteGetting started with_testcomplete
Getting started with_testcompleteankit.das
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answersRamu Palanki
 
Testing project (basic)
Testing project (basic)Testing project (basic)
Testing project (basic)Lokesh Singrol
 
Getting started with test complete 7
Getting started with test complete 7Getting started with test complete 7
Getting started with test complete 7Hoamuoigio Hoa
 
Automation testing
Automation testingAutomation testing
Automation testingArta Doci
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basicsmehramit
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test CompleteVartika Saxena
 
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)Lokesh Singrol
 
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosUnit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosFlutter Agency
 
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...Riccardo Coppola
 
Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0DivyaR219113
 
QTP Tutorial
QTP TutorialQTP Tutorial
QTP Tutorialpingkapil
 
Testing tools in visual studio
Testing tools in visual studioTesting tools in visual studio
Testing tools in visual studioMahdi Esmailoghli
 
Pro smartbooksquestions
Pro smartbooksquestionsPro smartbooksquestions
Pro smartbooksquestionsyoummr
 
Testing terms & definitions
Testing terms & definitionsTesting terms & definitions
Testing terms & definitionsSachin MK
 

Similaire à Testing (20)

Test Complete
Test CompleteTest Complete
Test Complete
 
Getting started with_testcomplete
Getting started with_testcompleteGetting started with_testcomplete
Getting started with_testcomplete
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
 
Testing project (basic)
Testing project (basic)Testing project (basic)
Testing project (basic)
 
Getting started with test complete 7
Getting started with test complete 7Getting started with test complete 7
Getting started with test complete 7
 
QTP Online Training
QTP Online TrainingQTP Online Training
QTP Online Training
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basics
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)
 
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosUnit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
 
Coded ui test
Coded ui testCoded ui test
Coded ui test
 
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
 
Rft courseware
Rft coursewareRft courseware
Rft courseware
 
Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0
 
QTP Tutorial
QTP TutorialQTP Tutorial
QTP Tutorial
 
Testing tools in visual studio
Testing tools in visual studioTesting tools in visual studio
Testing tools in visual studio
 
SE2011_10.ppt
SE2011_10.pptSE2011_10.ppt
SE2011_10.ppt
 
Pro smartbooksquestions
Pro smartbooksquestionsPro smartbooksquestions
Pro smartbooksquestions
 
Testing terms & definitions
Testing terms & definitionsTesting terms & definitions
Testing terms & definitions
 

Dernier

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 

Dernier (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 

Testing

  • 1. Mercury Interactive’s enterprise functional testing tool.
  • 2. Introduction Automates testing ( RECORD & PLAYBACK ). Enables you to adapt and reuse your tests.
  • 3. check the Testing Process behavior of the application  Creating Tests: being tested, • Recording (checkpoints ) where u want to. 1. Context Sensitive Recording 1. Analog Recording Programming generates a test in a C-like Test Script Language (TSL).  Running Tests: Emulates a user by entering mouse and keyboard input into your application. It compares the current response of your application to its expected response. 1) Analyzing Test Results: Lists all the major events that occurred during the run, such as checkpoints, errors, or messag
  • 4.
  • 5. Recording I. Context Sensitive Recording… Identifies each GUI object you select (such as a window, a button, or an edit field) an • The type of operation d performed (such as type, click, or select). For example:
  • 6. Programming To create an entire test. or To add logic to your recorded test. Adding elements such as conditional statements, loops, and arithmetic operators enables you to create a more powerful and complex test. For example:
  • 7. Checkpoints You can add four types of checkpoints to your tests: 1. GUI checkpoints: Check information about GUI objects. For example: button is enabled or not which item is selected in a list 1. Database checkpoints: Check the data content in a database. 1. Text checkpoints: Read text in GUI objects and in bitmaps and enable you to check their contents. 1. Bitmap checkpoints: ompare a "snapshot" of a window or C an area in your application to an image captured in an earlier version.
  • 8. Data-Driven Tests To check how your application performs the same operations with different sets of data. Data table is created by … 1. inserting variable values in a table or • importing data from an external file For example:
  • 9.
  • 10.
  • 11. • Interprets your test line by line. provides three run modes: • Verify mode: to check your application • Debug mode: to debug your test • Update mode: to update the expected results
  • 12.
  • 13. Reports: List the events that occurred during the test run, including errors and checkpoints. Test results are color coded and marked as passed or failed
  • 14. Maintaining Tests Making sure you can reuse these tests ensures that your Investment in creating tests will pay off as your application evolves. Tools to help you maintain your tests: A. GUI Map Editor: Enables you to quickly update how WinRunner recognizes objects in your application A. Function Generator: Enables you to easily add TSL functions and user defined functions to your tests. A. Debugging tools: Help you identify and eliminate problems in your tests.
  • 15. GUI Map Editor When you record a test WinRunner creates a GUI map. A GUI map lists all the objects in your application that were learned by WinRunner. The objects in the GUI map are organized according to the window in which they appear. The GUI map lists the minimum set of properties that uniquely identify an object. you can open your GUI map in the GUI Map Editor to add, delete, and modify object definitions.
  • 16. 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:  by pointing to a GUI object.  by choosing a function from a list.
  • 17. Debugging Tools If a test stops running because it encountered an error in syntax or logic, Tools can help you to identify and isolate the problem. • Step commands: a single line or a selected section of a te Run A. Breakpoints:Pause a test run at pre-determined points, enabling you to identify flaws in your test. A. Watch List: monitors variables, expressions and array elements in your test. During a test run, you can view the values at each break in the test run such as after a Step command, at a breakpoint, or at the end of a test
  • 18. Supported Environments Support for testing applications developed with PowerBuilder Visual Basic ActiveX MFC also provides testing solutions for other leading application development and deployment environments such as the We bav J a Enterprise Resource Planning (ERP) applications Wireless Application Protocol (WAP), Oracle Delphi Siebel
  • 19.
  • 20. Benefits of Automated Testing Manual testing is 2. time-consuming and tedious, 3. requiring a heavy investment in human resources. 4. Worst of all, time constraints often make it impossible to manually test every feature thoroughly Automated testing (with WinRunner answers these problems.) speeds 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 input—but WinRunner does this faster than any human user.
  • 21. Benefits of Automated Testing Fast WinRunner runs tests significantly faster than human users. Reliable Tests perform precisely the same operations each time they are run, thereby eliminating human error. Repeatable You can test how the software reacts under repeated execution of the same operations. Programmable You can program sophisticated tests that bring out hidden information from the application. Comprehensive You can build a suite of tests that covers every feature in your application. Reusable You can reuse tests on different versions of an application, even if the user interface changes.
  • 23. how to start WinRunner
  • 24. Record/Run Engine icon appears in the status area of the Windows taskbar. This engine establishes and maintains the connection between WinRunner and the application being tested.
  • 25.
  • 32. add descriptions of individual objects to the GUI map by clicking objects while recording a test , programming, or a combination of both. How Does WinRunner Identify GUI Objects? Spying on GUI Objects RapidTest Script Wizard The User Interface test determines whether the application complies with the Microsoft user interface standards. It checks that: GUI objects do not overlap GUI objects are aligned in windows text labels on GUI objects begin with capital letters text labels on GUI objects are clearly visible OK and Cancel buttons appear in every window a system menu is available in every window
  • 33. WinRunner Testing Modes Context Sensitive Analog Context Sensitive mode records your actions on the application being tested in terms of the GUI objects you select , while ignoring the physical location of the object on the screen. Every time you perform an operation on the application being tested, a TSL statement describing the object selected and the action performed is generated in the test script. To run a test, you simply play back the test script. It can locate objects in a window even if their placement has changed.
  • 34. Analog mode records mouse clicks, keyboard input, and the exact x- and y-coordinates traveled by the mouse. Use Analog mode when exact mouse coordinates are important to your test, such as when testing a drawing application. When choosing a record mode, consider the following points: Choose Context Sensitive if... Choose Analog if... The application contains GUI objects. The application contains bitmap areas (such as a drawing area). Exact mouse movements are not required. Exact mouse movements are required. You plan to reuse the test in different versions of the application. Note: If you are testing an application that contains both GUI objects and bitmap areas, you can switch between modes as you record.