Thursday, February 16, 2012
Handling Permission denied error for error using Seleium WebDriver
This summary is not available. Please
click here to view the post.
Wednesday, November 16, 2011
Key press events using selenium RC
To handle key press events like to press page down, tab key or other keys selenium RC supports this by passing ASCII code of keys to keyDownNative function.
Syntax:
keyDownNative(String keycode);
Example:
- For page down/scroll: keyDownNative("32"); //32 is ASCII code for space bar.
- To press tab key: keyDownNative("9"); // 9 is ASCII code for Tab.
Wednesday, November 9, 2011
Handling alert, prompt and confirmation box using Selenium RC
This article explain about how to deal with java script alert, prompt and confirmation box.
Copy below html code and save it as test.html.
<html>
<head>
<script type="text/javascript">
Copy below html code and save it as test.html.
<html>
<head>
<script type="text/javascript">
Subscribe to:
Posts (Atom)