<br><br><div class="gmail_quote">On Fri, Feb 4, 2011 at 3:27 PM, Herman van Rink <span dir="ltr"><<a href="mailto:rink@initfour.nl">rink@initfour.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">
On 03-02-11 05:49, Kasun Lakpriya wrote:<br>
</div><blockquote type="cite">
<div class="gmail_quote"><div class="im">On Wed, Feb 2, 2011 at 3:47 PM, Herman
van Rink <span dir="ltr"><<a href="mailto:rink@initfour.nl" target="_blank">rink@initfour.nl</a>></span>
wrote:<br>
<div><br>
</div>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div>
On 24-01-11 12:03, Kasun Lakpriya wrote:<br>
> - Failing Tests<br>
> PmaSeleniumLoginTest.php with this server log <a href="http://pastie.org/1492272" target="_blank">http://pastie.org/1492272</a><br>
<br>
</div>
<br>
It's hard to read from that log what happens. What is you
single step<br>
such a test. Can you see valid credentials being input into
the login form?<br>
</blockquote>
<div> </div>
<div>Yes, I can see the 'username' and 'password' for phpMyAdmin
is being input to the form as I configured in
"config.sample.inc.php" file. </div>
<div>* Sorry, I did not understand above "What is you single
step such a test."</div>
</div></div>
</blockquote>
<br>
You can also open selenium tests manually using the browser plug-in.
The you can make it do one step at a time or run really slow. <br>
This way you might get more visual feedback on what's going on. <br><div class="im">
<br></div></div></blockquote><div><br></div></div><div class="gmail_quote"><div>Yes, I wrote a new selenium test for PMA login and tested it worked fine both in browser plug-in and in command line as well. Since the existing tests are in php I could not run them in browser plug-in before. I think the problem is in the existing old test cases. BTW I think that I can check remaining and be able get them work soon.</div>
</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#ffffff" text="#000000"><div class="im">
<blockquote type="cite">
<div class="gmail_quote">
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div>
><br>
> I googled but could not find a solution.<br>
><br>
> And other remaining tests (non-selenium) are also
failing saying<br>
> "Undefined variable: _SESSION"<br>
><br>
> I am running tests on Ubuntu10.10 and
xampp-linux-1.7.3a. I think I am<br>
> missing some thing. Can you help me to get this
working?<br>
<br>
</div>
Are you running tests from the command line or via http?</blockquote></div></blockquote></div></div></blockquote><div><br></div><div>From http you meant browser plug-in? And since there failing tests are not selenium we can't run them via http? Am I wrong?</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#ffffff" text="#000000"><div class="im"><blockquote type="cite"><div class="gmail_quote">
<div> </div>
<div>From command line.<br>
</div>
</div>
</blockquote>
<br></div>
It's not strange for _SESSION be missing when running from the
command line.<br></div></blockquote><div><br></div><div>These are not selenium tests and I still trying to figure out the problem. </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
But as I'm not getting this error it's hard to tell where the
problem lies.</div></blockquote><div><br></div><div><br></div></div>-- <br>Thanks and Regards,
<div>Kasun</div>