I guess an easier way to say what I said previously is the following.

I am not sure that Webtest will track dynamic changes (AJAX or the like)
in the content of a page. That is, the <OPTION> tags are added
programmatically after the first selection is made;
   <setSelectField name="order" text="Anseriformes"/>.

My guess is there is some way to track dynamic changes but I do not know
it.

George

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Xiaomei Li
Sent: Tuesday, April 08, 2008 2:24 PM
To: Forsberg, Mike; [EMAIL PROTECTED]
Subject: RE: [Webtest] Need help on select option from hidden
selectField

For exampel, in this url:
http://www.biohealthbase.org/GSearch/influenza_surveillanceRecord_search
.do?method=ShowCleanSearch&decorator=influenza
I try to select Host order = Anseriformes; family =
Anatidae (Waterfowl) and run the search.  The test
script is like this:

<setSelectField name="order" text="Anseriformes"/>
<setSelectField name="family" text="Anatidae
(Waterfowl)"/>
<clickButton label="Go"/>

but got error no option element found with text
"Anatidae (Waterfowl)".

thanks,
Xiaomei

--- "Forsberg, Mike" <[EMAIL PROTECTED]> wrote:

> From my understanding hidden fields should be set
> via execution of some
> javascript.  For instance, how would a user set this
> value if they were
> visiting your webpage?
> 
> Could you give a small example of your webpage and
> what error you've
> experienced?
> 
> Big Mike
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Xiaomei Li
> Sent: Tuesday, April 08, 2008 3:58 PM
> To: [EMAIL PROTECTED]
> Subject: [Webtest] Need help on select option from
> hidden selectField
> 
> Hi,
> The web application I am testing has some hidden
> select fields that handled by javascript.  I tried
> to
> select an option from the hidden selectfield and got
> webtest error.  Anyone knows how to handle this?
> 
> Thanks,
> Xiaomei
> 
> 
>  
>
________________________________________________________________________
> ____________
> You rock. That's why Blockbuster's offering you one
> month of Blockbuster
> Total Access, No Cost.  
> http://tc.deals.yahoo.com/tc/blockbuster/text5.com
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 
> 
> 



 
________________________________________________________________________
____________
You rock. That's why Blockbuster's offering you one month of Blockbuster
Total Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to