Qtp testing

  • View
    937

  • Download
    1

Embed Size (px)

DESCRIPTION

 

Text of Qtp testing

  • 1. What is Test Automation?
    • It emulates user actions on the Application
    • Clicking on buttons, Selecting Menus
    • Navigating Screens, Changing Views
    • Adding Data, Extracting Data
  • It makes sure those tasks are repeated in the same order, again and again.
    • It provides speed and reliability to tedious and repetitive tasks.

For more QTP Scripts, www.ramupalanki.com 2. What Will Test Automation Do?

  • It will avoid errors Humans will make
    • Typographical Errors
    • Skipped/Missed Tests
    • It will record the results of the test accurately
  • It will establish a set of Reproducible Steps
  • Be useful for Compatibility Testing
    • Using the same build in various environments To ensure consistent system response

For more QTP Scripts, www.ramupalanki.com 3. What Will Test Automation Do?

  • Be useful for regression testing
    • Ensuring previously fixed defects do not reappear in later builds
  • Help ensure the stability of the application
    • By placing it under various loads
    • Checking for undocumented changes
  • Will save time and reduce effort during the test cycle

For more QTP Scripts, www.ramupalanki.com 4. Test Automation Will Not

  • Eliminate or Reduce Manual testers
    • Automation can not test for aesthetics
    • Can not design test cases
    • Validate the results
    • Replace the business knowledge
  • Be a substitute for:
    • Walkthroughs, inspections, adherence to coding standards, Project Management and etc.

For more QTP Scripts, www.ramupalanki.com 5. Test Automation Will Not

  • Find More bugs
    • Test Cases find the bugs
    • Automated Test Scripts are only as good as the test case they replicate
    • The process of automation adds nothing to the test case

For more QTP Scripts, www.ramupalanki.com 6. Keys to Successful Automation

  • What to automate must be clearly defined
    • What scripts to execute and when in the test cycle must be defined
    • The goals of the script must be clear
  • The automating of an existing manual script is no different than a programmer using a coding language to write programs for any other manual process must be recognized

For more QTP Scripts, www.ramupalanki.com 7. Keys to Successful Automation

  • Therefore test automation needs to be treated like any other development project
    • Define what to automate
    • Designing test automation
    • Writing the scripts
    • Testing the scripts
    • Maintaining the scripts
    • Using configuration management

For more QTP Scripts, www.ramupalanki.com 8. Keys to Successful Automation

  • When strategizing for test automation, plan to achieve small successes and grow
  • Understanding testing tools are dependent upon consistency in the test environment
  • Build reusable code
    • Write a function once that many scripts can use
    • Dont depend on Capture Play back
      • Creates a series of inflexible scripts dedicated to 1 specific task

For more QTP Scripts, www.ramupalanki.com 9. Useful Test Automation Features

  • Suite can execute Tests individually, or by groups
    • Run either a single test or batch a series of test together
  • Suite can execute unattended
  • Can be restarted from point of interruption
  • Can be paused, single stepped or resumed
  • Can be executed remotely

For more QTP Scripts, www.ramupalanki.com 10. Useful Test Automation Features

  • Dependencies between tests are specified
  • Tests cover specific functionality without covering more than necessary
    • Narrowly defined tests help to focus on specific failures
  • Tests can be executed on new version of product without major modifications
  • Test programs are reviewable

For more QTP Scripts, www.ramupalanki.com 11. Test Cases to be Automated

  • Tests that need to be run for every build
  • Test that use multiple data values
  • Tests that need to be executed with different browsers
  • Static Pages
  • Critical Pages

For more QTP Scripts, www.ramupalanki.com 12. Test Cases not to be Automated

  • One Time Testing
  • AD HOC Testing
  • ASAP Testing
  • Testing without predictable Results

For more QTP Scripts, www.ramupalanki.com 13. Steps in Automated Testing

  • Plan the Automated Test
  • Record the user Actions on Application
  • Running the Script
  • Analyzing the test Results
  • Reporting Defects

For more QTP Scripts, www.ramupalanki.com 14. QTP 8.0

  • QTP is an advanced version of win-runner tool.
  • Is an powerful functional testing tool.
  • QTP allows you to test on standard Web objects, Activex controls and visual basic controls.
  • Supports Window and Web based Application.

For more QTP Scripts, www.ramupalanki.com 15. QTP Basics

  • Analog Recording
  • Low - Level Recording
  • Short Keys
  • Record and Run Settings
  • Web and Windows based Recording

For more QTP Scripts, www.ramupalanki.com 16. QTP Test results

  • Analyze the test in Key word view
  • Analyze the test in Expert view
  • Analyze the Test Tree
  • Analyze the Test Results
  • Active Screen
  • Test Settings

For more QTP Scripts, www.ramupalanki.com