steve4king
15 years agoOccasional Contributor
Parameters with a default value return "undefined"
Running version 8.0.290.7 on Windows XP 32bit
I've created several interdependent keyword tests.
For example. I have one to test the time-clock in our application.
My timeclocktest is very simple and just has two parameters: the login username and password that I want to test. It logs in -> clocks in -> logs out, then logs in -> clocks out -> logs out. All using the parameter defaults I assign prior to running the test.
However, about 30% of the time.. the parameters have been ignoring their defaults.
Example: I launch timeclocktest with default parameters of User: "Steve" and Pass: "pword"
The test first checks to see whether that user exists, and if not, it creates it with full permissions.
30% of the time however, it's checking to see whether user "" exists, then tries creating a new user with user: "" and password: "".
When I originally created these tests, this did not happen. I just had to change the highest level parameter and every associated test utilized that.
I don't know what has changed, but any help would be appreciated.
Thanks,
-Stephen
I've created several interdependent keyword tests.
For example. I have one to test the time-clock in our application.
My timeclocktest is very simple and just has two parameters: the login username and password that I want to test. It logs in -> clocks in -> logs out, then logs in -> clocks out -> logs out. All using the parameter defaults I assign prior to running the test.
However, about 30% of the time.. the parameters have been ignoring their defaults.
Example: I launch timeclocktest with default parameters of User: "Steve" and Pass: "pword"
The test first checks to see whether that user exists, and if not, it creates it with full permissions.
30% of the time however, it's checking to see whether user "" exists, then tries creating a new user with user: "" and password: "".
When I originally created these tests, this did not happen. I just had to change the highest level parameter and every associated test utilized that.
I don't know what has changed, but any help would be appreciated.
Thanks,
-Stephen