When does "AssertionFailedError" error occur in ruby?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Amit Bobade
    New Member
    • May 2011
    • 1

    When does "AssertionFailedError" error occur in ruby?

    I am new to ruby. I am using Selenium with ruby. There is a condition where I am checking for the equality of the strings. When I am equating the strings with

    Code:
     assert_equal(String1, String2)
    Then it is showing error: AssertionFailed Error

    So please tell me, when does "AssertionFaile dError" error occur in ruby?
    Last edited by Meetee; May 26 '11, 12:54 PM. Reason: code tags are added: [CODE][/CODE]
Working...