Hi,
Iam
testing a web application. in that my testcase is to test the login to the application.
iam able to open the URL of the application and able to enter the Username and Password using Code.
Iam getting Nullpointer Exception Error when i try to click in the Sigh In button to login to the application.
can any one help me how to do this
here is my code
WebForm wf=jdoc.getForms()[0];// to get the details of the current form
SubmitButton saveButton = wf.getSubmitButton( "Sign In", "Sign In" );// for clicking the submit button
wf.submit(saveButton);
Regards,
Ranganath