Close
jGuru Forums
Posted By: santha_vishnumalakala Posted On: Sunday, July 17, 2005 03:45 AM
Hi I am using JUnit in testing jsps which i used struts framework and executing in rad 6.0 In testing the form , I am submitting the form by using form.submit(form.getSubmitButton("action",Delete)) this same statement submitting the form two times.. this is happening only some cases(not for all submission) One reason i am expecting: these cases may have: To get the result it has to execute 3 or 4 database queries so because of response delay it is trying to execute twice(threads) The cases involve simple queries or simple code, executing only once and response coming properly. So can u give me some soluting to fix this.. (any setting of time delays or??) I dont know iam correct in this so please give me some solution for this I will be very thank ful to all Thanks in advance Thanks santha
Re: Problem in submitting the form while testing the jsp using JUnit
Posted By: santha_vishnumalakala Posted On: Tuesday, July 19, 2005 11:18 PM