hyper111Contributor11 years agoSolvedHow 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,jorgesimoes198311 years agoYou can use this script/*** Saves printscreen to logs <br>* @method PrintScreen*/function PrintScreen(){ Log.Picture(Sys.Desktop.Picture(), "PRINTSCREEN");}
jorgesimoes198311 years agoYou can use this script/*** Saves printscreen to logs <br>* @method PrintScreen*/function PrintScreen(){ Log.Picture(Sys.Desktop.Picture(), "PRINTSCREEN");}
jorgesimoes198311 years agoYou can use this script/*** Saves printscreen to logs <br>* @method PrintScreen*/function PrintScreen(){ Log.Picture(Sys.Desktop.Picture(), "PRINTSCREEN");}
TanyaYatskovskaAlumni11 years ago Hi Paul, Another approach you may like is to pass a picture to the Log.Message method: //JScript Log.Message("MessageText","", pmNormal, null, Sys.Desktop.Picture());
Recent DiscussionsSymbol in Manage Org MembersTestComplete recording feature.Prevent TestExecute dialog to Confirm Save in silent mode