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 - 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 - 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.
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