开发者

Selenium.SeleniumException: ERROR: Command execution failure

Pleas开发者_运维技巧e search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Permission denied

I am getting error when i am trying to execute Selenium.IsElementPresent(ticketLocator)

Help me!!


Yeah got the answer. Basically with the selenium I was clicking a button and then directly calling this

Selenium.IsElementPresent(ticketLocator)

and not waiting for the page to load.

Selenium.Click(elementId);
Selenium.WaitForPageToLoad(milliseconds.ToString()); // milliseconds

So now after clicking I am waiting for 3 seconds and it started working fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜