|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWebGroup
Web Group is created to represent task group executing a web application
IWebGroup
object is created using
IWebGroup addActionGroup(String groupName, String startingURL, boolean ignore);
API of IWebTest
Field Summary | |
---|---|
static int |
BASIC_AUTHENTICATION
Constant used to set Authentication mechanism used by the target application. |
static int |
DIGEST_AUTHENTICATION
Constant used to set Authentication mechanism used by the target application. |
static int |
GROUP_HTTP
Represent HTTP Group protocol |
static int |
GROUP_SOAP
Represent SOAP Group protocol |
static int |
NO_AUTHENTICATION
Constant used to set Authentication mechanism used by the target application. |
static int |
NTLM_AUTHENTICATION
Constant used to set Authentication mechanism used by the target application. |
Method Summary | |
---|---|
void |
addClientCertificate(java.lang.String password,
java.lang.String certFilePath)
This method is used to register a client certificate for a group |
void |
setAuthenticationDomainName(java.lang.String domain)
This method is used to set the Domain name if the authentication is of type IWebGroup.DIGEST_AUTHENTICATION or IWebGroup.NTLM_AUTHENTICATION. |
void |
setAuthenticationMechanism(int mechanism)
Quite often the web applications being tested are not simple applications and require different types of authentications during the execution of the test. |
void |
setAuthenticationPassword(java.lang.String pwd,
boolean parameterised)
This method is used to set the password for Authentication |
void |
setAuthenticationUserName(java.lang.String name,
boolean parameterised)
This method is used to set the user name for Authentication |
void |
setIgnored(boolean ignored)
This method is used to decide if the group should be ignored during test execution. |
void |
setLaunchNewBrowser(boolean bLaunch)
This method is used to set whether application should launch a new browser to replay the URL. |
void |
setProxyWhileReplaying(boolean bSetProxy)
This method is used to set whether application should start proxy server while replaying. |
void |
setRepeatCount(int rptCount)
This method is used to set repeat count for group within single iteration. |
void |
setStartingURL(java.lang.String url)
This method is used to set starting url for the group. |
void |
setUseClientSSLAuthentication(boolean flag)
This method is used to decide whether group should use client SSL authentication |
void |
setUseUrlRewritingSessionManagement(boolean flag)
This method is used to set whether the web application is using URL-Rewriting for session management. |
Field Detail |
---|
static final int BASIC_AUTHENTICATION
setAuthenticationMechanism
api
static final int DIGEST_AUTHENTICATION
setAuthenticationMechanism
api
static final int GROUP_HTTP
static final int GROUP_SOAP
static final int NO_AUTHENTICATION
setAuthenticationMechanism
api
static final int NTLM_AUTHENTICATION
setAuthenticationMechanism
api
Method Detail |
---|
void addClientCertificate(java.lang.String password, java.lang.String certFilePath)
password
- password for client certificatecertFilePath
- file path on disk for client certificatevoid setAuthenticationDomainName(java.lang.String domain)
domain
- name of the domainvoid setAuthenticationMechanism(int mechanism)
mechanism
- :
Possible values for mechanism are:
IWebGroup.NO_AUTHENTICATION, IWebGroup.FORM_AUTHENTICATION,
IWebGroup.BASIC_AUTHENTICATION,
IWebGroup.DIGEST_AUTHENTICATION, IWebGroup.NTLM_AUTHENTICATIONvoid setAuthenticationPassword(java.lang.String pwd, boolean parameterised)
pwd
- password for authenticationparameterised
- true if password is parameterized, false otherwisevoid setAuthenticationUserName(java.lang.String name, boolean parameterised)
name
- user name for authenticationparameterised
- true if name is parameterized, false otherwisevoid setIgnored(boolean ignored)
ignored
- true if group should be ignored, false otherwisevoid setLaunchNewBrowser(boolean bLaunch)
bLaunch
- true if new browser should be launched, false otherwisevoid setProxyWhileReplaying(boolean bSetProxy)
bSetProxy
- true if proxy server should be used during replaying, false
otherwisevoid setRepeatCount(int rptCount)
rptCount
- number of times group should repeat execution during single iteration.void setStartingURL(java.lang.String url)
url
- starting url for the groupvoid setUseClientSSLAuthentication(boolean flag)
flag
- true if client SSL authentication should be used, false
otherwisevoid setUseUrlRewritingSessionManagement(boolean flag)
flag
- true if session is managed using URL-Rewriting, false
otherwise
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |