function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VinuVinu 

How to write a test case for HAS NEXT, HAS PREVIOUS ?, At present my code coverage is 74%

In customised visualforce page i used a pagination concept to control the records,

All my code got covered expect the two links which is used to click for next/previous page,

How to write a test case for that ?

At present my code coverage is 74%, I need to cover up above 75%..

 

Any ideas??

 

Thank you

cloudmaniacloudmania

What function do you call by clicking this links?

OyeCodeOyeCode

Add some code - else nobody could suggest you the path and solution - you understand right ?

Suresh RaghuramSuresh Raghuram

hey i am even in the same situation could you please share the code with me

 

I appricate your help