In this article you will learn simple steps to get started with your first script in OFT – OATS ( Oracle Application Testing Suite ) using its OpenScript IDE.
Once you know to create a script using OpenScript, you can start looking at recording script for getting started with functional automation testing.
- Launch OpenScript IDE clicking on the icon.
- Once the IDE is open, click on File Menu > New option or click on icon in the tool bar.
- You will be presented with a “New Project” Window.
- In the above window, you can choose to create a script for Functional Testing / Load Testing, to the context of the current article, you need to chose any from the List of Functional Testing types of project.
- Select web for an example and click Next
- You will now be presented with “New Web Functional Test Script” window to provide the location, where you want to store the script.
- For now expand My Repositories and select “Default” repository.
- Give a sample script name as “HelloWorld” and click “Finish” button.
- Once the work bench ready with the script creation, click on java code view and give following statement in the run method.
1info("Hello World! This is my First Program ");
- Now you are ready to execute the script, click on play back () button to execute the script.
On completion of script execution, you can see the results in results view OpenScript IDE and is as follows:
Founder of TestingTools.co, constantly shares knowledge on different test automation tools. Has experience in building proof of concepts, solutions, frameworks, platforms & implementation of test automation projects.
In pursuit of building a platform with inbuilt framework and reusable components for Oracle Cloud applications ( Oracle HCM, CX, SCM, Financials clouds, Salesforce and other cloud applications )
Major accomplishments in his career:
Product architect and development manager for test automation platforms
Oracle Flow Builder @ Oracle
CloudTestr @ Suneratech
2 times to oracle open world
More than 20 successful POCs ( Proof of concepts )
Designed pricing models.
Trained more than 50 members.
Built more than 100 re-usable functions.
Worked with tools: