Forum Discussion

MDuca's avatar
MDuca
New Contributor
2 months ago

TestComplete not recording right-click or menu on SVG map

Hi Support, I’m having an issue with TestComplete not recording actions on an interactive SVG map in my web app. When I right-click on the map to open a context menu, TestComplete does not capture the right-click or see the context menu. This makes it impossible to automate workflows that require using that menu. What’s unusual is that a couple of months ago, I tested this same map and everything worked fine. 

1 Reply

  • Hassan_Ballan's avatar
    Hassan_Ballan
    Icon for Champion Level 3 rankChampion Level 3

    Hi, this is TestComplete Community forum, not an official support channel. For direct assistance, please contact SmartBear Support here  Contact Support

    When submitting your request, include:

    • TestComplete version
    • Browser and OS versions
    • Whether the SVG is inline or embedded (e.g., via <object>)
    • Whether this started after a recent update

    Since this worked previously, it may be a regression. If you recently updated TestComplete, consider rolling back to a prior version to confirm.

    Note: SVG interaction has known limitations in TestComplete — it supports inline SVG only. See official documentation here  HTML5 and SVG Support

    Also, right-click actions may not always record properly on non-standard controls like SVG. You might try manually adding a RightClick test operation on the map object in your keyword test.

    🤖 AI-assisted response
    👍 Found it helpful? Click Like
    ✅ Issue resolved? Click Mark as Solution