[Webtest] re: Click tab function??

Diana Diana" <diana@retive.com
Wed, 11 Oct 2006 15:07:52 +0800


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:
<a href="javascript:submitTab('userdetails.do');" tabindex="10" 
class="unselected">Add</a>

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?

Diana

----- Original Message ----- 
From: "Marc Guillemot" <mguillemot@yahoo.fr>
To: <webtest@lists.canoo.com>
Sent: Wednesday, October 11, 2006 2:28 PM
Subject: Re: [Webtest] re: Click tab function??


>
> 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.
>>
>> Diana
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/re%3A-Click-tab-function---tf2420881.html#a6751026
> Sent from the WebTest mailing list archive at Nabble.com.
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>