Now that you understood what is openscript? and its capabilities around automation testing, lets dive in to actual process of creating automation scripts.
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 )
- 100 demos
- Designed pricing models.
- Trained more than 50 members.
- Built more than 100 re-usable functions.
Worked with tools:
Thanks so much for the tutorials it really helps me.
I have a doubt about how to save the Order or approval value that is generated in a txt box in Oracle Forms.
I just want to save this Order value to use it in the next steps.
Thanks for your time
I am glad to know that the information is helpful to you, yes you can retrieve value that is generated in a text box in oracle forms and then use it in next steps.
There are couple of cases that you need to know, I had written an article explaining how to capture value from a text box and use it later as part of Order to Cash business flow
Hope this will help you, please do revert to us in case of any further queries.