Cross Browser Selenium Testing with TestingBot an introductory guide by Jochen Delabie December 2011
What is Selenium? <ul><ul><li>Selenium is the industry-standard framework to perform functional tests on browsers. </li></...
TestingBot.com - Run Selenium tests <ul><li>With TestingBot.com you can run cross browser tests in an easy way. </li></ul>...
Example of a Selenium Test <ul><li>Running your first test is easy, see the example below: </li></ul><?php class ExampleTe...
Selenium Grid <ul><li>Selenium Grid is a network of Selenium RC nodes, supporting the selenium and Webdriver protocol. </l...
CI - Continuous Integration <ul><li>While developing your app, it is convenient to have something that will run your tests...
Selenium Testing - The Future <ul><li>In the near future we'll see more focus on mobile app testing and faster testing wit...
Questions <ul><li>Any questions? We love feedback. </li></ul>
Upcoming SlideShare
Loading in …5
×

Selenium Testing with TestingBot.com

1,788
-1

Published on

Talk about how easy it is to run Selenium tests on TestingBot.com

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
1,788
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
24
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide
  • Talk about Selenium, the easy of cross browser testing and TestingBot.com
  • Talking about Selenium, why it is useful and how easy it is to use Selenium IDE and immediately start writing Selenium tests.
  • At TestingBot.com we provide easy to use Selenium testing by providing plugins. With these plugins one can easily use TestingBot&apos;s infrastructure to run the tests on. You can also see immediate results with the video recording of the test and screenshots of the Selenium test.
  • An example of running a PHPUnit Selenium test on TestingBot.com. It&apos;s very easy to set up by using PEAR and PHPUnit.
  • Selenium Grid is a network of Selenium RC nodes. At TestingBot.com we use Amazon EC2 to host these nodes and run cross browser tests via Selenium.
  • A lot of companies use Continuous Integration systems like Jenkins. TestingBot&apos;s system provides an easy way to run tests on a regular basis. We&apos;ll alert you when something is broken.
  • Future about Selenium and Webdriver, talk about Jenkins and Selenium in general.
  • Selenium Testing with TestingBot.com

    1. 1. Cross Browser Selenium Testing with TestingBot an introductory guide by Jochen Delabie December 2011
    2. 2. What is Selenium? <ul><ul><li>Selenium is the industry-standard framework to perform functional tests on browsers. </li></ul></ul><ul><ul><li>It has been around for years, still active development. </li></ul></ul><ul><ul><li>Using Javascript or client API to control browsers. </li></ul></ul><ul><ul><li>Easy to learn and use with the Selenium IDE </li></ul></ul><ul><ul><li>Write a test once, run it across multiple browsers and platforms. </li></ul></ul>
    3. 3. TestingBot.com - Run Selenium tests <ul><li>With TestingBot.com you can run cross browser tests in an easy way. </li></ul><ul><ul><li>Create a Selenium test </li></ul></ul><ul><ul><li>Use one of our plugins </li></ul></ul><ul><ul><li>Run the test on the browsers you want </li></ul></ul><ul><ul><li>Instantly see test results: screenshots and video of the test running </li></ul></ul>
    4. 4. Example of a Selenium Test <ul><li>Running your first test is easy, see the example below: </li></ul><?php class ExampleTest extends PHPUnit_Extensions_TestingBotTestCase {     public static $browsers = array(             array(                 'name' => &quot;Windows firefox 8&quot;,                 'platform'       => 'Windows',                 'browser'        => 'firefox',                 'browserVersion' => '8'             )         );     protected function setUp()     {         $this->setHost('hub.testingbot.com');         $this->setPort(4444);         $this->setBrowserUrl('http://www.google.com/');     }     public function testTitle()     {         $this->open('/');         echo $this->getEval('window.location.href');     } }
    5. 5. Selenium Grid <ul><li>Selenium Grid is a network of Selenium RC nodes, supporting the selenium and Webdriver protocol. </li></ul><ul><li>The grid we use on TestingBot.com contains nodes hosted on Amazon's Cloud Infrastructure. We support all major browsers: </li></ul><ul><ul><li>IE </li></ul></ul><ul><ul><li>Firefox </li></ul></ul><ul><ul><li>Safari </li></ul></ul><ul><ul><li>Chrome </li></ul></ul>
    6. 6. CI - Continuous Integration <ul><li>While developing your app, it is convenient to have something that will run your tests on a timely basis to verify if nothing breaks. </li></ul><ul><li>At TestingBot.com we provide a feature where we run your tests on the interval you specify and alert you when something is wrong. This way you can easily fix bugs. </li></ul>
    7. 7. Selenium Testing - The Future <ul><li>In the near future we'll see more focus on mobile app testing and faster testing with WebDriver. </li></ul><ul><li>At TestingBot.com we'll focus on mobile testing, Jenkins support and Selenium integration plugins. </li></ul>
    8. 8. Questions <ul><li>Any questions? We love feedback. </li></ul>

    ×