Method | Description | |
---|---|---|
GenerateEmail ( int size ) : string |
This method is used to generate random e-mail with the specified size.
|
|
GeneratePortalUrl ( int size ) : string |
This method is used to generate random portal url with the specified size.
|
|
GenerateRandomNumber ( int minValue, int maxValue ) : int |
This method is used to random generate an integer in the specified range.
|
|
GenerateRandomString ( int size ) : string |
This method is used to generate random string in the range A-Z with the specified string size.
|
|
GenerateUniqueOwnerName ( ) : string |
A method is used to generate owner name.
|
|
GenerateUniquePortalName ( ) : string |
A method is used to generate portal name.
|
|
GenerateUniqueSiteTitle ( ) : string |
A method is used to get a unique site title.
|
|
GenerateUrlPrefixWithAdminPort ( ) : string |
This method is used to generate a url prefix with admin port number. The format should be "HTTP://[SUTComputerName]:[AdminHTTPPortNumber]/sites/" or "HTTPS://[SUTComputerName]:[AdminHTTPSPortNumber]/sites/".
|
|
GenerateUrlPrefixWithPortNumber ( ) : string |
This method is used to generate a url prefix with port number. The format should be "HTTP://[SUTComputerName]:[HTTPPortNumber]/sites/" or "HTTPS://[SUTComputerName]:[HTTPSPortNumber]/sites/".
|
|
GenerateUrlWithoutPort ( int size ) : string |
This method is used to generate random url without port number which includes [TransportType]://[SUTComputerName].
|
|
Initialize ( ITestSite site ) : void |
A method used to initialize the TestSuiteBase with specified ITestSite instance.
|
public static GenerateEmail ( int size ) : string | ||
size | int | A parameter represents the generated e-mail size. |
return | string |
public static GeneratePortalUrl ( int size ) : string | ||
size | int | A parameter represents the generated portal url size. |
return | string |
public static GenerateRandomNumber ( int minValue, int maxValue ) : int | ||
minValue | int | The inclusive lower bound of the random number returned. |
maxValue | int | The exclusive upper bound of the random number returned. |
return | int |
public static GenerateRandomString ( int size ) : string | ||
size | int | A parameter represents the generated string size. |
return | string |
public static GenerateUniqueOwnerName ( ) : string | ||
return | string |
public static GenerateUniquePortalName ( ) : string | ||
return | string |
public static GenerateUniqueSiteTitle ( ) : string | ||
return | string |
public static GenerateUrlPrefixWithAdminPort ( ) : string | ||
return | string |
public static GenerateUrlPrefixWithPortNumber ( ) : string | ||
return | string |
public static GenerateUrlWithoutPort ( int size ) : string | ||
size | int | A parameter represents the random string size. |
return | string |
public static Initialize ( ITestSite site ) : void | ||
site | ITestSite | A parameter represents ITestSite instance. |
return | void |