1 message in com.canoo.lists.webtest[Webtest] webtest to verify error mes...
FromSent OnAttachments
Xiaomei Li17 Jun 2008 08:13 
Subject:[Webtest] webtest to verify error message in popup dialog box.
From:Xiaomei Li (xl@yahoo.com)
Date:06/17/2008 08:13:52 AM
List:com.canoo.lists.webtest

I am trying to verify the error message in a popup dialog box, but got http 500
error for the clickbutton step in the script. Here is the web site I am testing
-
http://www.biohealthbase.org/GSearch/mycobacterium_gene_search.do?method=ShowCleanSearch&decorator=Mycobacterium

When entering "abc" in the section 3 "Start" textbox, then clicking go, the
system will pop up an error message. I have the following script to verify it - <setSelectField description="select genomic location from list" name="strand" value="both" /> <setInputField description="enter an alpha character in the end location" name="start" value="abc" /> <expectDialogs description="set up pop up message expections"> <alert description="expect alert with save of dialog message" saveProperty="simpleDialog" /> </expectDialogs> <clickButton label="Go"/> <verifyProperty name="simpleDialog" regex="true" text="End must be an integer" /> Thanks, Xiaomei