Forum Discussion
3 Replies
Sort By
- 05tenContributor
I would recommend you to have a look at the Geb framework.
I think it can do almost exactly what you want it to.
@Grapes([
@Grab("org.codehaus.geb:geb-core:0.7.0"),
@Grab("org.seleniumhq.selenium:selenium-firefox-driver:2.15.0"),
@Grab("org.seleniumhq.selenium:selenium-support:2.15.0")
])
import geb.Browser Browser.drive { go "http://myapp.com/login" assert $("h1").text() == "Please Login" $("form.login").with { username = "admin" password = "password" login().click() } assert $("h1").text() == "Admin Section" }For more in-depth guidance i can strongly recommend their online docs
- alokraj001New Contributor
Thanx Osten for your reply.But I have to do it through SOAPUI tool.
- nmraoChampion Level 3Osten had provided you the groovy script right? Have you tried it? And am sure you know how to run groovy script in soapui tool.