I posted other posts too for "storeEval". Click here to view more tutorials of selenium IDE "storeEval" command. In software testing using selenium IDE, many times you needs to verify or compare the number of records list during activity like searching, adding or deleting records. Generally, record count displayed onpage like "24500 records found.", "24500 records available." or "24500 orders found." etc. Now if you store this full string to compare records then it is not possible. For comparing numbers, you need to extract numeric value from string. Let me give you example of extracting number from string.
|store||24500 Records Found.||string|
|gotoIf||storedVars['number'] >= 225||greater|
|echo||Records are less than expected...|
|echo||Records are greater than expected...|