Forum Discussion

SuperTester's avatar
SuperTester
Contributor
6 years ago

Input Parameter Error

Hello!   What does the error message "Cannot get a picture object from the input parameter" mean?   I have a comparison command that takes a picture from a region of a PDF file to be used as ...
  • SuperTester's avatar
    6 years ago

    It seems to be working now - I'm not sure why. I believe it was some kind of mapping issue.

     

    This is what I did:

    • I put break points leading up to the "NOCHANGES" command
    • When playback reached the breakpoint, I changed the view settings in the PDF viewer (scaled the view to 100%)
    • The NOCHANGEs line did capture the region and prompted me to update the region capture image
    • This lead me to believe that maybe the settings in the PDF reader had been changed at some point in time or it was updated.
    • I attempted to repeat the process of chaning the view zoom, however the "input parameter failed" error message returned.
    • I stopped trying to change the view zoom and now the checkpoint passes - with warnings:

      "There are several objects that match the identification attributes of the "AVDocumentMainView" mapped object"

    I'm very confused on why it works now.