I have something like:
string result = Selenium.GetText("/html/body/form/div[2]");
if (result.Contains("test")
{
bool found = true;
}
else
{
found = false;
}
My problem is using result.Contains()
returns false if there are tests, testing, etc. Also returns false for uppercase TEST, Test, etc
Is there another method that would match each character? Something like: result.Match("test");
Thanks for helping me out.