Data driven loop - Not executing with 2nd row
I created a test complete variable using generate data wizard. created 2 row and 2 column with username and password.
Now I am using my script and using 'make data loop' functionality to run my test twice with different user. It is only running for one user that is first user, twice instaed if looping twice with different user.
Can some one please help what is the issue here.
Solved! Go to Solution.
Can you share your code? It's hard to debug what's going on if we can't see how you are implementing it. If it's not code but a keyword test, a screenshot of the relevant steps would be useful.
Generally speaking, for "for" loops, this kind of problem usually has to deal with upper and lower bounds being set incorrectly. But I don't know what you have set so I don't know what to tell you to change.
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Can you provide us with your test?
Does https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/using-keyword-tests.html or https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/using-scripts.html help?
/Alex [Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Thanks Robert. I found the issue. Actually I was not passing correct parameter with the user name and password field that why it was not picking the value from table. now it is working fine . Thanks for your time.