Raghavan_S

Lieutenant Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-11-01
05:58
1062 views
How to add/associate multiple libraries to a keyword driven test in SilkCentral?
Hi,
I have several classes created in Silk4J and have created keyword groups for each of these classes based on their functionalities. I am looking to associate all these keyword libraries to a single keyword driven test in SilkCentral. Is this feature available in SilkCentral 19.0 ? If not, is there any workaround by which I can achieve this?
Regards,
Raghavan.S
3 Replies
sebastian_korne xl

Micro Focus Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-11-05
02:52
You can't mix different libraries in one test. You could group the keywords by using the annotation "@KeywordGroup" and put all in one library.
Best Regards,
Sebastian
Best Regards,
Sebastian
Raghavan_S

Lieutenant Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-18
06:39
Hi ,
Thanks for the reply. I have created keyword groups as you have mentioned and all of them are in one single library. This library will be shared across projects as a common library.However there are certain functions/keywords which should be visible only to a particular project . How can we achieve this? At present we have options to edit the visibility of the entire library only and it is not specific to the keyword groups. This was the challenge which led me to think about associating multiple libraries to a test in the first place. Please do let me know if you have any workarounds or suggestions.
Regards,
Raghavan.S
Thanks for the reply. I have created keyword groups as you have mentioned and all of them are in one single library. This library will be shared across projects as a common library.However there are certain functions/keywords which should be visible only to a particular project . How can we achieve this? At present we have options to edit the visibility of the entire library only and it is not specific to the keyword groups. This was the challenge which led me to think about associating multiple libraries to a test in the first place. Please do let me know if you have any workarounds or suggestions.
Regards,
Raghavan.S
sebastian_korne xl

Micro Focus Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-18
07:43
Hi Raghavan,
it is not possible to change the visibility for certain keywords/groups.
Maybe you could do the following:
- have one code base for the common keywords (CommonLib) and one for the special ones (SpecialLib)
- generate and upload the library CommonLib
- generate the SpecialLib containing all common keywords plus the special ones and upload it
- set the visibility for the SpecialLib as needed
With the approach the code for common keywords is not duplicated and you can add special keywords for certain projects.
Best Regards,
Sebastian
it is not possible to change the visibility for certain keywords/groups.
Maybe you could do the following:
- have one code base for the common keywords (CommonLib) and one for the special ones (SpecialLib)
- generate and upload the library CommonLib
- generate the SpecialLib containing all common keywords plus the special ones and upload it
- set the visibility for the SpecialLib as needed
With the approach the code for common keywords is not duplicated and you can add special keywords for certain projects.
Best Regards,
Sebastian