Re: [Jwebunit-users] Newbie question -- please do not laugh -- JS button and popup window handling

2006-05-24 Thread Sayeem Ahmed
can you paste the code where you are trying to click on the button?-SOn 5/24/06, siqing wei <[EMAIL PROTECTED] > wrote: I am using JWebUnit to automating a test suite for a web application. I am facing a problem with button created through _javascript_ -- my click on the button does not get

[Jwebunit-users] simulation of https page

2006-05-16 Thread Sayeem Ahmed
Hi all,i've simulated http website using jwebunit. however, i need some way to use jwebunit to automate pages with https. is it possible? if not, can any one please suggest any alternative? things i would like to do is - log on to a website (for e.g. https://www.sayeem.com)buy something log outTha

Re: [Jwebunit-users] Field Size

2006-03-23 Thread Sayeem Ahmed
if you are using jwebunit/httpunit you should be able to get a handle of any field (be it text box, radio button or submit button ...) use that handle to get the field length. On 3/23/06, guilherme mello <[EMAIL PROTECTED]> wrote: Hi...How i do to test field size ? I need to test if the user typed

Re: [Jwebunit-users] JavaScript 'top' DOM object problem

2006-03-21 Thread Sayeem Ahmed
it might be a compatibility issue. please make sure exactly which version of jwebunit supports top DOM object. my expereince is in this kind of scenario try to revert to an old version and see whether you are still finding the same error. you may try it in another machine with the same config excep

Re: Re: [Jwebunit-users] jwebunit: Runtime exception for beginAt("/")

2005-12-21 Thread Sayeem Ahmed
Looks like you are trying to work with httpunit and jwebunit together. I am not sure whether you are allowed to do that or not. My understanding is you either use httpunit with junit or use jwebunit. The main idea behind implementing jwebunit was to make httpunit/junit less verbose. For example you

Re: [Jwebunit-users] GET and POST parameters

2005-12-21 Thread Sayeem Ahmed
Can you 'post' without using a form? I am not sure. However, by using JWebUnit (assuming you are using a form) you can simply implement a 'submit' method.WebForm form = resp.getFormWithName( "saome name" );       form.setParameter( param 1, param 2, );  //you can do it by name of every fieldfor

Re: [Jwebunit-users] No response found on previous post: ArrayIndexOutOfBoundsException

2005-08-24 Thread Sayeem Ahmed
Let's see the code where you are getting this error.On 8/24/05, pitchoo <[EMAIL PROTECTED]> wrote: Hi,I'm facing the same problem than the author of a postfrom the 15 june 2004... so I need help on this one.I found no solution to avoid this:"Hi I have a tapestry app that Im testing using jwebunit.

Re: [Jwebunit-users] InvocationTargetException Error

2005-06-22 Thread Sayeem Ahmed
Thanks Martin for your support. I appreciate it. I will let you know if any luck comes out. Regards, SayeemOn 6/22/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: Sayeem,There are 2 possibilities that come to mind:1. Fork your test: ant and junit have some troubles running in the samevirtual machi

[Jwebunit-users] InvocationTargetException Error

2005-06-15 Thread Sayeem Ahmed
I get the following error when I use WebTestCase. The same class runs ok without WebTestCase. However, I have to use webtestcase. Anybody has ever got this error? Any suggestion is highly appreciated. Thanks to every one for my previous question's clarification regarding checkRadioButton option in

[Jwebunit-users] How to click a radioButton using WebUnitTest?

2005-06-13 Thread Sayeem Ahmed
I don't find any way to click a radio button using WebUnitTest? Though I find clickButton, I need someway to click radio button. Does any body have any idea how to do that or is it (may be clickRadio) included in any present version of WebUnitTest? Regards--