Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Silk4J: How can Keyword-Driven Tests be Grouped in Eclipse, so they can be executed together?

Silk4J: How can Keyword-Driven Tests be Grouped in Eclipse, so they can be executed together?

There is currently no built-in support for Grouping multiple Keyword-Driven Tests, so they can be executed together as a suite. This type of functionality has been requested by a number of SilkTest users, and will be considered for implementation in a future release.

In the meantime it is possible to use the 'Launch Group' feature of the Eclipse IDE to accomplish this. This functionality is not available by default, and will need to be enabled by installing the 'C/C++ Remote Launch' feature:

1. Launch Eclipse and select 'Help > Install New Software' from the menubar.

2. On the 'Install Dialog' click the dropdown button on the 'Work With' field, and select the option 'Neon - http://download.eclipse.org/releases/neon' from the list.

*If this option is not available please enter the full url manually.

When the available software packages have loaded you should find 'C/C++ Remote Launch' within the 'Progamming Languages' node. Enable this option and step through the wizard to install the package:

Once the installation is complete you can configure 'Launch Groups' by performing the following steps:

i. Select 'Run > Run Configurations'.

ii. On the 'Run Configurations' dialog, right-click 'Launch Group' from the panel on the left and select 'New':

iii. Click 'Add' - expand the 'Keyword-Driven Test' node and select a test from the list.

* It is important to select 'Wait until terminated' from the 'Post Launch action' dropdown list, so that the tests are launched one after the other and not in parallel:

iv. Repeat this process for each Keyword-Driven Test that you wish to add to the Launch Group:

v. The Launch Group can be executed directly from the 'Run Configurations' dialog, or from the Eclipse IDE by selecting the 'Launch Group' from the 'Run' button dropdown list:

 

* The same general approach can be used to Group standard Silk4J/JUnit tests, so that they can be executed together. Existing 'Launch Groups' can also be added as children of other Launch Groups; providing a great deal of flexibility over how you group and deploy your automated tests in the Eclipse IDE.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2017-04-12 16:15
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.