Microsoft.Protocols.TestSuites.MS_WOPI.MS_WOPI_S09_GetVersions.InitializeContext C# (CSharp) Method

InitializeContext() protected method

This method is used to get WOPI token and add headers.
protected InitializeContext ( string requestFileUrl, string userName, string password, string domain ) : void
requestFileUrl string A parameter represents the file URL.
userName string A parameter represents the user name we used.
password string A parameter represents the password of the user.
domain string A parameter represents the domain.
return void
        protected override void InitializeContext(string requestFileUrl, string userName, string password, string domain)
        {
            // Get WOPI token and add headers for the file exists.
            TestSuiteHelper.InitializeContextForShare(requestFileUrl, userName, password, domain, CellStoreOperationType.NormalCellStore, this.Site);
        }