Méthode | 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. |
Résultat | string |
public static GeneratePortalUrl ( int size ) : string | ||
size | int | A parameter represents the generated portal url size. |
Résultat | 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. |
Résultat | int |
public static GenerateRandomString ( int size ) : string | ||
size | int | A parameter represents the generated string size. |
Résultat | string |
public static GenerateUniqueOwnerName ( ) : string | ||
Résultat | string |
public static GenerateUniquePortalName ( ) : string | ||
Résultat | string |
public static GenerateUniqueSiteTitle ( ) : string | ||
Résultat | string |
public static GenerateUrlPrefixWithAdminPort ( ) : string | ||
Résultat | string |
public static GenerateUrlPrefixWithPortNumber ( ) : string | ||
Résultat | string |
public static GenerateUrlWithoutPort ( int size ) : string | ||
size | int | A parameter represents the random string size. |
Résultat | string |
public static Initialize ( ITestSite site ) : void | ||
site | ITestSite | A parameter represents ITestSite instance. |
Résultat | void |