Announcement

Collapse
No announcement yet.

BC4 Script does not use unimportant filter set in session

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • BC4 Script does not use unimportant filter set in session

    load "Compare_QA_PD"
    criteria rules-based
    filter "*.out;"
    expand all
    select all.diff
    data-report layout:side-by-side options:display-mismatches,ignore-unimportant &
    output-to:"MyReport.html" output-options:html-color"

    Load the session - click on a text compare - uncheck the unimportant - drop-down use for parent within session - close it and save the session. When I compare from within BC the session works fine when I call it from a script I still get the differences that I'm trying to filter. Also my report says Table Compare? Can you see anything in the script I'm doing wrong?

    Example of header of the report
    Table Compare
    Produced: 12/8/2017 3:06:53 PM

    Mode: Differences, Ignoring Unimportant
    Left base folder: ftp://infodvadmin@mwa00.bausch.com/I...ta/ZCompare/QA
    Right base folder: ftp://infodvadmin@mwa00.bausch.com/I...ta/ZCompare/PD

  • #2
    Hello,

    Yes, it looks like you are using the data-report command, which uses the Table Compare (not Text Compare). To use the Text Compare settings and report style, use the text-report script command.
    Aaron P Scooter Software

    Comment


    • #3
      That worked.

      Originally posted by krnll5 View Post
      load "Compare_QA_PD"
      criteria rules-based
      filter "*.out;"
      expand all
      select all.diff
      data-report layout:side-by-side options:display-mismatches,ignore-unimportant &
      output-to:"MyReport.html" output-options:html-color"

      Load the session - click on a text compare - uncheck the unimportant - drop-down use for parent within session - close it and save the session. When I compare from within BC the session works fine when I call it from a script I still get the differences that I'm trying to filter. Also my report says Table Compare? Can you see anything in the script I'm doing wrong?

      Example of header of the report
      Table Compare
      Produced: 12/8/2017 3:06:53 PM

      Mode: Differences, Ignoring Unimportant
      Left base folder: ftp://infodvadmin@mwa00.bausch.com/I...ta/ZCompare/QA
      Right base folder: ftp://infodvadmin@mwa00.bausch.com/I...ta/ZCompare/PD

      Could have sworn I tried that! TGIF. thanks a lot.

      Comment

      Working...
      X