[Webtest] How to debug when no errors
webtest@lists.canoo.com
webtest@lists.canoo.com
Mon, 2 Feb 2004 12:15:47 -0500 (EST)
I came across similar issues last year when I started using Canoo WebTest and from my experience it seems as if you are executing some IE specific script which is not getting executed correctly using the mozilla script engine, which is what Canoo uses. I would suggest looking at any scrpt associated with the login button and go from there.
Hope this helps.
Regards,
Adeel
Software Engineer
(205) 243-3964
ComFrame Software Corp.
www.comframe.com
--- Original Message ---
> I've just started doing some very simple tests
> with WebTest. I can test
> clicking on links just fine in our own app. I
> was able to do a script to
> test login on the www.DexOnline.com public
> website. However, I can't get my
> login test on our own site to work. It doesn't
> get any errors - it just
> doesn't log in. If I change the name of the
> submit button, it complains, so
> I know it is finding the button. If I put an
> invalid password, it does not
> complain, so it's not really submitting. The
> results.xml file
> shows 'completed' and a duration, but the html
> result shows that it just came
> up with the login page again, and in
> results.xml, there is no 'htmlparser'
> output for that step. The verify step which
> comes next fails, of course.
>
> I think my script looks ok, since the same thing
> works on the DexOnline site,
> but I don't know why entering the userid and
> password and clicking submit
> doesn't actually make it do anything.
>
> My question is, does anyone have any tips for
> how I can go about debugging
> this? I've looked at all the doc and samples in
> the doc I could find for
> clickbutton. I've searched on this mailing
> list, and like I said I did the
> same test for a similar website which worked, so
> I'm stumped. No doubt it is
> something very obvious, but I don't know how to
> look for it from here.
>
> Here's the pertinent part of my xml file:
> <setinputfield stepid="Enter
> userid"
> name="username"
> value="Fast401k"/>
>
> <setinputfield stepid="Enter
> password"
> name="password"
> value="aaaaa"/>
>
> <clicklink stepid="Click the
> here link"
> label="here"/>
>
>
> <verifytext stepid="Admin Home
> Page verify"
>
> text="<title>Admin Tool;<title>"/>
>
> Thank you,
> Lisa
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>