ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins. Read more for important details.
ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins.Read more for important details.
Lieutenant
Lieutenant
181 views

keyword driven library using selenium

Hi

I am trying to create a selenium-keyword driven library file using the below command

java -cp com.borland.silk.keyworddriven.jar com.borland.silk.keyworddriven.library.docbuilder.DocBuilder AutomationTest Java ./output ./Library.zip.

I did notice that the library.xml within the Library.zip will be generated WITHOUT KEYWORDS  in the below scenarios:

1. Class that has @Keyword annotation extends another class

public class Keywords EXTENDS SETUP{

@

}

2. Method that has @Keyword return any other thing other than void

@Keyword

public STRING testMethod(){

}

All the examples I have seen online and discussions have the @keyword with void and class without extending any other class.

 

Please let  me know if the entire automation framework we have been developing should follow the above patterns

 

 

 

0 Likes
0 Replies
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.