Sonntag, 24. Februar 2013

Таблицы

Напишу один раз, чтоб потом не мучаться. Тема вечная - таблица с ~1000 записями, сортируемая и со страницами. Реализовать на jquery.

Использую DataTables - грузит 500 записей за секунду, зато фильтрация, сортировка и прочая хня работают оч быстро.

Вариант без страниц, просто со скроллом: http://jsfiddle.net/tetchen9/PeVRz/2/

Mittwoch, 11. Juli 2012

Running web-driver JUnit tests


Writing selenium tests with web-driver is cool. Ditch Selenium IDE. Small things you have to remember: When the test is running, make sure all components are visible on the screen, otherwise web driver cannot find them. For example, if you have a long form and a Save button on the bottom of the page, web driver cannot find it and click it if the browser window is too small to show the Save button.