Beispiel #1
0
        public string[] GetAllWindowNames()
        {
            bool actRes = false; string errStr = "";

            string[] resStrArray = new string[1];
            try
            {
                resStrArray = selenium.GetAllWindowNames();
                actRes      = true;
            }
            catch (System.Exception ex)
            {
                errStr = ex.ToString();
            }

            res = new ResultClass()
            {
                Decp = "GetAllWindowNames",
                Res  = actRes ? "pass" : "fail",
                Tdev = " ms",
                Err  = errStr,
            };
            BaseListOfResItems.Add(res);

            return(resStrArray);
        }