Selenium IDE - assertExpression(expression, pattern)

assertExpression(expression, pattern) Generated from getExpression(expression) Arguments: * expression - the value to return Returns: the value passed in Returns the specified expression. This is useful because of JavaScript reprocessing. It is used to generate commands like assertExpression and waitForExpression. [More]

Currently rated 1.0 by 1 people

  • Currently 1/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: wiki
Posted on: 12/11/2008 at 5:24 PM
Tags: , ,
Categories: Software Testing
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Selenium IDE - assertEval(script, pattern)

assertEval(script, pattern) Generated from getEval(script) Arguments: * script - the JavaScript snippet to run Returns: the results of evaluating the snippet Gets the result of evaluating the specified JavaScript snippet. The snippet may have multiple lines, but only the result of the last line will be returned. Note that, by default, the snippet will run in the context of the "selenium" object itself, so this will refer to the Selenium object. Use window to refer to the window of your application, e.g. window.document.getElementById('foo') If you need to use a locator to refer to a single element in your application page, you can use this.browserbot.findElement("id=foo") where "id=foo" is your locator. [More]

Currently rated 3.0 by 1 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: wiki
Posted on: 12/11/2008 at 5:23 PM
Tags: , ,
Categories: Software Testing
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (58) | Post RSSRSS comment feed

Selenium IDE - assertElementWidth(locator, pattern)

assertElementWidth(locator, pattern) Generated from getElementWidth(locator) Arguments: * locator - an element locator pointing to an element Returns: width of an element in pixels Retrieves the width of an element [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: wiki
Posted on: 12/11/2008 at 5:22 PM
Tags: , ,
Categories: Software Testing
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (2) | Post RSSRSS comment feed