Chrome Crash how to investigate
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Chrome Crash how to investigate
Chrome is randomly crashing during playing when clicking on a certain type of field in our application. Chrome just completely goes away and when it is reopened it will have a statement about not closing properly and asking if you want to restore the page.There is no type of error when the crash occurs, Chrome just goes poof.
The field I clicked on is techincally a "textnode" but it is sort of a lift of custom combobox items in our application. In my test, I click one field that expose this list of textnodes and then click on the desired item.
The crash does not occur all the time and not on the same field but it is always the same field type. I am testing on Chrome 79 using TestComplet 14.3
So is this most likely an issue with our application, TestComplete or Chrome? I am not sure where to even begin troublshooting this and I hate to send something to our developers without more details.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you been through this setup?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, done that.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you repeat the test enough times manually, will it crash at the same spot?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have not duplicated it manually, only when running through TestComplete.
I have a function that performs all the needed steps for my "custom combobox" in my applications. We have dozens of custom combobox fields and they all funnel through this same code. It is the same line of code in that function that always fails, but it is various different fields. It doesn't fail every time, just randomly.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the code for part of the function. It is the ListItems(i).Click line that causes Chrome to crash.
ListItems = objField.EvaluateXPath("//LI[contains(@class, 'MuiMenuItem-root')]", false) Found = False For i = 0 to UBound(ListItems) If LCase(ListItems(i).textContent) = LCase(Value) Then Found = True Exit For End If Next If Found Then ListItems(i).Click Else fLogFail "fDigiInput error. Item not found. Item: " & Value Exit Function End If
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would recommend to consider Report Generator (https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/report...) as a monitoring and crash dump creation tool.
Also consider creating Support ticket via the https://support.smartbear.com/message/?prod=TestComplete form and ask guys for their recommendations as for setup for Report Generator.
/Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Alex, Marsha!
@mfoster711 I see you have contacted support regarding this. Keep the investigation going and please share the results with us
Sonya Mihaljova
Community and Education Specialist
