SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

Qtp Training
Qtp TrainingQtp Training
Qtp Training
mehramit
 
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programming
Kuldeep Sharma
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtp
Ramu Palanki
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtp
Ramu Palanki
 
HP Quick Test Professional
HP Quick Test ProfessionalHP Quick Test Professional
HP Quick Test Professional
Vitaliy 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
 

Mais procurados (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
 

Destaque

Data flowtesting doc
Data flowtesting docData flowtesting doc
Data flowtesting doc
vamshi batchu
 

Destaque (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
 

Semelhante a Testing

Getting started with_testcomplete
Getting started with_testcompleteGetting started with_testcomplete
Getting started with_testcomplete
ankit.das
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basics
mehramit
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena
 
QTP Tutorial
QTP TutorialQTP Tutorial
QTP Tutorial
pingkapil
 
Pro smartbooksquestions
Pro smartbooksquestionsPro smartbooksquestions
Pro smartbooksquestions
yoummr
 
Testing terms & definitions
Testing terms & definitionsTesting terms & definitions
Testing terms & definitions
Sachin MK
 

Semelhante a 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
 

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Último (20)

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 

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.