You can clone an existing JUnit Selenium test as a parameterized test. Literal values passed to the WebDriver sendKeys
method will be parameterized in the newly created parameterized test. Recommendations from parameterized JUnit 5 tests will be based on the last set of parameters only. Self-healing for parameterized JUnit 5 tests is not supported.
Usage
Right-click on a test and choose Clone as Parameterized.
...
- Inline literal values
- static constant
- enum value
- local variable with literal value passed to test method
Example
The following test has two string values at lines 14 and 15:
...