Dashboard > Selenium > ... > Contributed User-Extensions > assertEquals
Selenium Log In View a printable version of the current page.
assertEquals
Added by Andrew, last edited by Andrew on Sep 07, 2007  (view change)
Labels: 
(None)

assertEquals extension

This extension allows you to compare elements and values to assert whether or not they are the same.

Adding this extension to selenium IDE:

Download the zip file from the attachments tab above and add the code to your 'user-extensions.js' (You will have to create this file if it does not already exists and add its path to selenium IDE in Options -> Options):

Testing the extension

Run the testAssertEquals.html

Usage

assertEquals 20 20
assertEquals 10 20

Site running on a free Atlassian Confluence Community License granted to OpenQA. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.6 Build:#812 Aug 06, 2007) - Bug/feature request - Contact Administrators