internal void EditProfile()
 {
     //Populate the Excel Sheet
     Global.ExcelLib.PopulateInCollection(Base.ExcelPath, "Profile");
     GlobalDefinitions.Wait();
     EditProfileicon.Click();
     EditFirstName.Clear();
     EditFirstName.SendKeys(ExcelLib.ReadData(2, "FirstName"));
     EditLasttName.Clear();
     EditLasttName.SendKeys(ExcelLib.ReadData(2, "LastName"));
     ProfileSaveBtn.Click();
     GlobalDefinitions.driver.Navigate().Refresh();
     GlobalDefinitions.Wait();
     Availability.Click();
     AvailabilityTime.SendKeys(ExcelLib.ReadData(2, "Availability"));
     Hours.Click();
     AvailabilityHour.SendKeys(ExcelLib.ReadData(2, "SelectHours"));
     GlobalDefinitions.Wait();
     EarnTarget.Click();
     AvailabilityTarget.SendKeys(ExcelLib.ReadData(2, "EarnTraget"));
     GlobalDefinitions.Wait();
     DescriptionBtn.Click();
     TxtDescription.Clear();
     GlobalDefinitions.Wait();
     TxtDescription.SendKeys(ExcelLib.ReadData(2, "EditDesc"));
     DesSaveButton.Click();
 }
Beispiel #2
0
 public void ClickrEditFirstNane()
 {
     EditFirstName.Clear();
 }
Beispiel #3
0
 public void ClearClickInputEditFirstName(string NewFirstName)
 {
     EditFirstName.Clear();
     EditFirstName.Click();
     EditFirstName.SendKeys(NewFirstName);
 }