org.robotframework.javalib.library
Interface RobotJavaLibrary

All Known Implementing Classes:
AnnotationLibrary, ClassPathLibrary, CompositeLibrary, KeywordFactoryBasedLibrary, SpringLibrary

public interface RobotJavaLibrary

A Java library for Robot Framework.

Author:
Sami Honkonen

Method Summary
 java.lang.String[] getKeywordNames()
          Returns all the keywords this library contains
 java.lang.Object runKeyword(java.lang.String keywordName, java.lang.Object[] args)
          Runs a keyword and returns the result.
 

Method Detail

runKeyword

java.lang.Object runKeyword(java.lang.String keywordName,
                            java.lang.Object[] args)
Runs a keyword and returns the result. If an exception is thrown the keyword fails, otherwise it passes.

Parameters:
keywordName - keyword name to run
args - arguments for the keyword
Returns:
keyword return value

getKeywordNames

java.lang.String[] getKeywordNames()
Returns all the keywords this library contains

Returns:
names of keywords this library contains


Copyright © 2008. All Rights Reserved.