Quintiq file version 2.0
|
#parent: #root
|
Method PTF_TestQuickTestPTF (
|
output Real duration_o,
|
output String response_o
|
) as Boolean id:Method_LibPTF_pnlTestRunner_PTF_TestQuickTestPTF
|
{
|
#keys: '[133260.0.166022677]'
|
Body:
|
[*
|
// Serves as a template method for QSes to implement the method to be executed
|
isSuccessful := false;
|
|
preconditionOK := true; // Your precondition for executing the action
|
|
if( preconditionOK )
|
{
|
start := OS::PrecisionCounter();
|
|
message := "Congratulations!" + String::NewLine() +
|
"You have successfully installed and configured PTF!" + String::NewLine() +
|
"You can now refer to PTF QS Guide to create test scenario and test script in your Model.";
|
MessageBox::Information( this, message, "&OK", 0, "PTF Installation" );
|
|
duration_o := this.PTF_GetDurationInMilisecond( start );
|
response_o := 'PTF has been installed and configured successfully';
|
isSuccessful := true;
|
}
|
else
|
{
|
response_o := '< Precondition failed reason >'; // Your precondition failed reason
|
}
|
|
return isSuccessful;
|
*]
|
}
|