public void WhenICreateANewTimeAndMaterial() { //creating instance of time & material page TimeMaterial time_material_page = new TimeMaterial(Wbdriver); time_material_page.createNewRecord("GARRY", "INTELLIGENT"); }
public void Execute() { var loginpage = new Login(driver); loginpage.LoginSuccess(); var homePage = new Home(driver); homePage.clickAdminstration(); homePage.clickTimenMaterials(); TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.clickCreateNew(); Thread.Sleep(2000); seleniumsetmethod.EnterText(driver, "Code", "111", "Id"); Console.WriteLine("the code is " + seleniumGetMethod.GetText(driver, "Code", "Id")); seleniumsetmethod.EnterText(driver, "Description", "testing", "Id"); Console.WriteLine("the description is " + seleniumGetMethod.GetText(driver, "Description", "Id")); seleniumsetmethod.Click(driver, "SaveButton", "Id"); }
public void WhenICreateMultipleTimeAndMaterialRecodrsWithBelow(string p1, string p2) { //creating instance of time & material page TimeMaterial time_material_page = new TimeMaterial(Wbdriver); time_material_page.createNewRecord(p1, p2); }
public void ThenTheRecordShouldBeEditedSuccessfully() { TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.ValidateRecord("edit"); driver.Quit(); }
public void WhenIHaveEditedTheNewRecord() { //creating instance of time & material page TimeMaterial time_material_page = new TimeMaterial(Wbdriver); time_material_page.EditNewRoecord(); }
public void WhenIHaveCreatedNewRecord() { //creating instance of time & material page TimeMaterial time_material_page = new TimeMaterial(Wbdriver); time_material_page.createNewRecord("TOM", "SINGING"); }
public void WhenIGoTheRecordWhichIWantToDelete() { //creating instance of time & material page TimeMaterial time_material_page = new TimeMaterial(Wbdriver); //deleting any record from any page(here i have choosen 6 th record from 3 rd page thats why for loop goes upto int i=3 time_material_page.deleteAnyRecord(); }
public void GivenICreateANewTimeAndMaterialRecord() { //Creating instance of time and material TimeMaterial timematerial = new TimeMaterial(); timematerial.ClickCreatenew(); timematerial.CreateNewRecord("jack1", "jack1Desc"); timematerial.ValidateNewRecord("jack1", "jack1Desc"); }
public void GivenICreateANewTimeAndMaterialWithBelowTestdec(string p0, string p1) { //Creating instance of time and material TimeMaterial timematerial = new TimeMaterial(); timematerial.ClickCreatenew(); timematerial.CreateNewRecord(p0, p1); timematerial.ValidateNewRecord(p0, p1); }
public void WhenICreateNewTimeAndMaterialForm() { TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.clickCreateNew(); timeMaterial.CreateNewRecord("ck", "des1"); // timeMaterial.validateRecord(); }
public void GivenIEditAnExistingTimeAndMaterialRecord() { // Creating an instance of home page var homePage = new Home(driver); homePage.clickAdminstration(); homePage.clickTimenMaterials(); TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.EditNewRecord(); }
public void GivenICreateATimeAndMaterial() { // Creating an instance of home page var homePage = new Home(driver); homePage.clickAdminstration(); homePage.clickTimenMaterials(); TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.clickCreateNew(); timeMaterial.CreateNewRecord("test", "testDescription"); //timeMaterial.EditNewRecord(); //timeMaterial.DeleteNewRecord(); timeMaterial.ValidateRecord("test"); }
public void GivenICreateATimeAndMaterialWithBelow(string p0, string p1) { // Creating an instance of home page var homePage = new Home(driver); homePage.clickAdminstration(); homePage.clickTimenMaterials(); TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.clickCreateNew(); timeMaterial.CreateNewRecord(p0, p1); //timeMaterial.EditNewRecord(); //timeMaterial.DeleteNewRecord(); timeMaterial.ValidateRecord(p0); }
public void VerifyUserCanLoginIntoIC() { //login page code in loginpage var login = new Loginpage(driver); login.login1(); //dashboard page code in dashboard var dashboard = new Dashboard(driver); dashboard.Dashboard1(); //time and material code in TimeMaterial var TimeMaterial = new TimeMaterial(driver); TimeMaterial.TimeMaterial1(); //client page var client = new Client(driver); client.Client1(); }
void Start() { _timeMaterial = GetComponent <TimeMaterial>(); _transform = transform; }
public void WhenIEditAnExistingTimeAndMaterial() { TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.EditNewRecord(); }
public void WhenIAddTimeAndMaterialRecords_() { var TimeMaterial = new TimeMaterial(driver); TimeMaterial.TimeMaterial1(); }
public void GivenIEditAnExistingTimeAndMaterialRecord() { TimeMaterial timematerial = new TimeMaterial(); timematerial.EditNewRecord(); }