diff --git a/Ocaramba.Tests.NUnitExtentReports/Tests/SelectWebElementTests.cs b/Ocaramba.Tests.NUnitExtentReports/Tests/SelectWebElementTests.cs index c13581ca..bd74f263 100644 --- a/Ocaramba.Tests.NUnitExtentReports/Tests/SelectWebElementTests.cs +++ b/Ocaramba.Tests.NUnitExtentReports/Tests/SelectWebElementTests.cs @@ -23,7 +23,7 @@ public void SelectByIndexTest() dropdownPage.SelectByIndex(1); - Assert.AreEqual(dropdownPage.SelectedOption(), ExpectedOption); + Assert.That(dropdownPage.SelectedOption(), Is.EqualTo(ExpectedOption)); test.Info("Verifying selected option, expected: " + ExpectedOption); }