|
From: Thomas P. <tp...@in...> - 2004-03-10 20:20:25
|
Culley:
I made this simple function that I find really useful to make sure I am
on the correct page. I hope my meager attempts help. Just put it in
your web tester php . Good luck.
Thomas
function displayUrl() {
echo ($this->_browser->getCurrentUrl()."<br>");
}
-----Original Message-----
From: sim...@li...
[mailto:sim...@li...] On Behalf Of
Culley Harrelson
Sent: Wednesday, March 10, 2004 12:19 PM
To: simpletest-support
Subject: [Simpletest-support] ClickSubmit Not advancing to the next page
Hi,
I am doing some form testing and trying to do this:
$this->clickSubmit('Next');
$this->assertWantedPattern('/should exist on next page after
button is clicked/');
And this is failing. Shouldn't this work? I am getting
Pattern [/should exist on next page after button is clicked/] not
detected in [Boolean: false]
Mostly I just wanted to be assured that I should be able to
assertWantedPattern on the results page after clickSubmit sends a post.
culley
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Simpletest-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simpletest-support
|