yuchang
11 years agoContributor
How to create a simple data file for testing input?
In script, it needs to fill in data into different inputs of web.
What and how to creat a file which collects the data working as variables for scripts?
For example, in JScript a variable lanaguages:
var languages = new Array("AR", "CS", "EN");
How/where to put this array in a separated file that a script or keyword test can access it?
Currently, I insert this array into a script and the script make is as a global project variable for the keyword test can access it.
Is there a better way to do that?
What and how to creat a file which collects the data working as variables for scripts?
For example, in JScript a variable lanaguages:
var languages = new Array("AR", "CS", "EN");
How/where to put this array in a separated file that a script or keyword test can access it?
Currently, I insert this array into a script and the script make is as a global project variable for the keyword test can access it.
Is there a better way to do that?