seems that I was dyslexic in my email. No matter, the right function was added into HtmlUnit.
Cheers, Marc. -- Blog: http://mguillem.wordpress.com Ken Hopf wrote: > Marc, > > The thing you should add is CollectGarbage(), not GarbageCollect(). > Sorry if I was dyslexic about that earlier. According to sources around > here, > CollectGarbage() was an undocumented feature in JScript for IE that > would force the JScript garbage collector to take action. It was mentioned > in an MDSN Knowledge Base article as a way to solve a problem where > references to embedded Excel ActiveX controls were not freed. > > On the invoke issue, yea ... you're right. It's just an XML encoding > problem. Guess I'm going to have to get more educated on the subject. > Adding the amp entity solved it. > > Thanks for your comments. I will be reading the WebTest list closely in > the future to learn as much as I can. WebTest and Groovy are awesome. > > Ken Hopf > Bebo QA > > On 3/5/08, *Marc Guillemot* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Ken, > > > > OK .. we've come up with a workaround for this problem. What we > did was > > just put a null function called CollectGarbage() at the top > > of every page. So now it's no longer undefined. One the > engineers here > > told me it was a little trick MSFT pulled for some ActiveX > > Excel stuff. It's useless, and now merely serves to break things. > > Still this should not trip up WebTest the way it did. We should > > be able to say something like "OK, undefined. Ignore it and move on." > > > I hadn't heard of GarbageCollect before your email. This is an > undocumented function of IE (I've now added it into HtmlUnit). > > > > > > Unfortunately, I now have another problem that is, probably, a symptom > > of my naivete. I'm running invoke on an url like this: > > > > http://www.bebo.com/InviteJoin.jsp?Member=N&ABC=Y > <http://www.bebo.com/InviteJoin.jsp?Member=N&ABC=Y> > > <http://www.bebo.com/InviteJoin.jsp?Member=N&ABC=Y > <http://www.bebo.com/InviteJoin.jsp?Member=N&ABC=Y>> > > > > This causes the test to die immediately, with a message to the effect > > that 'ABC' must be followed by a ';' delimiter. So, I put the > > semi-colon delimiter at the end, and it makes no difference. I > get the > > same error. The I remove the '=' and just put ABC;. > > Now the error goes away but of course I don't get the parameter that I > > want set. Should I be using a POST method here with > > a content string? This is not at all clear to me from the > documentation. > > > > Sorry for the elementary nature of this question. Maybe I'm just > > getting tired or something. Probably, someone else on this list > > will know the answer immediately?? > > > what generates this message? WebTest or your app? > > ...or is it Ant? In this case, this is simply xml endoding: if you want > to use a & in an xml file, you have to use the entity & instead. > > > Cheers, > Marc. > -- > Blog: http://mguillem.wordpress.com > > > _______________________________________________ > WebTest mailing list > [email protected] <mailto:[email protected]> > http://lists.canoo.com/mailman/listinfo/webtest > > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

