public bool WaitForScreen(ScreenDes screenKeyWords, int timeOut) { autECLOIAObj.WaitForAppAvailable(timeOut); autECLOIAObj.WaitForInputReady(timeOut); object flag = renderObj.WaitForScreen(screenKeyWords.ScreenDesc, timeOut); return(flag == null ? false : Convert.ToBoolean(flag)); }