Issue Details (XML | Word | Printable)

Key: APF-286
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Alex Turetsky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

Expected ".*Main Menu.*" but got "Person Detail | AppFuse

Created: 03/Mar/06 12:39 PM   Updated: 08/Jul/06 11:18 PM   Resolved: 08/Jul/06 11:18 PM
Return to search
Component/s: Documentation
Affects Version/s: 1.9
Fix Version/s: 1.9.2

Environment: Expected ".*Main Menu.*" but got "Person Detail | AppFuse


 Description  « Hide
I get this error when running test-canoo -Dtestcase=PersonTests
>
> [webtest] (host.Window 140 ) window.confirm("Are
> you sure you want to delete this Person?") no confirm handler installed
> [webtest] (steps.Step 322 ) >>>> Start Step:
> verifytitle "display Main Menu" (10/12)
> [webtest] (steps.Step 553 ) Exception thrown from
> this class: com.canoo.webtest.engine.StepFailedException
> [webtest] (steps.Step 555 ) Message was: Wrong
> document title found! Expected ".*Main Menu.*" but got "Person Detail | AppFuse"
>

Here's Matt's fix:

                <prepareDialogResponse description="Confirm delete"
dialogType="confirm" response="true"/>
                <clickbutton label="${button.delete}"
description="Click button 'Delete'"/>
                <verifyNoDialogResponses/>

Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.