While you are aware of many features in OpenScript and OATS to automate scripts, there are some advanced concepts which can help you move to next level.
In this article you will be introduced to a utility which was developed by OATS product development team and made it available from OATS 12.3 version.
3 activities “osclti” utility does to improve the productivity of test automation engineers in an advanced way.
- Command line or dynamic compilation of scripts: Allows you to compile a single script or scripts in bulk, this does not require you to open the OpenScript IDE (tool). You can go through our detailed article on command line compilation of OATS scripts.
- Command line or dynamic association of assets: Allows you to associate any kind of OpenScript assets, namely databank, script / function library, jar & objectLibrary. You can go through our detailed article on command line option to add / update reusable assets to OpenScript Scripts – Oracle Application Testing Suite ( a.k.a OATS )
- Command line or dynamic remap of script references: Switch the assets relativity to current script or to the OpenScript repository, it can remap scripts in bulk as well, function libraries are exceptional to this and cannot be remapped using this option. This is option is not much in use unless and until there were huge number of scripts which were developed and want to change the references to follow some best practices or when they want to move the scripts with copy paste options
Lets get to know some whereabouts of “osclti” utility and are you curious to know how this utility came in to existence?
- Location of osclti command utility is at C:\OracleATS\openScript\osclti.bat ,and C:\OracleATS is the OATS installation folder.
- This utility was developed on a request made by internal team of Oracle – “Oracle EBS QA team” for inorder to improve productivity of automation engineers to compile and associate reusable assets dynamically in bulk rather opening each script that got generated / changed post generation using Oracle Flow Builder ( i.e. in the initial days of Oracle Flow Builder development). It was later made as part of Oracle Flow Builder, that is the scripts generated through Oracle Flow Builder are auto compiled and have required assets associated.
- It is also now being used by many organisations, as each them have thier own ways of generating OpenScript Scripts or edit the scripts and use this utility to compile them in bulk or associate the assets dynamically and save a lot of time.
- This command line utility “osclti” performs above discussed three activities with the help of 3 command line options namely compile, updateAssets and remap, you can see them with the command “osclti.bat -help” as shown in below image.In order to get more understanding you can run commands like “osclti compile -help” / “osclti updateAssets -help” / “osclti remap -help” in the command prompt @ C:
\OracleATS\openScript path, you can see detailed help and notes of above options.
Please feel free to ask any of your queries in form of comments, we would be more than happy to help you out.
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: