From: Mike B. <mb...@Ga...> - 2003-09-17 11:23:14
|
Pg wrote: > What I thought, is that in the page returned whitin the ScriptResult > Object, I would see the property change doing this: asking for the Image, > and then asking for the "onClick" value. >>From the answer you gave me before, I see now that I won't see that change > in the ScriptResult Object, because no new page is loaded. > My question is: How can I simulate the click (without using the click > method of the HtmlButton class), and then verify that the Image1.src > property has effectively changed?. > In other words: How can I simulate an event that doesn't create a new > window, but changes things of the actual page, and verify the correctness of > those changes?. The original page that you have (and that is being returned again) should have been modified by the javascript and should show the new values. Have you verified that the src attribute has *not* changed? -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |