def Status(): FindBy = GetValueFromOR("Status","FindBy"); Value = GetValueFromOR("Status","Value"); All = GetValueFromOR("Status","All"); WebObject = WebElement.GetWebElement(FindBy,Value,All) WebObject.focus return WebObject;
def GetLoginUserName(): FindBy = GetValueFromOR("Welcome", "FindBy") Value = GetValueFromOR("Welcome", "Value") All = GetValueFromOR("Welcome", "All") WebObject = WebElement.GetWebElement(FindBy, Value, All) WebObject.focus return WebObject
def ErrorMessage(): FindBy = GetValueFromOR("ErrMsg", "FindBy") Value = GetValueFromOR("ErrMsg", "Value") All = GetValueFromOR("ErrMsg", "All") WebObject = WebElement.GetWebElement(FindBy, Value, All) WebObject.focus return WebObject
def UserManagement(): FindBy = GetValueFromOR("UserManagement", "FindBy") Value = GetValueFromOR("UserManagement", "Value") All = GetValueFromOR("UserManagement", "All") WebObject = WebElement.GetWebElement(FindBy, Value, All) WebObject.focus return WebObject
def ErrMsgConfirmPassword(): FindBy = GetValueFromOR("ErrMsgConfirmPassword","FindBy"); Value = GetValueFromOR("ErrMsgConfirmPassword","Value"); All = GetValueFromOR("ErrMsgConfirmPassword","All"); WebObject = WebElement.GetWebElement(FindBy,Value,All) WebObject.focus return WebObject
def Login(): FindBy = GetValueFromOR("Login", "FindBy") Value = GetValueFromOR("Login", "Value") All = GetValueFromOR("Login", "All") WebObject = WebElement.GetWebElement(FindBy, Value, All) WebObject.focus return WebObject
def Cancel(): FindBy = GetValueFromOR("Cancel","FindBy"); Value = GetValueFromOR("Cancel","Value"); All = GetValueFromOR("Cancel","All"); WebObject = WebElement.GetWebElement(FindBy,Value,All) WebObject.focus return WebObject
def ErrMsgUserName(): FindBy = GetValueFromOR("ErrMsgUserName","FindBy"); Value = GetValueFromOR("ErrMsgUserName","Value"); All = GetValueFromOR("ErrMsgUserName","All"); WebObject = WebElement.GetWebElement(FindBy,Value,All) WebObject.focus return WebObject
def EmployeeNameList(strEmployeeName): FindBy = GetValueFromOR("EmployeeNameList", "FindBy") Value = GetValueFromOR("EmployeeNameList", "Value") UpdatedValue = aqString.Replace(Value, "TEXT", str(strEmployeeName)) All = GetValueFromOR("EmployeeNameList", "All") WebObject = WebElement.GetWebElement(FindBy, UpdatedValue, All) return WebObject
def RowCount(columnIndex): FindBy = GetValueFromOR("RowCount", "FindBy") Value = GetValueFromOR("RowCount", "Value") UpdatedValue = aqString.Replace(Value, "COLUMNINDEX", str(columnIndex)) All = GetValueFromOR("RowCount", "All") WebObject = WebElement.GetWebElement(FindBy, UpdatedValue, All) return WebObject
def LastRecord(columnIndex): FindBy = GetValueFromOR("LastRecord", "FindBy") Value = GetValueFromOR("LastRecord", "Value") UpdatedValue = aqString.Replace(Value, "COLUMNINDEX", str(columnIndex)) All = GetValueFromOR("LastRecord", "All") WebObject = WebElement.GetWebElement(FindBy, UpdatedValue, All) WebObject.focus return WebObject
def Password(): FindBy = GetValueFromOR("Password", "FindBy") Value = GetValueFromOR("Password", "Value") All = GetValueFromOR("Password", "All") WebObject = WebElement.GetWebElement(FindBy, Value, All) WebObject.focus WebObject.value = "" WebObject.Click() return WebObject
def EmployeeName(): FindBy = GetValueFromOR("EmployeeName", "FindBy") Value = GetValueFromOR("EmployeeName", "Value") All = GetValueFromOR("EmployeeName", "All") WebObject = WebElement.GetWebElement(FindBy, Value, All) WebObject.focus WebObject.value = "" WebObject.Click() return WebObject
def UserName(): FindBy = GetValueFromOR("UserName","FindBy"); Value = GetValueFromOR("UserName","Value"); All = GetValueFromOR("UserName","All"); WebObject = WebElement.GetWebElement(FindBy,Value,All) WebObject.focus WebObject.value = "" WebObject.Click() return WebObject
def Cell(columnIndex, rowIndex): FindBy = GetValueFromOR("Cell", "FindBy") Value = GetValueFromOR("Cell", "Value") UpdatedValue = aqString.Replace(Value, "COLUMNINDEX", str(columnIndex)) UpdatedValue2 = aqString.Replace(UpdatedValue, "ROWINDEX", str(rowIndex)) All = GetValueFromOR("Cell", "All") WebObject = WebElement.GetWebElement(FindBy, UpdatedValue2, All) WebObject.focus return WebObject
def UserRole(): FindBy = GetValueFromOR("UserRole","FindBy"); Value = GetValueFromOR("UserRole","Value"); All = GetValueFromOR("UserRole","All"); WebObject = WebElement.GetWebElement(FindBy,Value,All) return WebObject
def UserWebTable(): FindBy = GetValueFromOR("UserWebTable", "FindBy") Value = GetValueFromOR("UserWebTable", "Value") All = GetValueFromOR("UserWebTable", "All") WebObject = WebElement.GetWebElement(FindBy, Value, All) return WebObject