You need to sign in to do that
Don't have an account?
jjvdev
Testing loading a page
How does one test loading an opportunity record page?
There is an action that fires when the opportunity page is loaded (via a visualforce page). I know the controller extension and action work because its been proven via the UI. Just not sure to how properly write a unit test to load the page, and thus trigger the action to run.
There is an action that fires when the opportunity page is loaded (via a visualforce page). I know the controller extension and action work because its been proven via the UI. Just not sure to how properly write a unit test to load the page, and thus trigger the action to run.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_error_handling.htm
Visualforce Page:
Glad you figured it out. Was just scratching my head over this myself.