public void editDevelopmentActivity(String SheetName, String Keyname) { ReferenceMaterialPage referencematerial = new ReferenceMaterialPage(_driver); ArrayList list = BaseClass.GetData("ER_TESTDATA", SheetName, "KeyName", Keyname); addDevelopmentActivity("DevelopmentActivityForm", "DevelopmentActivityform_01"); System.Threading.Thread.Sleep(2000); EperformSearchButton.Click(); BaseMethods.webelementverify(DeveLopmentActivitiesText); search(list[8].ToString()); BaseMethods.webelementverify(ErrorText); search(nametext); EperformEditButton.Click(); referencematerial.EperformNameTextBox.Clear(); referencematerial.EperformNameTextBox.SendKeys(list[1].ToString()); referencematerial.EperfromActiveNoRadioBtn.Click(); referencematerial.EperformDescriptionTextBox.Clear(); referencematerial.EperformDescriptionTextBox.SendKeys(list[6].ToString()); EperformPillarDropDownIcon.Click(); BaseMethods.DdlSelectByText(EperformPillarDropDownIcon, list[7].ToString()); EperformSubmit.Click(); System.Threading.Thread.Sleep(2000); search(nametext); BaseMethods.webelementverify(NameText); BaseMethods.webelementverify(DescriptionText); BaseMethods.webelementverify(PillarText); BaseMethods.webelementverify(EperformNoText); }
public void search(String text) { EperfromSearchTextBox.Clear(); EperfromSearchTextBox.SendKeys(text); EperformSearchButton.Click(); }
public void search(String searchitem) { EperformSearchTextBox.SendKeys(searchitem); EperformSearchButton.Click(); }