Selenium IDE has too many assertion commands and "assertTable" and "assertNotTable" are the part of them. "assertTable" and "assertNotTable" are useful to for table data assertion. Both are working opposite to each other. Both are looking for targeted text in to specified cell address. Based on the command, ifcondition will not match then command will fail and selenium IDE will stop its execution.
"assertTable" command will retrieve text from targeted cell address and compare it with text specified in value column. If both texts match then command will pass else it will return error like '[error] Actual value '25' did not match '24'' and selenium IDE will stop execution.
"assertNotTable" command works in opposite to "assertTable" command. If both texts will not match then it will be pass else it will return error like "[error] Actual value '25' did match '25'".
Look at bellow given example and run it in selenium IDE.
|assertTable||css=div > table.1.4||25|
|assertNotTable||css=div > table.1.4||26|
|assertNotTable||css=div > table.1.4||25|
|assertTable||css=div > table.1.4||24|
Looking for more Selenium IDE Command examples? Take a tour of this page.