Forum Discussion
Janjan_1
14 years agoOccasional Contributor
Well, I read the links, did the tutorial and the good news is, I can make a data loop and loop through the data when it is used in one test case only.
Bad news is, I still am not getting the results I want.
Using my initial block of code (Client1) that will be used in multiple test cases, I made my data loop.
I created keyword test Test1 made up of Client1 and my remaining keyword tests. The Select Records for this loop is set to start and end at record 2.
I created keyword test Test2, again made up of Client1 and my remaining keyword test. The Select Records for this loop is set to start and end at record 3.
After editing the loop in the keyword test Test1, I saved.
After editing the loop in keyword test Test2, I saved.
I created a new test and through the Test Actions - Run Keyword test, I moved Test1 and Test2 into my new test (Test3), so they would run concurrently. Then I executed my test (Test 3 which contains Test1 and Test2).
Because of the save, the last selected records (Test2) were saved to the Test1.
How can I get around the save overwriting the previously saved values or is this the wrong approach?
Any help would be greatly appreciated :)
Jan
Bad news is, I still am not getting the results I want.
Using my initial block of code (Client1) that will be used in multiple test cases, I made my data loop.
I created keyword test Test1 made up of Client1 and my remaining keyword tests. The Select Records for this loop is set to start and end at record 2.
I created keyword test Test2, again made up of Client1 and my remaining keyword test. The Select Records for this loop is set to start and end at record 3.
After editing the loop in the keyword test Test1, I saved.
After editing the loop in keyword test Test2, I saved.
I created a new test and through the Test Actions - Run Keyword test, I moved Test1 and Test2 into my new test (Test3), so they would run concurrently. Then I executed my test (Test 3 which contains Test1 and Test2).
Because of the save, the last selected records (Test2) were saved to the Test1.
How can I get around the save overwriting the previously saved values or is this the wrong approach?
Any help would be greatly appreciated :)
Jan