Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You might get following errors while importing custom actions in Qualitia automation studio. You must fix these errors to complete the import procedure. 

Table of Contents
maxLevel1

Import Custom Action Cannot be continue due to following errors;...

You will get this error in case the directory you have selected to import custom actions is missing one or more required sub-folders. Image Removed

...

Resolution:

To resolve this error, ensure you have selected the right directory to import custom actions and the selected directory has all the sub-folders created in it.

...

To re-import the project:

  1. Ensure you clone all the project data to the new directory.
    This includes Test cases, Tasks, Custom actions, and Java project folders (which hold all the latest custom action code).

  2. Remove the existing project from the workspace.

  3. To import the cloned java project from the new directory, right-click Package Explorer, and select Import from the context menu.

  4. On the Import window, under the General section, select Existing Projects into Workspace and then click Next.

  5. In the Select root directory section, click the Browse button, select <PROJECTNAME>_QASJavaproject and click Finish.
    This is in the new directory where you have cloned the Qualitia project data.

  6. Select General > Workspace > Select Refresh using native hooks or polling.

  7. Click Apply and Close.

Custom Action Custom Files are Not Pushed to Project Path GIT Repository

...

Perform the following steps:

  1. Open the Eclipse Project.

  2. Click Windows > Preferences > Teams > Git > Projects.

  3. In the right side of the Preference dialog box, under Projects, deselect the Automatically ignore derived resources by adding them.gitignore checkbox.

Other Validations

While importing custom actions code into automation studio, Qualitia validates certain things. In case some files or code is missing, Qualitia gives the list of issues to fix to continue importing custom actions.

Here is the complete list of validations and resolutions to be done.

Validation Error

Resolution

.classpath

 file

 file is not present

in your Eclipse project location 

in your Eclipse project location 

Ensure that the Eclipse project was built successfully after adding all required artifacts (lib, bin,

 src folders

 src folders) to it. This will create a .classpath

 file

 file. 

.class files are

not present in

not present in your Eclipse project location 

Collect the

required compiled files

required compiled .class

 

 files and add them to the Eclipse project (under bin folder). Names of the required files is mentioned in the report.

Jar files mentioned

in in

in .classpath

 

 in your Eclipse project location

Collect all

the required jar

the required jar files and add them to your Eclipse project directory (under lib folder).

Java source files are not

present in

present in your Eclipse project location 

You need to generate the source code from the compiled class files and add them into the src folder under Eclipse project directory. For more information on the creating the source files, refer to the Importing Existing Custom Actions Created in Previous Qualitia Versions section. 

Once you have fixed all the errors mentioned above, you can continue importing custom actions in Qualitia.