Protractor based testing of testing on Angular Kendo directives

2 posts, 0 answers
  1. Rajesh
    Rajesh avatar
    53 posts
    Member since:
    Jan 2014

    Posted 20 Apr 2016 Link to this post

    I have a page with Angular kendo directives are used for display of kendo graphs.


    <div kendo-chart="mydata.myChart"
                     k-chart-area="{ background: '', height:220  }"
                     k-series-defaults="{ type: 'area', markers: { visible: true }, area: { line: { style: 'smooth' } },   missingValues: 'interpolate', stack: 'true' }"
                     k-series="[{ name: 'Running devices', categoryField: 'date', field: 'devicesUpCount', color:'#65c178' },
                               { name: 'Stopped Devices', categoryField: 'date', field: 'devicesDownCount', color:'#f5985a' }]"
                                    labels: { format: '{0}'},
                                    title: { text: 'Count of devices', font:'10px', position:'center', margin:0 },
                                    line: {visible: true},
                                    majorGridLines: {
                                          dashType: 'dashDot'
                                        baseUnit: 'hours',
                                        baseUnitStep: 1,
                                        labels: { step: 2},
                                        title: { text: 'Time', font:'10px', position:'center', margin:0},
                                        majorGridLines: {
                                          dashType: 'dot'
                                visible: true,
                                format: '{0}',
                                template: ' #= value # #= # on #= category#'


    Is there a protractor based test case example with which I can verify the values being display on this graph ? I need to also verify the legends and values shown on the graph. What's the best way to achieve this ?

  2. Dimo
    Dimo avatar
    8404 posts

    Posted 20 Apr 2016 Link to this post

    Hello Rajesh,

    Such integration questions are not directly related to the Kendo UI API or features, or how Kendo UI is used in production web application environment. As a result, they fall outside the scope of our support service, but on the other hand, they belong to the scope of our Professional Services. I recommend checking the following page, in case you are interested.

    Nevertheless, I will leave the thread open for anyone else from the community to share information.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top