Forum Discussion

scott_1's avatar
scott_1
Occasional Contributor
13 years ago

Chrome web app testing - Playback fails at different places

I was able to get my Chrome test recorded (first hurdle).



Second hurdle:

Right after I'm done recording, I go to the test and run the test.



It fails, but not always at the same spot, which makes me wonder what is wrong with the test recording itself:



Error one on playback:

An error occurred while accessing the "Click" method or property of the "panel" object.

The object or one of its parent objects was not found.



Object Whose Method or Property Was Accesssed

Alias: Aliases.browser.pageHttpsMailGoogleComMailShva1I.panel.panel.panel.panel.panel.panel.panel.panel.panelO8.panel.panelO9.panel.panel

Name mapping item: NameMapping.Sys.browser.pageHttpsMailGoogleComMailShva1I.panel.panel.panel.panel.panel.panel.panel.panel.panelO8.panel.panelO9.panel.panel



Object That Was Not Found

Alias: Aliases.browser.pageHttpsMailGoogleComMailShva1I.panel.panel.panel.panel.panel.panel.panel.panel.panelO8.panel.panelO9

Name mapping item: NameMapping.Sys.browser.pageHttpsMailGoogleComMailShva1I.panel.panel.panel.panel.panel.panel.panel.panel.panelO8.panel.panelO9



Second error:

An error occurred while accessing the "Click" method or property of the "textareaJg" object.

The object or one of its parent objects was not found.



Object Whose Method or Property Was Accesssed

Alias: Aliases.browser.pageHttpsMailGoogleComMailShva1I.panel1.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panelKg.tableKf.cell.formL3.panelLd.table.cell.panelJq.panel.textareaJg

Name mapping item: NameMapping.Sys.browser.pageHttpsMailGoogleComMailShva1I.panel1.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panelKg.tableKf.cell.formL3.panelLd.table.cell.panelJq.panel.textareaJg



Object That Was Not Found

Alias: Aliases.browser.pageHttpsMailGoogleComMailShva1I.panel1.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panelKg

Name mapping item: NameMapping.Sys.browser.pageHttpsMailGoogleComMailShva1I.panel1.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panel.panelKg



Now this isn't a highend test or recording. It's gmail, in chrome, recording logging in, clicking compose, send email, logout, close.



Is it possible for someone there to do a simple gmail.com test with those params above in Chrome and record it without issue? Right now, I feel like I'm chasing a ghost in the recording process.



Thank you for your time.








  • Hi Scott,


     


    The source of all the specified problems is the same. TestComplete cannot find the problematic object to click it. This may be related to the fact that this object wasn't fully loaded or the object was mapped by non-unique properties. I recommend that you go though the "Handling Playback Errors" article and those related - they contain many tips that will help you solve the issues.