Nexial Automation

Test Automation Platform for everyone!

X

io » readFile(var,file)

Description

This command reads the entire content of file as text and stores into a data variable denoted by var.

Parameters

  • var - this parameter is a variable, where the content read from the file would be stored.
  • file - this parameter is full path or location of the file from where content need to be read.

Example

Script:
script

Output:
output

See Also