Open ndeztea opened 10 years ago
If I seperate the file I get that issue, but if I make just one file for testing this is working fine..
During setUp() the browser has not yet been started, since it's the place when you choose browser version and where Selenium runs. The error message is suggesting you to move setUp() code in setUpPage(), an hook called later in the process
On Thu, Nov 28, 2013 at 11:44 AM, ndeztea notifications@github.com wrote:
If I seperate the file I get that issue, but if I make just one file for testing this is working fine..
— Reply to this email directly or view it on GitHubhttps://github.com/sebastianbergmann/phpunit-selenium/issues/275#issuecomment-29455071 .
Giorgio Sironi (@giorgiosironi) http://giorgiosironi.com http://giorgiosironi.blogspot.com/
Thank you for your answer, can you show me the proper code for that, please?
Hi,
Ok I tried to get the element byid, this is the code :
and this is the core code :
And when I run the test file, I get this error :
PHPUnit_Extensions_Selenium2TestCase_Exception: There is currently no active session to execute the 'byId' command. You're probably trying to set some option in setUp() with an incorrect setter name. You may consider using setUpPage() instead.
Can somebody help me?