Ticket #262 (closed enhancement: fixed)

Opened 2 months ago

Last modified 2 weeks ago

Selenium tests of CoffeeMaker and Appcelerator Calendar Throws Exceptions

Reported by: fcohen Owned by:
Priority: critical Milestone:
Version: 5.2 Keywords:
Cc:

Description

This ticket builds a new example_agents sample test for the CoffeeMaker? and Appcelerator Calendar applications.

Attachments

CoffeeMakerTest.selenium (0.8 kB) - added by fcohen 2 months ago.
CoffeeMakerTest.py (0.9 kB) - added by fcohen 2 months ago.
CalendarTest.selenium (0.8 kB) - added by fcohen 2 months ago.
Selenium test of Appcelerator Calendar test app

Change History

Changed 2 months ago by fcohen

I attached a test of the CoffeeMaker? example application. The test operates without exception when played back in Selenium IDE (beta 2) on Firefox 2.0.15. I use the Denli export function from Selenium IDE and get the attache CoffeeMaker?.py unit test. When I run the test in TestMaker using denali-unit.jar (now included in TestMaker 5.2 later than beta 5) I get:

start
Jul 2, 2008 5:46:41 PM be.denali.test.SeleniumHTMLUnit open
INFO: open: opened url = /BrewBizWeb/coffee.html
Jul 2, 2008 5:46:41 PM be.denali.test.SeleniumHTMLUnit type
INFO: type: element input set to Frank
Jul 2, 2008 5:46:41 PM be.denali.test.SeleniumHTMLUnit click
WARNING: click: ignoring click on what looks like an unsupported input element : HtmlButtonInput[<input onclick="orderCoffee()" value="Order Coffee" type="button">]
Jul 2, 2008 5:46:41 PM be.denali.test.SeleniumHTMLUnit type
INFO: type: element input set to Lorette
Jul 2, 2008 5:46:41 PM be.denali.test.SeleniumHTMLUnit click
WARNING: click: ignoring click on what looks like an unsupported input element : HtmlRadioButtonInput[<input name="sizegroup" id="largesize" value="large" type="radio">]
Jul 2, 2008 5:46:41 PM be.denali.test.SeleniumHTMLUnit type
INFO: type: element input set to Carol
Jul 2, 2008 5:46:41 PM be.denali.test.SeleniumHTMLUnit click
WARNING: click: ignoring click on what looks like an unsupported input element : HtmlRadioButtonInput[<input name="bevgroup" id="latte" value="latte" type="radio">]
Jul 2, 2008 5:46:41 PM be.denali.test.SeleniumHTMLUnit click
WARNING: click: ignoring click on what looks like an unsupported input element : HtmlButtonInput[<input onclick="orderCoffee()" value="Order Coffee" type="button">]
done

See the attached test.

-Frank

Changed 2 months ago by fcohen

Changed 2 months ago by fcohen

Changed 2 months ago by fcohen

Selenium test of Appcelerator Calendar test app

Changed 6 weeks ago by jack

Here is what I got,


Agent stopped.


Agent error: Traceback (innermost last):

File "<string>", line 4, in ?

ImportError?: cannot import name SeleniumHTMLUnit

Changed 2 weeks ago by fcohen

  • status changed from new to closed
  • resolution set to fixed

Confirmed works.

Note: See TracTickets for help on using tickets.