Tuesday, December 15, 2015

Oracle Applications Testing Suite Oracle Flow Builder pre-loaded scripts , Starter Pack , Advanced Pack Details



Is Oracle Applications Testing Suite Comes with pre-loaded script ?

Oracle Applications Testing Suite has different modules:

  1. Oracle Functional testing ( OFT)
  2. Oracle Load Testing (OLT)
  3. Oracle Test Manager (OTM)

As on today's date,
If the customer purchases: Oracle Functional Testing Suite for Oracle Applications they are allowed to make use of the following pre-built scripts/testing assets:


Functional Testing Starter Pack for Oracle EBS

Test Starter Kits (TSK) - these are sample scripts for EBS, Siebel or JDE and built using OpenScript.
Flow Builder Starter pack - 3600 pre-built components and 200 flows for Oracle EBS 12.1.3 & 12.2

In addition customers can license , Advanced Pack

Functional Testing Advanced Pack for Oracle EBS

Advanced Pack gives additional 2000 components and 200 flows for EBS testing Functional Testing Advanced Pack for Utilities (available on utilities price list) Load Testing Advanced Pack for Utilities

Monday, December 14, 2015

Oracle Application Testing Suite Integration with Husdon


Oracle Application Testing Suite Integration with Husdon


For basic setup - run a script from Hudson UI, it should be configured like a job which runs a program.

Openscript command runScripts should be this program with particular arguments.

User running Hudson process should have the OpenScript correctly configured. So there are 2 steps:
1. Have the Hudson user running scripts from the console.
2. Run the script from the Hudson UI.

Unless you are done with step 1, there is no point in going to step 2.

There should be some guide describing how to set up a Hudson job which is running a program from console.

Oracle Application Testing Suite Integration with Jenkins


Oracle Application Testing Suite Integration with Jenkins

Using Jenkins, it is done by executing OpenScript command line tools, like osclti.bat (for compilation) and runScript.bat

OpenScript User's Guide describes how to run scripts from the command line


Oracle Application Testing Suite support for Microsoft Edge browser



Oracle Application Testing Suite support for Microsoft Edge browser


Support for Edge browser is not mentioned in release notes of 12.5.0.2. 

Below are the supported browsers list at the time of writing this post:


Supported browsers:
(Reference - Release notes of OATS 12.5.0.2)
Browser: Internet Explorer 8.x., 9.x, 10.x, 11.x; Firefox (ESR) 10.x, 17.x, 24.x, 31.x; Chrome 27 to 32 (playback only).

Oracle Application Testing Suite Java Keyboard Send Keys Navigation


Oracle Application Testing Suite

keyboard keys for navigate to nested tab


We can use Robot class to mimic keyboard events. May be below code can give some help.



            Robot r = new Robot();
            r.keyPress(KeyEvent.VK_C);        // C
            r.keyRelease(KeyEvent.VK_C);
           
            /*
            r.keyPress(KeyEvent.VK_COLON);    // : (colon)
            r.keyRelease(KeyEvent.VK_COLON);
           
            */
           
            r.keyPress(KeyEvent.VK_SHIFT);
            r.keyPress(KeyEvent.VK_SEMICOLON);
            r.keyRelease(KeyEvent.VK_SEMICOLON);
            r.keyRelease(KeyEvent.VK_SHIFT);
           
            r.keyPress(KeyEvent.VK_BACK_SLASH);    // / (slash)
            r.keyRelease(KeyEvent.VK_BACK_SLASH);
            r.keyPress(KeyEvent.VK_P);        // C
            r.keyRelease(KeyEvent.VK_P);
            r.keyPress(KeyEvent.VK_A);        // C
            r.keyRelease(KeyEvent.VK_A);
            r.keyPress(KeyEvent.VK_BACK_SLASH);        // C
            r.keyRelease(KeyEvent.VK_BACK_SLASH);
            r.keyPress(KeyEvent.VK_C);        // C
            r.keyRelease(KeyEvent.VK_C);
            r.keyPress(KeyEvent.VK_1);        // C
            r.keyRelease(KeyEvent.VK_1);
           
            r.keyPress(KeyEvent.VK_PERIOD);        // C
            r.keyRelease(KeyEvent.VK_PERIOD);
           
            r.keyPress(KeyEvent.VK_T);        // C
            r.keyRelease(KeyEvent.VK_T);
            r.keyPress(KeyEvent.VK_X);        // C
            r.keyRelease(KeyEvent.VK_X);
            r.keyPress(KeyEvent.VK_T);        // C
            r.keyRelease(KeyEvent.VK_T);
           
            // etc. for the whole file path
        r.delay(500);
       
       
        r.keyPress(KeyEvent.VK_TAB);    // confirm by pressing Enter in the end
            r.keyRelease(KeyEvent.VK_TAB);
            r.keyPress(KeyEvent.VK_ENTER);    // confirm by pressing Enter in the end

            r.keyRelease(KeyEvent.VK_ENTER);