cancel
Showing results for 
Search instead for 
Did you mean: 

Data driven loop - Not executing with 2nd row

SOLVED
Highlighted
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.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
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.

View solution in original post

3 REPLIES 3
Highlighted
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
[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
Extensions available
Highlighted
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 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.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted
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.

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors