shubhangi
14 years agoContributor
How to make Testcomplete wait till rebootandcontinue is over
Hi,
I have two functions as :
function Task1_1 ()
{
....
....
....
aqEnvironment.RebootAndContinue("Task1_2","PWD","USER");
Log.Message(...)
}
function Task1_2()
{
.....
.....
}
Task1_1 correctly calls reboot and starts execution of Task1_2. However It doesnot wait till Task1_2 is completed successfully or with failure.
I tried using return_status=aqEnvironment.RebootAndContinue("Task1_2","PWD","USER");, which did not help.
How do I make task1_1 to wait till task1_2 is over? I would also like to Log few messages after rebootandcontine methos is returned.
Regards,
Shubhangi
I have two functions as :
function Task1_1 ()
{
....
....
....
aqEnvironment.RebootAndContinue("Task1_2","PWD","USER");
Log.Message(...)
}
function Task1_2()
{
.....
.....
}
Task1_1 correctly calls reboot and starts execution of Task1_2. However It doesnot wait till Task1_2 is completed successfully or with failure.
I tried using return_status=aqEnvironment.RebootAndContinue("Task1_2","PWD","USER");, which did not help.
How do I make task1_1 to wait till task1_2 is over? I would also like to Log few messages after rebootandcontine methos is returned.
Regards,
Shubhangi