Hi,

the fact that the result page is the same doesn't necessary mean that no click has been performed. For instance WebTest tries to determine what is the current response when many windows are involved. The problem may come from there but it is difficult to say without a minimal example.

Cheers,
Marc.
--
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com

Hernan Castagnola wrote:
Becuase when I check the response that is saved after the "clickLink" I still see the previous page. Also all the verifications fail because it is verifying against the first page (expected vs actual values)

The weird thing is that I am sending a command like this:

    public static def goTo = { url , category, ant ->
        Homepage.goTo url, ant
ant.clickLink description:"Clicks on a Category link", label:category , savePrefix:'listing' , saveResponse:'true'
    }

the Link exists, but it doesn't click the link. And when the webtest shows all the available links, this link that it's trying to click is being listed.

I am using webtest-3.1-snapshot. Is this the latest version?


Thanks Marc for your help.

2009/8/20 Marc Guillemot <[email protected] <mailto:[email protected]>>

    Hmm, why do you say that the new page has not been reached?

    Cheers,
    Marc.

    Hernan Castagnola a écrit :

        *clickLink* is returning "passed" despite the fact that the new
        page has not been reached


        Despite the fact that the page after clicking the link has not
        been reached, this command is returning  a "pass"  Is this a bug?

        Thanks,

        Hernan


    _______________________________________________
    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

Reply via email to