Less04 2 e_testermodule_3
Upcoming SlideShare
Loading in...5
×
 

Less04 2 e_testermodule_3

on

  • 755 views

 

Statistics

Views

Total Views
755
Slideshare-icon Views on SlideShare
751
Embed Views
4

Actions

Likes
0
Downloads
14
Comments
0

1 Embed 4

http://www.linkedin.com 4

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 4 -
  • Oracle Application Testing Suite: Introduction 4 -
  • Oracle Application Testing Suite: Introduction 4 - “Sub Notes” of the Frame Node In order to access this screen, right click on a specific Image node and select Properties from the pop up menu.
  • Oracle Application Testing Suite: Introduction 4 -
  • Oracle Application Testing Suite: Introduction 4 - Navigating to a Page in the Application Right click on any page in the visual script and select “Goto Page” to load the page into the browser pane. “Goto Page” is the same as putting the page’s url in the address field, therefore you may not be able to access pages before logging in if it is required. Caveat – what if dynamic html is present? Try to access Page 3 of your script and observe what happens.
  • Oracle Application Testing Suite: Introduction 4 - Edit The Visual Script It is possible to append a script by cutting & pasting pages. Select the page to be cut, right click on it and select “Cut” or “Copy.” To paste a page, select the page preceding where you would like the new page to be inserted and select “Paste.” The new page will be inserted after the page you had selected.
  • Oracle Application Testing Suite: Introduction 4 -
  • Oracle Application Testing Suite: Introduction 4 - Appending Pages To append a page to the Visual Script: 1. Load the page to append into the Browser pane. 2. Select Run > Record > Current Page or click the toolbar button. Note: The new page is appended to the end of the Visual Script.
  • Oracle Application Testing Suite: Introduction 4 - Copy, Cut, Paste, or Delete a Page To copy a page in the Visual Script: 1. Select the page node to copy in the Visual Script 2. Click the right mouse button and select one of the following from the popup menu: Copy Page Cut Page Paste Page Delete Page
  • Oracle Application Testing Suite: Introduction 4 - Script Comments To add script comments: 1. Record a Visual Script. 2. Select Edit > Script Comments. 3. Enter any text to document Visual Script modifications. Note: Use Shift-Enter to create a new line. 4. Select OK or press Enter to close the Script Comments window. e-Tester automatically adds a date and time stamp each time you save the Visual Script. The comment appears as a node in the Visual Script.
  • Oracle Application Testing Suite: Introduction 4 -
  • Oracle Application Testing Suite: Introduction 4 - Add Page Comments To add a comment line for a specific page of a Visual Script: 1. Record a Visual Script 2. Select the top-level node of the page where you want to add a comment. 3. Click the right mouse button and select Add Page Comment. The comments dialog box opens. 4. Enter any text to document Visual Script page modifications. Note: Press Enter to create a new line. 5. Select OK. The comment appears as a single line in the Visual Script node. Page comments can be useful to store information about special tests that have been inserted on that page.
  • Oracle Application Testing Suite: Introduction 4 -
  • Oracle Application Testing Suite: Introduction 4 -
  • Oracle Application Testing Suite: Introduction 4 -
  • Oracle Application Testing Suite: Introduction 4 -

Less04 2 e_testermodule_3 Less04 2 e_testermodule_3 Presentation Transcript

  • The Frame Node Introduction to Oracle Application Testing Suite: e-Tester
  • Frame Node
      • Images
      • Image Maps
      • Anchors
      • Applets
      • Active X
    Page content is placed into object collections or “sub-nodes”:
      • HTML
      • Scripts
      • Links
      • Frames
      • Forms
  • Frame Sub-Nodes HTML Node Images Collection Scripts Collection Links Collection
  • “Sub Nodes” of the Frame Node
    • All Sub Nodes of the frames node show node specific properties
    • All show what tests are executed and what the evaluation criteria are
    • The example used here is for images which execute two separate types of tests. The execute a Default Content Comparison test as well as a Validation Test
  • Sub Nodes
    • For images and links, the default content comparison test validates that the object is referenced at the same point within the HTML document as it was originally recorded.
    • An additional test may be performed on images and links called resource validation. This submits requests and receives a server response with an HTTP status code for all images and links recorded in the script. The test is launched by selecting “Tests/Run Resource Validation…/Start.”
    • Other Sub Nodes such as HTML or scripts, may contain specific relevant comparison tests.
  • Manipulating the script’s pages Introduction to Oracle Application Testing Suite: e-Tester
  • Navigating to a Page in the Application
    • To navigate to a page:
      • Right click any page and select “Goto Page” to navigate to it in the browser pane
      • Drag and drop the page node onto the browser pane
    • Navigation may require session data, therefore previous pages may need to be played back first.
  • Edit The Visual Script
    • The Visual Script page hierarchy can be modified to:
      • Append pages
      • Copy pages
      • Cut pages
      • Paste pages
      • Delete pages
      • Add comments
  • Edit The Visual Script
    • Be careful when appending, copying, cutting or deleting pages in the middle of a script. Make sure that the recorded actions remain valid. Can I get there from here?
    • Note: Remember that each action is based on the previous page!
  • Appending Pages
    • Append pages to the end of the script by:
      • Clicking on the Record Script toolbar icon, to record multiple pages
      • Clicking on the Append Current Page to Script toolbar icon
      • Selecting Run/Record/Current Page
  • Copy, Cut, Paste, or Delete a Page
    • Copy, Cut, Paste, or Delete pages:
      • Highlight the page to be copied from the visual script
      • Right-click and select one of the following:
        • Copy Page
        • Cut Page
        • Paste Page
        • Delete Page
  • Script Comments
    • Add script comments:
      • Right-click on the script node, and select “Script Comments”
      • Selecting “Edit/Script Comments…”
  • Script Comments
    • Script comments are useful for stating testing goals, or requirements the script tests.
    • e-Tester automatically writes the save date and version to the script comments each time the script is saved.
  • Add Page Comments
    • To add page comments:
      • Highlight the page you wish to to add the comment to
      • Right-click the page, and selecting “Add Page Comment”
  • Add Page Comments
    • Page comments are useful for storing information about custom test cases, or navigational data.
  • Exercise
      • Create new Script:
        • http://localhost/fmstocks
        • Login: ta1 password: ta
        • Click “Buy a Stock”
        • Ticker: orcl; shares: 1, click “Purchase”
        • Click “Click here to view your portfolio”
        • Logout
        • Save the script as buyStock
      • Copy page 2 and paste it after the last page of the script
      • Playback the script
    • What happened?
      • Delete the page that was pasted
      • Do not save the script
  • Review 3
    • Where can you find the fully qualified URL for page 1?
    • Where can you find the think time between page 1 and 2?
    • Was any user-input form data submitted during this transaction? How can you tell from analyzing the visual script?
    • Do any of the pages contain JavaScript or VBScript functions? What node indicates that?
    • Does the application make use of cookies? What node would indicate that?
  • Review 3
    • Where can you you find the actions, that e-Tester builds, to navigate to page 3?
    • If the URL for page 3 is dynamic, will e-Tester be able to playback the script?
    • If you delete page 2, will the script playback? Why or why not?
    • If you have the same application residing on a different server, how can you change the script to play against the other application?
    • If a page is made up of multiple frames, how many HTML nodes be displayed for that page (in the visual script?)