cancel
Showing results for 
Search instead for 
Did you mean: 

Chrome Test Extension crashes when using TestExecute and Task Scheduler together

SOLVED
Highlighted
New Contributor

Chrome Test Extension crashes when using TestExecute and Task Scheduler together

When I run a test using TextExecute directly, my test runs fine in Chrome; however, when I use the Windows Task Scheduler to launch TestExecute and run a test, I get the following message from Chrome: "SmartBear Test Extension has crashed." Then Chrome freezes.

 

I have tried uninstalling and reinstalling Chrome, but I'm not sure what to try next. Has anyone solved a similar issue?

 

Configuration:

  • Windows 10 Enterprise
  • TestExecute 14.4
    • Disabled support for testing Windows Store applications
  • Chrome 81.0
    • SmartBear Test Extension
      • Allow changes On All Sites
      • Allow incognito
      • Allow access to file URLs
      • Collect errors
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
New Contributor

Re: Chrome Test Extension crashes when using TestExecute and Task Scheduler together

Thanks Everyone for your help - We figured out!

 

In the Task Scheduler settings, there is a checkbox "Run with highest priveleges". When this is checked on my virtual machine, Chrome is run as an administrator. In my case, the administrator does NOT have the SmartBear extension installed in Chrome. Once this checkbox was unchecked, the SmartBear extension works under my user context. Then, TestExecute runs the test as expected. 

View solution in original post

5 REPLIES 5
Highlighted
Community Leader

Re: Chrome Test Extension crashes when using TestExecute and Task Scheduler together

The TestExecute start well, test start well, but it's the TC extension which crash ?

What is the error message ?

 

No idea, i suggest you to open a support ticket on this.

 

Un sourire et ça repart

Highlighted
Community Hero

Re: Chrome Test Extension crashes when using TestExecute and Task Scheduler together

I agree with @BenoitB on needing to create an actual support ticket.  However, something to check might be elevated permissions.  When you run the TestExecute manually, I'm assuming you're just running it as your own user?  The scheduled task... what user is it running as?  Are you marking it for elevated permissions?  It might be that the extension is installed only for you and not for the user that is running under the task scheduler (Chrome extensions are installed per user profile).


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Community Manager

Re: Chrome Test Extension crashes when using TestExecute and Task Scheduler together

I agree with BeniotB and tristaanogre, here's the link to the contact support form.

 

However, if you provide us with the details tristaanoggre is asking from you, the community members will do their best to look for a solution inside the Community also!


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
New Contributor

Re: Chrome Test Extension crashes when using TestExecute and Task Scheduler together

Thanks Everyone for your help - We figured out!

 

In the Task Scheduler settings, there is a checkbox "Run with highest priveleges". When this is checked on my virtual machine, Chrome is run as an administrator. In my case, the administrator does NOT have the SmartBear extension installed in Chrome. Once this checkbox was unchecked, the SmartBear extension works under my user context. Then, TestExecute runs the test as expected. 

View solution in original post

Highlighted
Community Manager

Re: Chrome Test Extension crashes when using TestExecute and Task Scheduler together

@kgentner I am glad to hear this! Thank you for sharing the solution!


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors