This is a migrated thread and some comments may be shown as answers.

Protractor based testing of testing on Angular Kendo directives

1 Answer 107 Views
Integration with other JS libraries
This is a migrated thread and some comments may be shown as answers.
Rajesh
Top achievements
Rank 1
Rajesh asked on 20 Apr 2016, 11:31 AM

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' }]"
                 k-value-axis="{
                                labels: { format: '{0}'},
                                title: { text: 'Count of devices', font:'10px', position:'center', margin:0 },
                                line: {visible: true},
                                majorGridLines: {
                                      dashType: 'dashDot'
                                      }
                             }"
                 k-category-axis="{
                                    baseUnit: 'hours',
                                    baseUnitStep: 1,
                                    labels: { step: 2},
                                    title: { text: 'Time', font:'10px', position:'center', margin:0},
                                    majorGridLines: {
                                      dashType: 'dot'
                                      }
                                  }"
                 k-data-source="myData.myKDataSource"
                 k-transitions="false"
                 k-tooltip="{
                            visible: true,
                            format: '{0}',
                            template: ' #= value # #= series.name # on #= category#'
                        }"
                 k-data-bound="connectorMetadata.downtimeChartDataBound"
                    >
            </div>

 

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 ?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 20 Apr 2016, 01:17 PM
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.

http://www.telerik.com/professional-services

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

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Integration with other JS libraries
Asked by
Rajesh
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or