• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Less08 2 e_testermodule_7
 

Less08 2 e_testermodule_7

on

  • 482 views

This is part of R12 Testing Suite for Oracle Applications or E-Business suite.

This is part of R12 Testing Suite for Oracle Applications or E-Business suite.

Statistics

Views

Total Views
482
Views on SlideShare
480
Embed Views
2

Actions

Likes
0
Downloads
15
Comments
0

1 Embed 2

http://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 - Insert Text Matching Text Be sure the page you want to test is the current page in the browser pane. Highlight the text (in the browser) that you want to match using the mouse. You can enter any text to compare in the selected text box, including references to variable names that get values from a data bank file. See the e-Tester user guide for information about using the text matching test case to verify data-driven tests.
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 - Instructor Note Enter a test case name and Select the Pass When option. Click OK. To add Text Matching test cases to the library click the Add Test to Library button. Use the Select from Test Library button to select a Text Matching test already existing in the test library.
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 - Instructor Note Enter a name for the Server Response test in the Name field. Check the Start test on this page check box if you want to start the Server Response test on the current page. Check the End test on this page check box if you want to end the Server Response test on the current page. Enter the minimum and maximum amount of time allowed for playback. Click OK.
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 - Insert Form Element Test Select a page of the visual script that contains a form node, expand the node and select one of the form elements.
  • Oracle Application Testing Suite: Introduction 8 -
  • Oracle Application Testing Suite: Introduction 8 - Instructor Note View the test case added to the Visual Script
  • Oracle Application Testing Suite: Introduction 8 -

Less08 2 e_testermodule_7 Less08 2 e_testermodule_7 Presentation Transcript

  • Inserting Specific “Tests” Introduction to Oracle Application Testing Suite: e-Tester
  • Test Cases
    • e-Tester provides a variety of test cases that can be inserted into a script.
      • Text Matching: Searches for the presence or absence of the specified text on a page.
      • Server Response: Measures the page download time for one or more pages in a script, and tests it against the specified thresholds.
      • Form Element: Compares the attributes and values of a form element to those specified.
  • Text Introduction to Oracle Application Testing Suite: e-Tester
  • Text Matching Test
    • Text Matching Tests can be used to:
      • Verify that static text is contained in the returned page.
      • Verify that the results returned from a data-driven form submission are accurate.
      • Verify that values from a data file are contained in the returned page. The values would be referenced using a data bank variable name (<<variable>>).
  • Insert Text Matching Test
    • Load the page to test in the browser pane.
    • Highlight the text to search for on the page.
    • Select “Test/Insert Text Matching Test”
  • Insert Text Matching Test
    • Insert a text matching test by:
      • Right-click a page node and select Insert Text Matching Test…
      • Click on the “Insert Text Matching
      • Test” toolbar icon
      • Select “Tests/Insert Text Matching Test”
  • Insert Text Matching Test
    • Enter a name for the text matching test.
    • Specify when to pass the test:
      • Selected text is present
      • Selected text is absent
    • If you did not select text in the browser, specify the text to verify in the “Selected Text” field.
  • Insert Text Matching Test
    • After the Text Matching Test has been inserted:
      • A new Tests node will be added to the Visual Script.
      • The HTML default test will be ignored automatically.
    • Multiple Text Matching Tests can be inserted on a page.
  • Exercise 1
    • Add a Text Matching Test to the results page of the “Research a Company” script.
    • Verify that the search does not return “0 matches found.”
  • Data Driven Text Matching Test
    • Text Matching Tests can receive variables as test criteria in the “Selected Text” field.
    • Data driven text matching tests are useful for verifying return values from a form submission.
  • Using the Databank to Text Match
    • Using variable in the “Selected Text” field of a text matching test requires the following syntax:
    • <<VariableName>>
  • Data Driven Text Matching - Example
    • A Research a Company script uses a Data Bank to search using a ticker symbol.
    • The search returns a list of results that include the ticker symbol and the company name.
    • The data driven text matching test can be used to verify that the correct company is listed in the results after a data driven search.
  • Exercise 2
    • Open the Research Script.
    • Create databank to test results for users ta1 thru ta5
    • Insert a text matching test to check that the company is Oracle Corporation
  • Server response test Introduction to Oracle Application Testing Suite: e-Tester
  • Server Response Test
    • Server Response tests can be use to:
      • Measure the time needed for a web server to return the page requested by the browser.
      • Measure the total response time for a section of a transaction, spanning multiple pages.
      • Verify corporate standards and/or architectural milestones
      • Justify hardware and software upgrades, based on expected performance.
  • Insert Server Response Test
    • Select a page and insert a text matching test by:
      • Right-clicking a page node and selecting Insert Server Response Test…
      • Clicking on the Insert Server
      • Response Test toolbar icon
      • Selecting Tests/Insert Server Response Test…
  • Insert Server Response Test
    • Enter a name for the server response test.
    • Specify the minimum amount of time allowed for page download.
    • Specify the maximum amount of time allowed for page download.
      • e-Tester automatically selects a default maximum Time that doubles the recorded download time.
  • Multiple Page Server Response Test
    • To insert a server response test that spans multiple pages:
      • Insert two server response tests:
        • One on the page that the test should start on. Uncheck “End test on this page.”
        • One on the page that the test should end on. Uncheck “Begin test on this page,” and specify the minimum/maximum page download times for the spanned pages.
      • Name both tests with the same name. (it is not case sensitive.
  • Minimum Time Allowed For Playback
    • The minimum time allowed for playback is useful when a transaction references an external system that requires a certain amount of time to execute.
    • Example: If the external system requires 5 seconds to complete the transaction, and the page is returned in only 1 second, there could be a communication problem between the web application and the external system.
  • Maximum Time Allowed For Playback
    • The maximum time allowed for playback is useful when verifying that a page or transaction is returned within the amount of time that a user is willing to wait, or that is specified by a company’s business rules.
    • Example: Most internet users have an attention span of approximately 7 seconds for publicly hosted web pages. If the pages take more than 7 seconds to return, the user may try to find an alternative site.
  • Exercise 3
    • Add a Server Response test to verify that the results page (from the “buyStock” script), is returned within 5 seconds.
    • Add a text matching test to check for the text “Your order has been placed” after the purchase step.
    • Add a text matching test to check that the text “Database Unavailable” does not show up on the login page of the buyStock.
  • Form Element Test Introduction to Oracle Application Testing Suite: e-Tester
  • Insert Form Element Test
    • Insert a Form Element test by any one of the following:
      • Right-click on a form element and select “Insert Form Element Test.”
      • Click on the “Insert Form Element” toolbar icon.
      • Select “Tests/Insert Form Element Test…”
  • Insert Form Element Test
    • Enter a name for the Form Element Test
    • Select the Property to execute the test against
    • Select the Test Criteria
    • Enter an expression to compare the form element against (if applicable)
  • Insert Form Element Test
    • After the form element test has been inserted:
      • A new node is added below the form element under test.
  • Review 7
    • Can you insert multiple Text Matching tests on each page?
    • When does it make sense to substitute a text matching test for the default HTML comparison test on a page?
    • If a server response test is not used, how can you tell how long it took for a page to download?
    • What types of pages would it make sense to insert a server response test on?
    • What is the appropriate value for the maximum response time of a server response test?
    • What is a reason to specify the minimum response time?