public class KeywordFactory extends Object
IKeyword
interface and execute the keywords with respective arguments.Constructor and Description |
---|
KeywordFactory(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
void |
executeKeyword(String keyword,
Object[] args)
Keyword executor method, finds the supporting keyword implementation class
and execute the said keyword using the arguments passed.
|
public void executeKeyword(String keyword, Object[] args)
keyword
- Keyword to be executedargs
- Arguments that needs to be used to execute the particular keywordCopyright © 2014. All rights reserved.