UFT is running the same Data Row Twice
Question ID: 107416
0
0

I’m running UFT 12.54. Importing a datasheet with 2 rows of data. "Run on all rows" is selected in both File > Settings > Run and in the Action Call Settings. However when I run the script, it runs the first line of data twice. Any idea what setting I missed?

Marked as spam
Posted by (Questions: 10, Answers: 5)
Asked on January 27, 2017 9:06 pm
274 views
Answers (3)
0
Private answer

Is the data being imported into the local or global sheet when running?

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on April 28, 2017 5:01 pm
0
Private answer

Try changing the File>>Settings>>Run settings and set that to run one iteration only and leave the Action Call Properties set to run all rows.

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on April 28, 2017 5:02 pm
0
Private answer

Also, you don't have any programmatic statements in the script that would be using DataTable.SetCurrentRow or anything like that do you? That could cause a repeat.

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on April 28, 2017 5:04 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top