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

Grids: Data Loaded Event

1 Answer 703 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mathew
Top achievements
Rank 1
Mathew asked on 20 Nov 2017, 07:29 PM

I am working on E2E tests via Cucumber/Selenium. How do I know when the grid has been fully populated? I cannot let the test run until I know the grid is loaded. Some grids take several seconds. A static delay is not an option. Does anybody know which event to use for this?

Using: 

Kendo UI for Angular (latest version)

Angular 5.01

 

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 21 Nov 2017, 02:05 PM
Hi Mathew,

In general Protractor has built in functionality, that allows to start a test only when a component is rendered.

Unfortunately, there is no such built-in Kendo UI-related event, that fires when the Grid is rendered.

I understand that adding a static delay is undesirable, but when using Cucumber/Selenium, a possible approach would be to wait until there are rows/lines within the Grid and then add some static time like 0.5 seconds to ensure the Grid data is rendered.

I hope this helps.

Regards,
Svetlin
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Mathew
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or