
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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