I'm convinced that ALV really did not think about what was going to happen when she testified. Today she said she hasn't testified in a lot of criminal trial (and I think by the end of the day, she said she hadn't testified in ANY), and a lot of us had been assuming she had some experience. Her talking to Samantha was a sign she just didn't get what was going on in the courtroom. Her trying to finish her answers after someone has called an objection sounds like somebody who just never thought about how she wasn't going to be able to drone on and on. Her inability to remember her glasses may be "cute" in an absent-minded professor kind of way, but made her look ... well, stupid. She doesn't accord the judge a lot of respect. All in all, she just seems out of her element.
I think she assumed it was going to be just like one of her talks. I also think her panic was caused, not by the internet attacks, but by her fear of JM.
JMO