Forum Discussion
Abramova
13 years agoStaff
Hi,
It looks like the problem is that the While loop you created is infinite. Try to modify your scripts without using a loop or correct the loop condition and run the test again.
For example, you can modify your scripts in the following way:
function Calc12()
{
//Runs the "calc" tested application.
TestedApps.calc.Run(1, true);
//Executes the specified code snippet.
NetworkSuite.Synchronize("SPC");
//Clicks the 'btn1' button.
Aliases.calc.wndCalculator.btn1.ClickButton();
//Clicks the 'btn2' button.
Aliases.calc.wndCalculator.btn2.ClickButton();
//Delays the test execution for the specified time period.
Delay(2000);
}
function Calc89()
{
//Runs the "calc" tested application.
TestedApps.calc.Run(1, true);
//Executes the specified code snippet.
NetworkSuite.Synchronize("SPC");
//Clicks the 'btn8' button.
Aliases.calc.wndCalculator.btn8.ClickButton();
//Clicks the 'btn9' button.
Aliases.calc.wndCalculator.btn9.ClickButton();
//Delays the test execution for the specified time period.
Delay(2000);
}
Related Content
- 5 years ago
- 5 years ago
- 10 months ago
Recent Discussions
- 8 hours ago