Skip to content

persistFileObjectToFile (Exception Handling)

Compatible with:
  • Purpose
  • This command is used to save the FileObject which is created by getDOMPageHtmlSource command into Files Modules of Worksoft SaaS Application. If FileName is provided it saves with that name,else file gets saved with the name provided in the target field (ReferenceVariable). File Name should be unique. It saves the file in .txt format.
  • Syntax
  • persistFileObjectToFile(VariableName, FileName(Optional))
  • Target
  • VariableName  
  • Value
  • FileName(Optional)
  • Return Value
  • Saves the Html source present in the reference variable into Worksoft SaaS Files.

 

Feedback and Knowledge Base