Hot answers tagged php
I don't have 50 rep to ask you in comments, but... Did you try changing the line endings? Maybe Sonarqube is expecting either linux or windows line endings and the file was saved with the opposite.
Phil is right with how customizable it is. After a quick search, I found a couple of export/import plugins. A more important question may be however, why are the testers using a separate instance from the developers? Doing a constant export/import is just going to create additional overhead. It's all fine and well if you update once, but, wouldn't the ...
Take a look at SonarQube. It has some good code complexity metrics. Since code complexity generally translates to test-ability, it will give you a good idea which areas of the code need refactoring. It also gives you some metrics on unit-test coverage. I find the historical aspect of this metric to be helpful. As code is added and/or refactored, I like ...
How about the PHP Mess Detector, it generates all kinds of metrics about the code. Although its focus is not test-ability I think cleaning up the "mess" will lead to much better testable code. Since its a rules based system and open-source you could add more rules that are test-ability specific, maybe its possible to borrow rules from other products.
Maybe the test playback does not wait long enough for the element to appear, but as you do not give a lot of info about what your are testing and how its a bit of guessing work. I would read up on how to wait for elements with Ranorex: http://www.ranorex.com/support/user-guide-20/test-automation-code-examples.html#c3197
I've handled this before by killing the process with driver.quit(); and then re-initializing the driver and getting the URL. That will definitely kill the session, because it's running in a new JVM. Since it's the same test, you can still pass strings and integers to the new driver. Simplified Example: driver.quit(); driver = new firefoxdriver(); ...
Yes, it definetely makes sense to use it in a language you are comfortable with. PHPUnit has Selenium integration out of the box, did you look at the introduction in the PHPUnit manual? Selenium has its quirks, but is widely used, so there is a lot of information about it available. There are other projects, though, like http://phantomjs.org/. If you are ...
If you haven't already, I would suggest investigating the Symfony2 docs, specifically this link as a starting point. http://symfony.com/doc/current/book/testing.html
Mantis is totally customisable so you could probably get someone to code a solution up - the database is open and the code is there for you to do whatever you want. It does mean coding in php though...
Only top voted, non community-wiki answers of a minimum length are eligible