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
S RAHMATHULLAS RAHMATHULLA 

what to do if i am not getting the value for page.getcontent() in the below. Blob invoiceContent = !Test.isRunningTest() ? invoicePage.getContent() : Blob.ValueOf('dummy text');?

pconpcon
Can you please provide all of your code that you are running?  Also, what are you getting from this code?

NOTE: When including code please use the "Add a code sample" button (icon <>) to increase readability and make referencing code easier.