Homefeatured

3 options of osclti, the command line utility of Oracle Application Testing Suite

3 options of osclti, the command line utility of Oracle Application Testing Suite
Like Tweet Pin it Share Share Email

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.

  1. 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.
  2. 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 )
  3. 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?

  1. Location of osclti command utility is at  C:\OracleATS\openScript\osclti.bat ,and C:\OracleATS is the OATS installation folder.
  2. 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.
  3. 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.
  4. 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.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *