7 messages in com.canoo.lists.webtestRE: [Webtest] Request & Session Elements
FromSent OnAttachments
Mrinal04 May 2005 05:54 
Marc Guillemot04 May 2005 06:13 
Mrinal04 May 2005 22:46 
Paul King05 May 2005 04:19 
Mrinal05 May 2005 04:22 
Paul King05 May 2005 05:58 
Mrinal09 May 2005 04:52 
Subject:RE: [Webtest] Request & Session Elements
From:Mrinal (mrin@patni.com)
Date:05/05/2005 04:22:54 AM
List:com.canoo.lists.webtest

I am using the simple html controls like textbox,checkbox,select etc..

-----Original Message----- From: webt@gate2.canoo.com [mailto:webt@gate2.canoo.com]On Behalf Of Paul King Sent: Thursday, May 05, 2005 4:50 PM To: webt@gate2.canoo.com Subject: Re: [Webtest] Request & Session Elements

Hi Mrinal,

What framework are you using. When you say controls, do you mean like WebLogic Controls/Pollinate Controls or something else?

Paul.

Mrinal wrote:

I am explaining u the scenario..

my url is login.do. which is called after action on login.jsp. but I am not able to test controls on the login.do.On this login.do ,there are 2 controls "userName" & "password" are common from login.jsp.Its recognizing these two controls. But there are 2 extra control also. Which its unable to solve that.

Can u tell how we can do this.

Mrinal

-----Original Message----- From: webt@gate2.canoo.com [mailto:webt@gate2.canoo.com]On Behalf Of Marc Guillemot Sent: Wednesday, May 04, 2005 6:44 PM To: webt@gate2.canoo.com Subject: Re: [Webtest] Request & Session Elements

with webtest you test the same as you would do using a "normal" browser. This means that you only see html pages (+js, pdf, ...) serveed by a webserver and it doesn't matter if they are static or generated using JSP, PHP, Perl or I don't no what.

Webtest is not the appropriate tool test tags, or logical workflow of a particular struts action as it: it can only test the results of this server side processing.

Marc.

Mrinal wrote:

I have gone through the canoo webtest .It looks fine in case of JSP and

HTML

file. But when I do this for STRUTS application ,facing some problem. Take a example -Like we have a login.jsp file which action is given as login.do which is mapped to LoginAction.java .In this action there are multiple forwards depend on the some server side validations. then we are setting one request element named "WORKGROUP" this action forwards to login.jsp also depend on the request element. In the login.jsp also we have uses <logic:empty> and

<logic:notEmpty>.After

checking these rendering some controls.

These controls I want to test through webtest.

Can anyone tell that is this possible to test the request or session elements through the webtest.

Warm Regards Mrinal K.