Sry i cannot post any code, but i hope i was clear enough!
check Box List in the statement below is being set to null. I've tried Element By Name and Element By Id same results.
var check Box List = Element By Id(ch You would need to modify the function to accept another parameter, because I am only passing one you are passing two.
Net control's values in variables so it cannot be repeated again and again in our function the email Exp variable holds the pattern of the email id in the form of a regular expression.
Now add the condition to ensure that all controls have a value, if the values are not entered in the form control then it will show a message.