Reputation: 848
I have already a framework. So by which steps I can add selenide methods and code in selenium webdriver code?
Upvotes: 1
Views: 3318
Reputation: 510
Using Selenide is pretty simple. Just put selenide.jar to your project and start writing $(selector).val("abcde")
instead of webdriver.findElement(By.xxx()).sendKeys()
.
Take a look at this 10-minute video: http://selenide.org/2014/10/01/how-to-start-writing-ui-tests/
About the Ant's concerns described above, they are not actual.
Selenide allows you to manage webdriver by yourself. Look at this: https://github.com/codeborne/selenide/wiki/How-Selenide-creates-WebDriver#how-to-run-selenide-with-another-browser
Selenide does support Safari. Selenide does support any other webdriver. No restrictions.
Selenide supports PageObjects. Moreover, Selenide does using PageObject pattern more convenient and flexibile than the "standard" Selenium approach. Look at this: http://selenide.org/documentation/page-objects.html
Feel free to send more questions!
Upvotes: 5
Reputation: 13811
You have to download the selenide.jar and start wrapping your webelement with Selenide elements to get the benefits of Selenide. Thats it, so simple.
But before that you have to consider few things if your going to use Selenide:
So depending on the way you have the framework, you have to rework accordingly for Selenide to fit in.
Upvotes: 2