Wednesday, September 26, 2007

Extra Credit !!!

First, I tried to run "http://www.myspace.com/shakadownstreet" with my code. After I hit the enter key, the screen was filled of some codes that I do not understand and some details why it failed to run myspace. After a closer look, I found out it complained about Javascript. Therefore, I asked my team member if he had the same problem when he ran myspace with his code on Monday. Then, I found out he had the same situation and he also gave me a hint about httpunitoptions. My next question was how to disable the Javascript. Then, I took a look on httpunitoptions. One that with "setScriptingEnabled(boolean scriptingEnabled)" is able to set Javascript false. After trying in my code, no more Javascript exception is listed. This is my suggestion for the extra credit.

No comments: