public void ClickSaveButton() { try { SaveButton.MouseClick(); System.Threading.Thread.Sleep(5000); } catch (Exception e) { throw new Exception("Unable to enter the text in phnum .." + e.Message); } }