Import and Export artifacts in different environments

Overview

Opkey allows its users to make a replica (copy) of the required artifact(s) in the same or different Opkey domain, as required. 

There are two ways to make a replica of the artifact: Copy/Paste and Import/Replica but both ways are fundamentally the same. 

You can make a replica of the exported artifact as well as make a replica of the copied artifact. If you have exported the artifact in the compressed form then go to the Import Artifact button at Project Workspace in the destination OpKey domain (same or different).

Let us see how to make a replica of the exported artifact by using Import/Replica.

First, let's export an artifact.

Go to the source Opkey web domain, and navigate to the project workspace. Select a specific folder and right-click to export it.


Your file will start exporting and Once your file is exported successfully you can click on the close button.


  • Now Go to the destination Opkey Web domain, navigate to the Project Workspace tab & click on the Import Artifact button.



  • Import/Replica/Manual/Merge wizard opens. Select the Replica option and click on OK.



Choose the exported file and click on the Open button.


  • From here, you can choose or create a folder in which you want to make an artifact replica. Here we have selected the TestFL as the folder.
  • Click Next to continue.



Now add the tag and its value if required and click on the Apply button.



Your exported artifact will start replicating in the selected folder i.e. TestFL.



Click on the close button once the file is replicated successfully.


Now you can view the replicated file (Testing) in the respective folder (TestFL).

Copy the artifact and make the replica

  • You can copy any desired artifact or folder and then make its replica in the desired folder.


  • Select the desired (destination) folder, right click on it and then choose Replica option.


  • If you want to add tags then you can add them from here. Click on Add Tags button, add tag keys and values.
  • You can retain original tags of the artifacts by checking Retain Original tag(s) checkbox.
  • Click Apply to continue.



  • The copied folder will start replicating to the destination folder. 




  • The process of making a replica has now been completed successfully. You can view the complete logs here.
  • Click on the Close button.



 

  • Replica of the desired artifact(s) has been created successfully. Here, you can view the entire artifacts.

Note:

  1. When you make replica of copied test case which is mapped with any other artifact (like OR, DR, FL etc.) file then all the associated artifacts are also copied and pasted at desired location in the auto-created folder named as Dependent_Artifacts. Thus, this replica test case will be independent test case file and there will be no relation between this test case file and the earlier mapped artifacts.
  2. You can copy child & parent node but you can paste or make replica of copied parent/child node only within a parent node. In case of making duplicate (Copy & Paste) artifacts, when you copy a test case file which is mapped with any other artifact (FL, OR, DR etc.) file then you are able to paste that test case file at desired location and it will remain mapped with the earlier mapped artifact file.
  3. There is a notification message with checkbox that “Folder containing Gherkin/Sparkin file will not be replicated with any data. Only blank Gherkin/Sparkin file will be created at the destination end.” You can uncheck this checkbox, if required.



Click Here to learn more about Opkey features.

To learn more about Opkey as a test automation tool, you can visit https://university.opkeylms.com and enroll in our Opkey series course.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article