Automation for testing items per page as per view settings

Test items per page for grid,tile and list view