+ 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.