Nexial Automation

Test Automation Platform for everyone!

X

number » average(var,array)

Description

This command calculates the average of a series of numbers represented by array. The average value is stored as var

Parameters

  • var - the variable to store the average
  • array - the array of numbers for which average need to be calculated

Example

Script:
script

Output:
output

See Also