bool isThere = browser.TextField(Find.ById("textbox1")).Exists;
How to check whether a textbox is present in a webpage or not using watin
質問
I'm using watin and nunit in my project and I would like to know is there any way to find whether a textbox is present in a webpage or not I tried the following code but its not working
if (browser.TextField(Find.ById("textbox1")) != null)
{
return true;
}
else
{
return false;
}
So how can i check whether a textbox is present or not in a webpage using watin???
解決
所属していません StackOverflow