HomeOATS

Export and Import Scripts – Openscript – Oracle Application testing suite

Like Tweet Pin it Share Share Email

Once you create the test automation scripts for a project, one of the important task would be to ship these test scripts to customers, so that they can execute them or ask their in-house team(s) to conduct dry runs to check if everything works fine to give a sign off.

You also might need to ship these test scripts, to attach them to any test management tool where executions could be scheduled based on need.

Oracle Application Testing Suite has a great way of dealing this, it uses its Openscript IDE and Manage Repositories concepts with Export and Import features for easy shipping of test automated scripts.

Lets see step by step instructions as how we can export and import scripts using Openscript IDE of Oracle Application Testing Sutie

Step by Step instructions to export an existing script.

  • Open any script having assets attached, these assets can be present any where in your machine.
  • Go to Menu “File” > “Export Script”

01_Openscript_Export_menu

  • Browse the location and give name of the zip file you want to have this script exported.

02_Openscript_Export_Parametes

  • Leave default settings and click “OK” button to export the script.
  • Zip file gets created in the provided location.

04_Openscript_Exported_File_Of_Script_Highlighted

Step by Step instructions to import an exported script.

  • Open Openscript IDE
  • Go to Menu “File” > “Import Script”

05_Openscript_Import_Script_Menu

  • In the Import Script Dialog Window, select the folder where you want to import the exported script.

06_Openscript_Import_Script_Dialog_Window

  • Click on browse button to browse and select the zip file ( i.e. the exported script ) for importing.

07_Openscript_Browse_Exported_ZipFile

  • Click “OK” button and wait for the script to get imported in to desired folder location.

08_Openscript_Select_Zip_File_To_Import

  • Once import process is complete, Openscript opens the imported script by default in the IDE.

09_Openscript_After_Import_Tree_View_Script

10_Openscript_After_Import_Script_Assets

  • Click on databank “Countries” and click on Add -> CSV File, we can see where exactly this databank file resides now.

11_Openscript_After_Import_Assets_DataBank_Part_Of_Package

  • It is part of the “.All” folder that gets created on import of the script, All the dependent  assets will now be present as part of this folder and you should be able to use it for executions without any issues.

12_Imported_Script_Folder_Structure_01

12_Imported_Script_Folder_Structure_02

All dependencies would be packaged together under “.All” folder, which helps to transfer it to any location and be able to execute on need.

In case of any queries, please do ask in comments section,  I would be more than happy to help.

Comments (0)

Leave a Reply

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