public void Scen02_ViewProductInfo_SpecificProduct() { try { Results.WriteScenarioHeading("ViewProduct_02 - View Product Information(Brand, Title, Size, etc). of ProductID: " + Common.productID); home = home.NavigateToApplication().VerifyHomePage(); ViewProduct view = home.ViewSpecificProduct(Common.productID).VerifyViewProductPage(); Results.EndReport(); } catch (Exception e) { Logging.LogStop(e); throw; } }
public void Scen06_ViewProductByInputingProductIDInUrl() { try { Results.WriteScenarioHeading("Home_06 - View a Specific Product - ProductID: " + Common.productID + " (by updating URL"); home = home.NavigateToApplication(); ViewProduct prod = home.ViewSpecificProduct(Common.productID); Results.EndReport(); } catch (Exception e) { Logging.LogStop(e); throw; } }