如果我独立运行它,我会通过以下specflow测试但是当我在套件中运行时,当我到达表时会出现以下错误:
OpenQA.Selenium.WebDriverException:意外错误。会议 82486589-6a16-4b60-9503-c25a886698e7不存在
以下是Specflow Scenario的示例:
Scenario: New Register user
Given I Navigate to 'https://somewebsite.com/'
And Click element with link text 'Register'
And I wait for '5' seconds
When Enter the following new user details:
| Username | Password | Email | Firstname | Lastname | Time Zone |
| Bobby | password99 | some@email.com | Bob | smith | GMT ------ U.K. |
And I take a screenshot and save it as 'SmartBear new user information' in 'C:\AutomationScreenShots'
And I click 'Register' button*
感谢任何帮助