我對登錄功能的使用有疑問。我在尋找什么:我有一個登錄功能,應該與我在 Cucumber 和 Selenium 中使用的所有其他未來功能一起使用。此登錄功能應與其他功能相結合。這是 mi Login.featureFeature: Login Profile As an user of Page X I want to login my profile using my credentials In order to see the default dashboard Background: User navigates to Company home page Given I am on the Company login page @wip Scenario Outline: Successful login When I fill in User ID with "<username>" And I fill in Password with "<password>" And I click on the Log In button And I should get the Second code login with "<email>" and "<pass>" And I must put the Second code in the field code for accessing Examples: | username | password | email | pass | | XXXXXXXX | YYYYYYY | [email protected] | 1234556 |我需要在不關閉 Selenium 導航的情況下將此功能與另一個新功能相結合。有人可以指導我嗎?
Cucumber Java with Selenium - 重用和連接登錄功能與其他功能
慕田峪9158850
2023-02-16 14:16:35