Showing posts with label selenium IDE. Show all posts
Showing posts with label selenium IDE. Show all posts

Monday, 18 March 2013

Difference between Selenium IDE, Selenium RC, Selenium Webdriver

Hi,

Selenium IDE
Selenium RC
Selenium Web-driver
Only works on Mozilla Firefox
Works on almost all browsers.Does not work on latest version of Firefox/IE
Works on latest versions of almost all browsers - Firefox, IE(6,7,8), Opera, Chrome
Record and play/run tool
No Record and run
No Record and run
No server required to start
Server is required to start
No server required to start
Core engine is JavaScript based
Core engine is JavaScript based
Interacts natively with browser application
Very simple to use. If using User extensions, you require knowledge on java script which makes the work a little bit tough.
Its a simple and small API
Complex and a bit large API as compared to RC
Not at all object oriented
Less Object oriented API
Purely Object oriented API
Cannot move mouse with it
Cannot move mouse with it
Can move mouse cursor
Full xpaths have to be appended with 'xapth=\\' syntax
Full xpaths have to be appended with 'xapth=\\' syntax
No need to append 'xpath=\\'
No Listeners
No Listeners
Implementation of Listeners is provided
Cannot test iPhone/Android applications
Cannot test iPhone/Android applications
Can test iPhone/Android applications


Happy Testing.

Thursday, 14 February 2013

Record the script using selenium IDE plug-in

This post will help the beginner how to record and convert the test case. Before moving into to the steps to record the script make sure Selenium IDE plug-in is installed in firefox browser. Once its done lets begin how to record the script.

Steps to record script using Selenium IDE:

  1. Open the Firefox browser
  2. Click on "Tools" tab
  3. Click on "Selenium IDE" option or use the "Ctrl+Alt+S" to open the selenium IDE
  4. Selenium IDE will be in record mode once its started
  5. Open the URL and execute the scenario which need to be recorded

Note: Do not make any other action in firefox while recording the script.

Save and Convert the recorded script:
  1. Once the scenario is recorded using selenium IDE click on "File" tab
  2. Click on Save Test case
  3. Choose the location, specify the name and change the save as type to HTML format
  4. Click on Save button
  5. Again click on File tab
  6. Choose Batch Convert Testcases-->Java/Junit 4/Remote Control
  7. Choose the script which was saved in HTML format and click on open
  8. Alert popup will be triggered saying "Converted 1 Test case"








Thursday, 7 February 2013

Batch convert testcases/script issue in selenium IDE 1.10.0

Hi,

After successful start in selenium training. Started to record the script using selenium IDE. Once done with the recording i struggle to convert the recorded script to use it in java eclipse IDE for further modifications. Later i found that there were no batch convert test cases and batch convert test suits present in selenium IDE 1.10.0 version. I was confessed and was looking how can i resolve this issue. After some point of time one of colleague who helped me to solve this issue by adding an plug-in/add-on to the Firefox browser.

Steps to resolve batch convert test cases and batch convert test suits issue:

  1. Open the Firefox browser
  2. Google Test Suite Batch Converter  or open the https://addons.mozilla.org/en-us/firefox/addon/test-suite-batch-converter-sel/ URL
  3. Click on Add to Firefox button
  4. Click on "Install" button once its enabled
  5. Restart the Firefox
Thanks.