I m trying to enhance my Webdriver script by implementing a BDD framework. I came to know about JBehave (JBehave+Webdriver) but before going ahead with this I have my concern over how much java code implementation is needed because I m mainly into automation testing. As per my perception JBehave works in three steps:
- Adding Story files
- Implementing the story files into Java (I m having problem with this step)
- Implementing Webdriver calls.
使用这个方法, 如果我有用户故事, 例如注册处在应用程序中, 那么:
- Implement User Story
- Implementation in java- Implement the complete authentication logic in Java
- Implementing webdriver- Automate the user actions
另一个例子 : 我有一个用户故事, 执行特定的工作流程 & amp; 需要在 5-6 页上进行一系列操作, 然后我需要执行/ 模拟 java 代码 。
这是JBEBEWEWE的工作方式吗?还有别的选择吗?