02-12-2017, 11:49 AM
UFT Tool runs more than one iteration for a single iteration . I have the following code-
Before trying the above code I added 3 rows/values in the global data sheet. But I deleted them all later. There's no object in repository.
"Data table iteration = run all rows" is set in File>Settings>Run . There is no entry in Tools> Data Driver.
Why does it still run thrice, even when there is no rows in any datasheet. I reloaded the test script, yet all the same...
Code:
Systemutil.Run "FlightsGUI.exe","","C:\Program Files (x86)\HP\Unified Functional Testing\samples\Flights Application\","open"
Const login = "devname:=HPE MyFlight Sample Application"
WpfWindow(login).WpfEdit("devname:=agentName").Set "john"
WpfWindow(login).WpfEdit("devname:=password").Set "hp"
WpfWindow(login).WpfButton("devname:=okButton").Click
WpfWindow(login).Close
"Data table iteration = run all rows" is set in File>Settings>Run . There is no entry in Tools> Data Driver.
Why does it still run thrice, even when there is no rows in any datasheet. I reloaded the test script, yet all the same...