Forum Discussion

jsc's avatar
jsc
Regular Contributor
13 years ago

TestComplete 9.0 and SVG

Hi all,



doesn't TC9.0 support SVG?



I tried to map some elements in chrome, but it's not possible. I got a panel with some gantt-bars but I just can access the whole panel and elements within this panel can just be accessed via coordinates although they do have unique IDs.



browser: chrome 21, tried with chrome 18.0.1025.152 as well

chrome-extension: SmartBear TestComplete Extension 9.0.1069

testcomplete: version 9.0.1069.7



Do I have to do something else to make TC9.0 work with SVG?



Kind regards,

Joachim


  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)
    Hi Joachim,



    Currently, TestComplete identifies only the SVG and text elements, as noted in the HTML 5 Support help topic:

    SVG text elements are identified as TextNode objects.



    Other SVG content elements (rect, circle and so on) are not identified as individual test objects. However, you can access them from tests using native DOM methods, for example, getElementById, getElementsByTagName and so on.