ranujn
6 years agoContributor
Simple Functional Web Testing
I wanna to try simple functional web testing like
1) Open the specific URL
2) Enter some value
3) press the button
4) get the response and press the next button
5) press button again to sa...
- 6 years ago
Hi ranujn
- First of all the selenium-standalone-server version you are using is not at all compatible with the chromedriver verison.
- The soapui version should also be compatible with the selenium-standalone-server version.
Please follow below steps:-
- Download selenium-server-standalone-2.41.0 jar - selenium-standalone-server+IEDriver
- Download IEDriverServer_x64_2.41.0
- Download chromedriver_win32_2.26 - chromedriver
- Download soapui_5.4.0
- Download httpClient_4.3.4 - httpclint
Put all the jar file inside bin/ext folder and restart your soapui.
Then please try below code:-
import org.openqa.selenium.ie.InternetExplorerDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.By; import org.openqa.selenium.* //System.setProperty("webdriver.ie.driver", "C:\\Program Files (x86)\\SmartBear\\SoapUI-5.4.0\\bin\\ext\\IEDriverServer.exe") System.setProperty("webdriver.chrome.driver", "C:\\Program Files (x86)\\SmartBear\\SoapUI-5.4.0\\bin\\ext\\chromedriver.exe") //def driver = new InternetExplorerDriver() def driver = new ChromeDriver() driver.get("https://google.co.in")
I have tested it for IE and Chrome. and it is working fine. Please try all the steps from your side.
And, Let me know, for any issues.
Hope this solution helps you out. Please accept as solution and don't forget to give kudos. :)
Thanks,
avidCoder