com.atlassian.jira.pageobjects.config
Annotation Type LoginAs
@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface LoginAs
Mark your test with this annotation if you want a particular user to be logged-in automatically before
the test executes.
user
public abstract String user
password
public abstract String password
- Default:
- ""
sysadmin
public abstract boolean sysadmin
- Default:
- false
anonymous
public abstract boolean anonymous
- Default:
- false
targetPage
public abstract Class<? extends com.atlassian.pageobjects.Page> targetPage
- Default:
- com.atlassian.jira.pageobjects.pages.DashboardPage.class
Copyright © 2002-2012 Atlassian. All Rights Reserved.