i trying execute webdriver script jmeter. have installed webdriver plugin. created firefox config element , web driver sampler.
added script under webdriver sampler -
wds.sampleresult.samplestart() wds.browser.get('http://google.com') wds.sampleresult.sampleend()
but while executing, browser not opening.
i'm pretty sure have firefox version not supported underlying selenium libraries.
- webdriver sampler plugin 1.2.1 supports firefox 33
- webdriver sampler plugin 1.2.0 supports firefox 26
if need latest firefox other reason can have firefox 26 or 33 installed somewhere else. add following line system.properties file (lives under /bin folder of jmeter installation)
webdriver.firefox.bin=/path/to/your/firefox/directory
see the webdriver sampler: top 10 questions answered guide more webdriver sampler tips , tricks.
Comments
Post a Comment