public void TestChallenge() { Console.WriteLine("Starting TestChallenge"); PageMethods.MouseHoverSearch(); PageMethods.TakeScreenshot(); PageMethods.EnterText("fl-search-input", "vermelhinha", "Id"); PageMethods.Click("fl-search-submit", "ClassName"); }
public void Ofertas() { Console.WriteLine("Starting the Test..."); PageMethods.Click("c-peca-ja__button", "ClassName"); PageMethods.Click("//*[@id='basic-user-form']/div/div[3]/div/span[2]", "XPath"); PageMethods.EnterText("form-name", "Marcos Couto", "Id"); PageMethods.EnterText("form-cpf", "92239366087", "Id"); PageMethods.EnterText("form-birth-date", "22041976", "Id"); PageMethods.EnterText("form-cellphone-number", "51998863224", "Id"); PageMethods.EnterText("form-email", "*****@*****.**", "Id"); PageMethods.Click("submitButton", "Id"); PageMethods.TakeScreenshot(); }