+ Start a Discussion
sandeep varma indukurisandeep varma indukuri 

write a test class for Navigate to Leads, Create Lead, Update Lead

Navigate to lead tab
User has login access to Salesforce
Able to Navigate to Leads Tab
No Access to Leads Tab
Marketing Representative
All CMS Users
Use Case 01
Can you please explain your requirement further as the description is not that clear. If you want to navigate to another page through apex, you can do it using pagereference methods, Refer to the below article for more information on this

sandeep varma indukurisandeep varma indukuri
Actually my case is when the user logins to salesforce he should navigate to Leads tab and he must view the list of data in lead