Forum Discussion

hyper111's avatar
hyper111
Contributor
11 years ago
Solved

How can I post screenshot and text to the same test log item?

Hi, I would like to know how can I do that. I know how log something(ex. text) and screen but each at the separate test log item. Thanks,
  • jorgesimoes1983's avatar
    11 years ago
    You can use this script



    /**

    * Saves printscreen to logs <br>

    * @method PrintScreen

    */

    function PrintScreen()

    {

      Log.Picture(Sys.Desktop.Picture(), "PRINTSCREEN");

    }