Q7

Test results in FALSE success with failed assertions inside listen block.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.17
  • Fix Version/s: 1.2.18
  • Component/s: Runtime
  • Labels:
    None
  • Test Mode:
    Manual

Description

See the related ticked http://support.xored.com/helpdesk/tickets/109

Test example:

listen -source errorLog -while {

get-view "Q7 Explorer" | get-tree | get-menu "New/Project..." | click
with [get-window "New Project"] {
    get-tree | select "General/Project"
    get-button "Next >" | click
    get-editbox -after [get-label "Project name:"] | set-text MyProject
    get-button Finish | click
}



get-view "Q7 Explorer" | get-tree | get-property itemCount | equals 0 | verify-true
}

This test will pass although the assertion fails.
Test will pass even if you have some typos in ECL script inside listen block.

Activity

Ulyana Skorokhodova made changes - 07/Mar/13 10:39 AM
Field Original Value New Value
Description Test example:

{code}

listen -source errorLog -while {

get-view "Q7 Explorer" | get-tree | get-menu "New/Project..." | click
with [get-window "New Project"] {
    get-tree | select "General/Project"
    get-button "Next >" | click
    get-editbox -after [get-label "Project name:"] | set-text MyProject
    get-button Finish | click
}



get-view "Q7 Explorer" | get-tree | get-property itemCount | equals 0 | verify-true
}

{code}

This test will pass although the assertion fails.
Test will pass even if you have some typos in ECL script inside listen block.
See the related ticked http://support.xored.com/helpdesk/tickets/109

Test example:

{code}

listen -source errorLog -while {

get-view "Q7 Explorer" | get-tree | get-menu "New/Project..." | click
with [get-window "New Project"] {
    get-tree | select "General/Project"
    get-button "Next >" | click
    get-editbox -after [get-label "Project name:"] | set-text MyProject
    get-button Finish | click
}



get-view "Q7 Explorer" | get-tree | get-property itemCount | equals 0 | verify-true
}

{code}

This test will pass although the assertion fails.
Test will pass even if you have some typos in ECL script inside listen block.
Andrey Sobolev made changes - 07/Mar/13 2:42 PM
Assignee Sergey Sitnikov [ sergey ] Andrey Sobolev [ andrei.sobolev ]
Andrey Sobolev made changes - 07/Mar/13 7:21 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    07/Mar/13 10:34 AM
    Updated:
    07/Mar/13 7:21 PM
    Resolved:
    07/Mar/13 7:21 PM