Ejemplo n.º 1
0
        public void GenericParseResponseTest()
        {
            var tsConn   = ProgramTests.SignIn();
            var response = GetADGroupsandUserInfo.callAPI(tsConn, "/sites/");
            var tagname  = "site";

            var ObjectList = GenericXMLParser <Site> .ParseResponse(response, tagname);

            Console.WriteLine("Set Inspect BP Here");
        }
Ejemplo n.º 2
0
        public void GetPageCountTest()
        {
            var tsConn = ProgramTests.SignIn();

            //Get Site ID
            var siteID = GetADGroupsandUserInfo.GetSiteID(tsConn, "");

            //Act - Assert
            var pagecount = GetADGroupsandUserInfo.GetPageCount(tsConn, "/sites/" + siteID + "/users?pagesize=1000");

            Console.WriteLine(pagecount);
        }