Moved earlier extensionclasses together
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
using EATestFramework.Settings;
|
||||
using EATestFramework.Driver;
|
||||
using EATestFramework.Settings;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace EATestFramework.Driver;
|
||||
namespace EATestFramework.Extensions;
|
||||
public static class WebDriverInitializerExtension
|
||||
{
|
||||
public static IServiceCollection UseWebDriverInitializer(
|
||||
@ -1,4 +1,5 @@
|
||||
using EATestFramework.Driver;
|
||||
using EATestFramework.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace EATestFramework
|
||||
|
||||
@ -25,7 +25,7 @@ namespace EATestProject.Pages
|
||||
public void EnterProductDetails(Product product)
|
||||
{
|
||||
txtName.SendKeys(product.Name);
|
||||
txtDescription.SendKeys(product.Description);
|
||||
txtDescription.ClearAndEnterText(product.Description);
|
||||
txtPrice.SendKeys(product.Price.ToString());
|
||||
ddlProductType.SelectDropDownByText(product.ProductType.ToString());
|
||||
btnCreate.Click();
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using EATestFramework.Driver;
|
||||
using EATestFramework.Extensions;
|
||||
using EATestProject.Pages;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user