Jeff
Posts: 1
Nickname: olddog
Registered: Feb, 2005
|
|
Re: JWebUnit - A Godsend
|
Posted: Feb 10, 2005 11:22 AM
|
|
Has anyone else had any problems using JWebUnit? It is not able to find elements on my page. I think it may be because they are inside a , but don't know for sure. Is there anyone out there willing to help me? I am sure I have the names right. I checked them again and again and again.
assertTitleEquals(""); assertFormPresent("webReg"); // none of this works. I don't know why //assertTablePresent("offerTbl"); //assertFormElementPresent("wlw-select_key:{actionForm.card_type}"); //assertFormElementPresent("card_type_Element1"); //assertFormElementPresent("wlw-radio_button_group_key:{actionForm.pmt_type}"); //assertRadioOptionPresent("wlw-radio_button_group_key:{actionForm.pmt_type}", "pmt_type_Element0"); //assertRadioOptionPresent("wlw-radio_button_group_key:{actionForm.pmt_type}", "pmt_type_Element1"); //assertRadioOptionSelected("wlw-radio_button_group_key:{actionForm.pmt_type}", "pmt_type_Element0"); //assertFormElementPresent("{actionForm.card_number"); //assertFormElementPresent("wlw-select_key:{actionForm.expire_mm}"); //assertFormElementPresent("wlw-select_key:{actionForm.expire_yy}"); //assertLinkPresent("cnclLnk"); assertButtonPresent("nxtBtn");
//selectOption("wlw-select_key:{actionForm.card_type}", "card_type_Element1") ;
Thanks
|
|