logo       

error management: msg#00096

web.selenium.user

Subject: error management

Hello all,

maybe my user-extensions.js is wrong.

Selenium.prototype.assertCmd = function (xxx)
{

if (xxx)
{
return (true);
}

var errorMessage = "error message";

throw new Error(errorMessage);
}


| verifyCmd | 0 | |

Test stops when the error occurs in the verifyCmd.
But verify command is continue on error.

Maybe, my code's throw is wrong.
What should I write code?

Thank you in advance and best regards,
neko bsd.


--------------------------------------
Know more about Breast Cancer
http://pr.mail.yahoo.co.jp/pinkribbon/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise