public void AddWaterEnergyDevice(string strDeviceName, string strDevivceType, string strDeviceModel, string strInstallDate, string strComment)
{
GetHtmlControl<HtmlInputText>("txtDeviceNameAddNew").TypeText(strDeviceName);
MouseKeyboardLibrary.KeyboardSimulator.KeyPress(System.Windows.Forms.Keys.Tab);
GetHtmlControl<HtmlSelect>("SelectDeviceType").SelectByText(strDevivceType,true);
MouseKeyboardLibrary.KeyboardSimulator.KeyPress(System.Windows.Forms.Keys.Tab);
GetHtmlControl<HtmlSelect>("SelectDeviceModel").SelectByText(strDeviceModel,true);
MouseKeyboardLibrary.KeyboardSimulator.KeyPress(System.Windows.Forms.Keys.Tab);
GetHtmlControl<HtmlInputText>("InstallDate").TypeText(strInstallDate);
MouseKeyboardLibrary.KeyboardSimulator.KeyPress(System.Windows.Forms.Keys.Tab);
GetHtmlControl<HtmlTextArea>("txtComment").Text = strComment;
MouseKeyboardLibrary.KeyboardSimulator.KeyPress(System.Windows.Forms.Keys.Tab);
Thread.Sleep(3000);
GetHtmlControl<HtmlSpan>("btnWEUpdate").DeskTopMouseClick();
}