Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

Random Browser annotation #154

Closed occupant23 closed 6 months ago

occupant23 commented 4 years ago

It would be nice to have an annotation that selects one or more browsers out of all available (to the test case attached) browsers.

e.G.:

@Retention(RUNTIME)
@Target({
  TYPE, METHOD
})
public @interface RandomBrowser()
{
    int value() default 1;
}

value = 1 would mean choose one browser randomly. If the more browsers than available should be picked randomly an exception should be raised.

oomelianchuk commented 3 years ago

Implementation suggestion in PR!167

occupant23 commented 3 years ago

@georgkunze: Please test this feature and check the documentation (should be available in the wikis dev branch).

georgkunze commented 3 years ago

@occupant23 Test done. Checked also the documentation

georgkunze commented 6 months ago

Checked everything again and closed