//Search especific case

        public static int SearchCase(string casename)
        {
            utils.Click(PageObjectEngine.SelectNewCase(), Cconf.Instance.elemenType[1]);
            utils.WaitTimeForElement(PageObjectEngine.SelectAllProcess(), Cconf.Instance.userTimeWait, Cconf.Instance.elemenType[1]);
            utils.Click(PageObjectEngine.SelectAllProcess(), Cconf.Instance.elemenType[1]);
            Thread.Sleep(2000);

            int elementCounter = 1;
            int nElements      = utils.CountItems(PageObjectEngine.CountProcess(), Cconf.Instance.elemenType[1]); //css

            while (elementCounter <= nElements)
            {
                string id = elementCounter.ToString();
                id = Convert.ToString(elementCounter);

                Thread.Sleep(500); //Wait fot set variable
                string CopyName = utils.GetMessagesVariable(PageObjectEngine.SelectProcessMC(), Cconf.Instance.elemenType[1], null, id);
                if (CopyName == casename)
                {
                    return(elementCounter);
                }
                elementCounter++;
            }
            return(-1);
        }