7 messages in com.canoo.lists.webtestRe: [Webtest] re: Click tab function??
FromSent OnAttachments
Diana10 Oct 2006 19:41 
Marc Guillemot10 Oct 2006 23:28 
Diana11 Oct 2006 00:07 
Marc Guillemot11 Oct 2006 03:56 
Diana11 Oct 2006 19:16 
Marc Guillemot12 Oct 2006 05:40 
Diana12 Oct 2006 18:59 
Subject:Re: [Webtest] re: Click tab function??
From:Marc Guillemot (mgui@yahoo.fr)
Date:10/11/2006 03:56:43 AM
List:com.canoo.lists.webtest

Hi,

clickLink is the correct step to use. Are you really on the right page? WebTest normally shows you the links it finds in the error message.

Session should be maintained automatically, perhaps have you a cookie format problem.

Marc.

Diana-10 wrote:

Hi marc, Thanks for replying to my msg. I've try <clickLink description="Click tab: Add" label="Add" /> but this isnt working. It displayed an error " Link not found in page".

This is my html code for the click on "add" tab: javascript:submitTab('userdetails.do'); Add

this is not a click link but a JS function. how can i write for the webtest so that it click on the "add" tab and move on to the next page? And FYI, my sessions always log out when i moved on to another page. how can i maintain a session?

Hi Diana,

what do you think with "clickLink doesn't work"? It would be the correct way to click this link (clickElement doesn't provide any additional functionnality).

Marc.

Diana-10 wrote:

Hi,

Is there any click tab function in webtest to be used for this:

javascript:submitTab('userdetails.do'); Add

clickLink does not work. clickElement does not work as well as there's no htmlId available for use.