Last active
December 14, 2015 05:48
-
-
Save papousek/5037554 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Retention(RetentionPolicy.RUNTIME) | |
@Target({ ElementType.FIELD, ElementType.PARAMETER }) | |
@Qualifier | |
public @interface Browser1 { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Retention(RetentionPolicy.RUNTIME) | |
@Target({ ElementType.FIELD, ElementType.PARAMETER }) | |
@Qualifier | |
public @interface Browser2 { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestCase { | |
@Browser1 | |
@Drone | |
private Graphene graphene1; | |
@Browser2 | |
@Drone | |
private Graphene graphene2; | |
@Browser1 | |
@Page | |
private SomePage page1; | |
@Browser2 | |
@Page | |
private SomePage page2; | |
public void test() { | |
Gra | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment