Tag Info

New answers tagged

0

Assume that your text box has an ID eg: app_title, you can hover over it using element = @driver.find_element(:id,"app_title") @driver.action.move_to(element).perform This will place the mouse focus on the textbox and you will see your edit icon on the screen. After that it is simple, you can click on it using ...


0

Assuming I understand your question correctly... You should store the ID (of the window you're trying to close) in a variable. After calling the close method, check if the window ID still exists. If it does, something went wrong. Example in C#. Instead of the String.Equals check, you can also get a list of all windowHandles and check if the specific handle ...


0

What tool are you using to interact with the DOM? If you are using selenium, ENTER is an available keypress event that you can trigger on a particular element: http://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/Keys.html. If you are testing with javascript, you can trigger a keypress directly: var e = $.Event('keypress'); e.which = ...


2

WebDriverJs is just the driver to control the browser. For the tests itself I recommend a JavaScript based testing framework like QUnit or Mocha. The test framework take care of the test reports. Mocha is also mentioned on the WebDriverJs wiki page. You can find more information about how the reporting works on the official websites. QUnit: Bottom left of ...



Top 50 recent answers are included