Q7

Ability to assert that error log is empty

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.0
  • Fix Version/s: 1.1.7
  • Component/s: ECL
  • Labels:
    None
  • Test Mode:
    Q7
  • Q7 test:
    EmptyErrorLog

Description

We need more general-purpose ECL commands to manipulate log plus Q7-related commands which allow to make custom assertions not related to UI elements. So that verification might look like this:
assert-equals -expected 0 -actual [get-log -skipInfo -skipWarns | length] -message "Error log is not empty"

Activity

Hide
komaz added a comment - 15/Feb/12 11:18 AM

Fixed, the line which can be used is to assert empty error log:

get-log -levels Error | length | eq 0 | assert-true -message "There are errors in log"

Show
komaz added a comment - 15/Feb/12 11:18 AM Fixed, the line which can be used is to assert empty error log: get-log -levels Error | length | eq 0 | assert-true -message "There are errors in log"
Hide
komaz added a comment - 15/Feb/12 11:23 AM

clear-log - deletes log file
clear-log-view can be used to clear log and refresh log view

Show
komaz added a comment - 15/Feb/12 11:23 AM clear-log - deletes log file clear-log-view can be used to clear log and refresh log view

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    09/Feb/12 8:52 PM
    Updated:
    01/Jun/12 2:03 PM
    Resolved:
    15/Feb/12 11:18 AM