Forum Discussion
psaxton
14 years agoOccasional Contributor
Hello
This still does not work
Can you please show me an example that works?
I am doing something that should be very simple
TestException()
This still does not work
Can you please show me an example that works?
I am doing something that should be very simple
function TestException()
TestException()
{
//Runs the "test" tested application.
TestedApps.test.Run();
//Clicks at point (181, 15) of the 'Form1' object.
Aliases.test.Form1.Click(181, 15);
try
{
//Clicks the 'button1' button.
Aliases.test.Form1.button1.PerformClick();
}
catch (e)
{
Log["Error"](e["description"]) ************Does not get here
}
//Clicks the 'button1' button.
Aliases.test.Form1.button1.ClickButton();
//Runs the "test" tested application.
TestedApps.test.Run();
//Checks whether the 'Text' property of the Aliases.test.Form1.button1 object equals 'Test'.
aqObject.CheckProperty(Aliases.test.Form1.button1, "Text", 0, "Test", false);
//Runs the "test" tested application.
TestedApps.test.Run();
//Closes the 'Form1' window.
Aliases.test.Form1.Close();
}
Paul