4 messages in com.canoo.lists.webtestRe: [Webtest] How to get a region sel...
FromSent OnAttachments
Cail...@kp.org19 Dec 2005 15:46 
Cail...@kp.org20 Dec 2005 09:26 
Cail...@kp.org20 Dec 2005 13:21 
Paul King20 Dec 2005 21:08 
Subject:Re: [Webtest] How to get a region selected?
From:Cail...@kp.org (Cail@kp.org)
Date:12/20/2005 01:21:36 PM
List:com.canoo.lists.webtest

I found I still need you guys help. Although I could get the region selected, I had no ideas how to summit with the "Continue" button. The "Continue" button is shown as follows

Please select a geographic area so that we can provide you with information customized for that region.

and it was specified by the following html code

<td width="68"><a href="javascript:submitForm('SelectRegionForm')" onmouseover="swapImg('cont0','/kpweb/image/segment/forms/continue_c_1.gif')" onmouseout="swapImg('cont0','/kpweb/image/segment/forms/continue_c_0.gif')"><img src="/kpweb/image/segment/forms/continue_c_0.gif" width="79" height="20" alt="Continue" border="0" name="cont0" id="cont0" /></a></td>

I tried it with <clickButton description="Click the Continue button" label="Continue" />, but got the build failed with "No button found" message.

Thank you in advance for any inputs,

Cailong

Cailong Zhang/CA/KAIPERM@KAIPERM Sent by: webt@lists.canoo.com 12/20/2005 09:27 AM Please respond to webtest

To: webt@lists.canoo.com cc: WebT@lists.canoo.com, webt@lists.canoo.com Subject: Re: [Webtest] How to get a region selected?

I figured it out. The region can be selected with

<setSelectField description="Select the SelectRegionForm with California - Northern" name="regionId" value="MRN" />

Regards,

Cailong