Selenium
Selenium Documentation
We have uploaded some Selenium documentation to www.cloudtesting.com/selenium-docs/
You can also view it at selenium.cloudtesting.com/ and of course it available from seleniumhq.org
Processing Javascript with Selenium
To allow you to create dynamic testing scripts, i.e. ones where the information entered onto forms, such as dates change over time, Cloud Testing has implemented the processing of JavaScript.
Stored Variables
The commands store, storeValue and storeText can be used to store a variable value for later.
Store
javascript{var d=new Date(); d.toString()}
dateToday
Store
javascript{var d=new Date(); d.setDate(d.getDate() + [...]
Selecting which browser to use for Selenium test in Cloud Testing
Cloud Testing have just released a new feature, which allows you to choose which of the available browsers you would like to run your test / Selenium script with.
Once you have clicked on the ‘Test’ button, the following dialog appears:
If you are happy with the default browser for this project – in this case Internet [...]
Firefox updated on Cloud Agents – 3.0.15, 3.5.4 and 3.6 Beta 1
All of our Cloud Testing Agents have been updated with the latest releases of Firefox, i.e. 3.0.15 for the 3.0 release and 3.5.4 for the 3.5 release.
Version 2.0.0.20 remains available for those requiring a test on 2.0.
The Beta 1 release of the 3.6 browser has also been added to a number of agents to allow [...]
Firefox 3.6 Beta 1 is now available for download
The following posting on the Mozilla developer news (https://developer.mozilla.org/devnews/index.php/2009/10/30/firefox-3-6-beta-1-is-now-available-for-download/) announces 3.6 beta 1 of Firefox:
The Mozilla community is proud to release Firefox 3.6 Beta 1 for download. This beta version of the next version of Firefox is built on the Gecko 1.9.2 web rendering engine, containing many improvements for web developers, Add-on [...]
API to run your Selenium scripts on Cloud Testing servers now in beta
Cloud Testing has released a updated version of it’s Portal (http://portal.cloudtesting.com/) which now gives customers access to an API (Application Programming Interface). This will give users the ability to initiate tests on the Cloud Testing agents, as well as view the status of projects, scripts and results of individual tests in and XML format.
Cloud Testing [...]
RSS Feed for script results and project status now in Beta
Cloud Testing has released a updated version of it’s Portal (http://portal.cloudtesting.com/) which gives customers the ability to view the status of both projects and scripts in an RSS feed.
Cloud Testing allows users to run scripts captured with Selenium IDE in a selection of browsers, with full screen-shots and diagnostics recorded and stored for analysis. For [...]
1.5.6 Agent software
The latest Cloud Testing agent software has now been released.
All cookies are now removed using the Selenium command deleteAllVisibleCookies();
See the Updates section for details of all agent releases.
Using the Selenium Highlight command with Cloud Testing
There is a little used but handy Selenium command called Highlight. It as you might have guessed highlights an element on a web page, which when combined with the screen-shot capabilities of Cloud Testing comes into it’s own.
The syntax is:
highlight(locator)
Arguments:
locator – an element locator
Briefly changes the backgroundColor of the specified element yellow. Useful for [...]
HOWTO: Cookie manipulation with Selenium and Cloud Testing
As the Cloud Testing service uses Selenium RC, and real browsers such as Firefox, Internet Explorer, Safari, Chrome and Opera, cookie handling while running your test should be taken care of automatically. If however you want to do something special, you can override the default behaviour as follows:
Create Cookie
You can add cookies by using the [...]
