Oracle Application Testing Suite: Introduction 7 - Auto Map Click the Auto Map button to generate Variables for every Parameter and automatically Map each of these Variables to the Corresponding Parameter
Oracle Application Testing Suite: Introduction 7 - Auto Bind Click the Auto Bind button to generate Data Bank Fields for each Variable and Bind them respectively
It is important to understand when to databank an input parameter. You may have a registration form with 15 fields that you think all need to get values from a databank, however the application may require that only the email field is unique. Even though the registration data will not be unique for each iteration (except the email), the load and results from the back end will be the same as if the data had been varied, since the same resources are required to do a database write regardless of the actual data submitted in this case.
Oracle Application Testing Suite: Introduction 7 - Synthesize To generate synthesized data: 1. Select “Edit > Data Bank Wizard” or click the toolbar button. 2. Click the “Data Binding” tab. 3. Click “Synthesize.” 4. Enter a field name in the “Name” field. 5. Specify a data pattern in the “Pattern” field. 6. Specify the “Algorithm”, “Direction”, “Fill”, and “Case” options 7. Specify the Min, Max, and Step values. 8. Click Insert to add another column to the data bank. The column number increments and the name and pattern values will clear out. 9. Repeat steps 4-7 to define data generation for the next column of Data Bank data. 10. Repeat steps 8-9 for each column of data to add to the Data Bank file. 11. Specify a file name in which to save the data. 12. Click “Sample” to generate a representative sample of the synthesized data. The sample data bank file opens in Windows Notepad. 13. Use the “Column Number” arrow buttons to switch between and edit column pattern definition settings. 14. Specify the number of data rows to generate in the “Rows” field. 15. Click OK to generate the data bank file.
Oracle Application Testing Suite: Introduction 7 - Synthesize Algorithm: Specifies the algorithm to use to generate the data. The following options are available: Random - generates random data values. Sequential - generates sequential data values. Direction: Specifies the data direction. The following options are available: Forward - generates data in ascending order. Reverse - generates data in descending order. Fill: Specifies if leading zeros are used to fill all positions in multi-digit numbers. The following options are available: True - insert leading zeros to maintain digit length. False - do not insert leading zeros. Column Number: Changes the data bank column. Use the “Insert”, and “Remove” buttons to add and remove columns in the data bank file. Case: Specifies the case of generated text characters. The following options are available: Lower - generates lower case letters. Upper - generates upper case letters Both - generates mixed case letters.
Oracle Application Testing Suite: Introduction 7 - Synthesize (continued) Min: Specifies the minimum value for generated values. Max: Specifies the maximum value for generated values. Step: Specifies the increment amount to use between generated data values. Insert: Inserts a new column into the data bank file. Remove: Remove the current column from the data bank file. Clear: Clears the current pattern definition values.
Oracle Application Testing Suite: Introduction 7 - Synthesize General Properties: Specifies the number of data rows and the name of the Data Bank file. Rows: Specifies the number of data value rows to generate. File Name: Specifies the name of the Data Bank file in which to save the generated data. Sample: Generates a sample set of data based upon the current pattern definition settings and values.
Oracle Application Testing Suite: Introduction 7 - Review BONUS: If your script continues past the page which follows a form submission, how could attaching a databank file cause the following navigations to break?
Oracle Application Testing Suite: Introduction 7 - Modify The Action Modifying the action is only a viable solution if the change to the navigation is permanent. If you are using a data bank with multiple values, this solution will not work.
Oracle Application Testing Suite: Introduction 7 - Modify Location Criteria Note: This solution only works if the following are true: The object attribute is changing The object position never changes The subsequent navigations remain intact
Advanced Data banking Introduction to Oracle Application Testing Suite
Compare the failure to the content differences found to see if they match.
In the example above, the recorded html (blue) contained the link “TER” and the tested html (red) contained the link “MSFT.” The summary column shows that the navigation failed because the “TER” link was not found.