[Webtest] re: Click tab function??

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Wed, 11 Oct 2006 03:57:06 -0700 (PDT)


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?
> 
> 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
>> 
> 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 
> 

-- 
View this message in context: http://www.nabble.com/re%3A-Click-tab-function---tf2420881.html#a6754273
Sent from the WebTest mailing list archive at Nabble.com.