Example #1
0
 /// <summary>
 /// Function to select product to be configured
 /// </summary>
 /// <param name="ProductType"></param>
 /// <returns></returns>
 public QuotePage SelectProduct(string ProductType)
 {
     //Do not remove below Wait. This is essential to ensure that products have loaded as per updated dimensions
     Thread.Sleep(2000);
     driver.WaitForElementToBecomeVisibleWithinTimeout(ProductCode, 10000);
     ProductCode.EnterText(ProductType);
     Thread.Sleep(200);
     ProductCode.SendKeys(Keys.Enter);
     _logger.Info($": Successfully selected the product {ProductType}");
     return(this);
 }