Ask a Question

TestExecute + Firefox has stopped working

SOLVED
AlexKaras
Community Hero

Re: TestExecute + Firefox has stopped working

Hi,

 

a) I would add 'start /wait' before any line that starts test execution via TestExecute to postpone batch file execution until TestExecute exits;

b) While this is not a solution but rather workaround, take a look at the Freeze Diagnostic option (https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/freeze-dia...)

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
nisgupta
Valued Contributor

Re: TestExecute + Firefox has stopped working

@AlexKaras 

 

I am looking at the documentation for Start / Wait command

 

https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/...

 

In the last para , what does "My Title" here means ?

 

I also looked the documentation about the diagnostics 

For the project - Under the Freeze Diagmostics if I select use all process will it take care of firefox.exe process which get hung ?

 

Thanks

NG

AlexKaras
Community Hero

Re: TestExecute + Firefox has stopped working

Hi,

 

In the last para , what does "My Title" here means ?

C:\>start /wait /?
Starts a separate window to run a specified program or command.

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/NODE <NUMA node>] [/AFFINITY <hex affinity mask>] [/WAIT] [/B]
      [command/program] [parameters]

    "title"     Title to display in window title bar.

if I select use all process will it take care of firefox.exe process which get hung ?

It will (to my understanding).

Though I would specify just firefox.exe to lower (potential) load on the system.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
nisgupta
Valued Contributor

Re: TestExecute + Firefox has stopped working

@AlexKaras 

why do you think we should use Stat wait command for this issue ?

 

Thanks

NG

AlexKaras
Community Hero

Re: TestExecute + Firefox has stopped working

why do you think we should use Stat wait command

To wait until TestExecute completes to run tests and only then continue with other batch file commands.

This might or might not solve the problem with hanging Firefox, but in any case I think that batch file execution must be postponed until the given test project finishes to run.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
nisgupta
Valued Contributor

Re: TestExecute + Firefox has stopped working

@AlexKaras 

I want to include firefox process under freeze diagnostics 

I have included firefox.exe as shown in the screenshot. Is it the correct way ?

 

Thanks

NG

AlexKaras
Community Hero

Re: TestExecute + Firefox has stopped working

Hi,

 

Is it the correct way ?

As per documentation: "To add a process to the Process list, press the Add button and type the desired process name (only the file name, without the extension)."

https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/freeze-dia...

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
nisgupta
Valued Contributor

Re: TestExecute + Firefox has stopped working

@AlexKaras 

Thank you for the updates.

nisgupta
Valued Contributor

Re: TestExecute + Firefox has stopped working

@AlexKaras 

 

I have incuded the firefox under freeze diagnostics in all the projects that we are running. but for now I have not added start wait command .

 

As we have 25 projects running in sequence , firefox become unresponsive for one of the project . I have attached the screenshot when the forefox become unresponsive.

 

Thanks

NG

 

nisgupta
Valued Contributor

Re: TestExecute + Firefox has stopped working

@AlexKaras 

 

I have now included the start wait command 

I have attached the batch file command. Since there are multiple projects so multiple commands . 

 

want to confirm if this is the right process?

 

Thanks

NG

 

 

 

 

cancel
Showing results for 
Search instead for 
Did you mean: