Despite the name, the Selenium RC (Remote Control) server is often run on the same machine as the testing framework, which makes saving screenshots to disk quite easy. If however you are running Selenium RC on a separate machine, or are using Selenium Grid it can become more difficult as the screenshots are also saved on the remote machines.Read More »Capturing screenshots from remote Selenium RC
One of the big differences between Selenium IDE and a Selenium RC solution is the ability to perform ‘soft’ assertions. Selenium IDE users can append commands with
assert to determine whether the test execution should stop when a failure is observed. A popular use for this is to first assert that you are on the correct page (
assertTitle) and then verify elements on the page. If you were only able to
assert then your tests may fail early on, not revealing further failures that may exist.
Due to the impressive response to the first London Selenium Meetup event, I am pleased to announce that I have increased the RSVP limit from… Read More »London Selenium Meetup increases RSVP limit
dragAndDropToObject command works really well in Selenium, however it does have some limitations. One such limitation I came across recently while writing tests for an ExtJS web application: when your destination object is in a scrolling box (and not in view) the command fails.
Automating an ExtJS web application can be difficult due to the dynamic nature of the page. For example, the majority of unique ID attributes in the HTML will be different between builds, which causes problems locating elements reliably. Another issue is selected items from a ComboBox, which is not a normal HTML
<select> element, but an
<input> that is populated from data in a completely separate section of the DOM.