Closed Bug 505336 Opened 16 years ago Closed 14 years ago

Can't automate adding attendee

Categories

(Testing Graveyard :: Mozmill, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: merike, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; et; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) Build Identifier: Event dialog test of bug #500469 is blocked because an input in attendees list can't be located. Reproducible: Always Steps to Reproduce: 1. Create a local calendar and attach a mail account to it. 2. Run attached testcase. 3. Comment out first throw. 4. Run testcase again. Actual Results: First run throws Error: [Exception... "'xul:image person-icon' when calling method: [nsIObserver::observe]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] Second run throws Error: [Exception... "'Expression "[1]" returned null. Anonymous == false' when calling method: [nsIObserver::observe]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] Expected Results: I expect second run to throw [Exception... "'xul:hbox textbox-input-box' when calling method: [nsIObserver::observe]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] because that is following the image according to DOM inspector.
Attached file Testcase
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 500469
Mikeal, thoughts on this?
Merike, is that still an issue?
This dialog is crazy! The attendee list from DOM-inspector is such that the first list element is address row and the second is dummy row. To access address row the right index to use in lookup is 1 instead of 0 because address row contains a child element in html namespace which is reached at index 0. So apparently something in the original testcase' lookups was wrong. These elements are found when using correct lookup string. Nothing pretty but it does work even when entering two attendees in a row.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: