Webastor - Programming Tips and Tricks

Programming language => PHP => Topic started by: Rupert on November 17, 2016, 07:04:54 PM

Title: Can We Do PHP In Selenium.& Quit PHP Programming?
Post by: Rupert on November 17, 2016, 07:04:54 PM
Hi, I would like to ask you a big problem, can we do php in selenium.& quit php programming? Please help me, thank you very much for answering me as soon as possible.
Title: Re: In Selenium.& Quit PHP Programming?
Post by: Jaxon on January 09, 2018, 06:25:15 PM
ry Following things

Get Phpunit installed and working
Also have JAVA sdk & jre on your pc.
Now record test cases using selenium IDE.
Export the testcases to php files.
Using these exported functions create an library of test cases.
Create suite which calls the functions/tests from library.
Now to execute Start Selenium Server using java command.
Using phpunit Execute the suite