TestUnitSessionSetting Method (String, String) | |
SOWI App session setting puts token.
Namespace:
SIC.Test.Helper
Assembly:
SIC.Test.Helper (in SIC.Test.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax protected void SessionSetting(
string pUserName,
string pPassword
)
Protected Sub SessionSetting (
pUserName As String,
pPassword As String
)
Parameters
- pUserName
- Type: SystemString
User name to log in - pPassword
- Type: SystemString
Password to log in
Remarks
Requirement: existing App_Data\SOWIApp.sconfig at project directory and set the following settings.
Project file setting: "Includ In Project" (Solution Explorer).
See also
GetToken(String, String).
This method sets property
SessionToken Note |
---|
Used a web hosting then uses SOWIWeb.Helper.Session.Login method
|
See Also