cancel
Showing results for 
Search instead for 
Did you mean: 

Data driven loop - Not executing with 2nd row

SOLVED
Occasional Contributor

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.

3 REPLIES
Community Hero

Re: Data driven loop - Not executing with 2nd row

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.


Robert Martin
[Community Expert Group]
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.


I’ll be talking about “Hidden Treasures – TestComplete Script Extensions” at #SBConnect in October! Who’s joining me? Click here for tickets
Extensions available
Community Hero

Re: Data driven loop - Not executing with 2nd row

Hi,

 

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?

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Occasional Contributor

Re: Data driven loop - Not executing with 2nd row

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.

Share Your Stories
Read Latest News
Top Kudoed Authors