Closed GoogleCodeExporter closed 9 years ago
I found this information in
${play.path}/modules/testrunner/public/test-runner/selenium/scripts/selenium-tes
trunner.js:
/**
* Verifies that the selected option of a drop-down satisfies the optionSpecifier. <i>Note that this command is deprecated; you should use assertSelectedLabel, assertSelectedValue, assertSelectedIndex, or assertSelectedId instead.</i>
*
* <p>See the select command for more information about option locators.</p>
*
* @param selectLocator an <a href="#locators">element locator</a> identifying a drop-down menu
* @param optionLocator an option locator, typically just an option label (e.g. "John Smith")
*/
So this command is deprecated. It seems that if you use JS API directly (like
Play! Test Runner does) you can use it, but if you use Selenium Java
client-server API - it's not available.
I've checked the four new methods and all of them work for me.
Original comment by gslowiko...@gmail.com
on 5 Jun 2012 at 8:36
Hi
Thanks for looking into this and getting back so promptly. I will try
to investigate a little bit more on my side before lodging an issue like
this again.
Original comment by share.re...@gmail.com
on 5 Jun 2012 at 11:19
I'm glad you created an issue. This is a problem and should be reported.
I found a workaround, but after thinking about it a little more I came to the
conclusion that I have to report this deprecation case to the user with an
advice what to do (similar to what I wrote in this issue).
Original comment by gslowiko...@gmail.com
on 6 Jun 2012 at 9:06
[deleted comment]
Original comment by gslowiko...@gmail.com
on 25 Jun 2012 at 8:12
svn rev.10013 - commands implemented
Original comment by gslowiko...@gmail.com
on 25 Jun 2012 at 8:15
Snapshot deployed
Original comment by gslowiko...@gmail.com
on 25 Jun 2012 at 8:16
thanks again, i also noticed that you created a new release a couple of
days back can't wait to use it.
Original comment by share.re...@gmail.com
on 30 Jun 2012 at 12:21
Original issue reported on code.google.com by
share.re...@gmail.com
on 4 Jun 2012 at 1:14