@Retention(value=RUNTIME) @Target(value={CONSTRUCTOR,METHOD,TYPE}) public @interface WebTest
Modifier and Type | Optional Element and Description |
---|---|
String[] |
additionalCapabilities
Provide additional capabilities that you may wish to add as a name value pair.
|
Class<? extends DefaultCapabilitiesBuilder>[] |
additionalCapabilitiesBuilders
Additional
DefaultCapabilitiesBuilder s that this web test should use. |
String |
browser
Establish browser profile to use.
|
int |
browserHeight
Define the height of the browser window that will be spawned
The width also has to be provided else the height is ignored
|
int |
browserWidth
Define the Width of the browser window that will be spawned
The height also has to be provided else the width is ignored
|
public abstract String browser
@Test() @WebTest(browser = "*iexplore") public void webtest2() { Grid.open("http://paypal.com"); }
public abstract String[] additionalCapabilities
@Test @WebTest(additionalCapabilities={"key1:value1","key2:value2"}) public void testMethod(){ //UI navigation steps }
public abstract Class<? extends DefaultCapabilitiesBuilder>[] additionalCapabilitiesBuilders
DefaultCapabilitiesBuilder
s that this web test should use. Capabilities which are
constructed this way are merged with the results of any/all globally applicable capability builders.Copyright © 2016 PayPal Open Source. All rights reserved.