public A2RimiBestSellingProductsPage CheckIsCompareSecondProductText()// + { string compareSecondProductText = _compareSecondProductText.Text; GetWait().Equals(ExpectedConditions.Equals(_checkSecondProductText, compareSecondProductText)); Assert.AreEqual(_checkSecondProductText.Text, compareSecondProductText, "Text is not the same. Check screenshot!"); return(this); }
public A3RimiForOwnBarPage CheckIsCompareFirstProductText() { string compareFirstProductText = _compareFirstProductText.Text; GetWait().Equals(ExpectedConditions.Equals(_checkFirstProductText, compareFirstProductText)); Assert.AreEqual(_checkFirstProductText.Text, compareFirstProductText, "Text is not the same. Check screenshot!"); return(this); }