You need to sign in to do that
Don't have an account?
rajmul
how to pass values to testmethod
hi everybody..can anyone help me to write test class and how to pass values to variable objstdwrap?? here i want to send null values..
public class stdcont
{
stdWrapper objstdWrap = stdResults.get(stn);
if( obstdjWrap != NULL )
{
some code logic here..
}
}
thanks in advance.
regards
rajmul
You can create properties in the class to set and get value of the required variables. From the test class, you create instance of the class and use set property method.
All Answers
You can create properties in the class to set and get value of the required variables. From the test class, you create instance of the class and use set property method.