Selenium 2.23.0 released

370 views
Skip to first unread message

Luke Inman-Semerau

unread,
Jun 7, 2012, 12:54:31 PM6/7/12
to Selenium Users, selenium-...@googlegroups.com, webd...@googlegroups.com
In the spirit of getting back to weekly releases. Selenium 2.23 has been released. With Firefox 13 support.

Have at it -

Yeaks35

unread,
Jun 7, 2012, 2:38:21 PM6/7/12
to Selenium Users
FYI - Looks like they haven't added it to the Maven repo yet:

http://repo1.maven.org/maven2/org/seleniumhq/selenium/

Luke Inman-Semerau

unread,
Jun 7, 2012, 4:01:29 PM6/7/12
to seleniu...@googlegroups.com
It's in Sontatype's staging server:

Which is supposed to sync to central every 2 hours[1], but hasn't yet and it was queued up almost 3.5 hours ago. So, I'm not sure what's up :)

-Luke

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


Shaba K

unread,
Jun 7, 2012, 4:05:45 PM6/7/12
to seleniu...@googlegroups.com
:(

Krishnan Mahadevan

unread,
Jun 7, 2012, 11:24:41 PM6/7/12
to seleniu...@googlegroups.com
Its there now I think :)
Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

Gopalkrishna Gumma

unread,
Jun 8, 2012, 2:11:47 AM6/8/12
to seleniu...@googlegroups.com
Hi ,

Sorry to post this.

I have one issue in Flash using webdrive for 'Select a cobobox'

I wrote a code to identify a select box and select some operation in that dropdon box as below. Please help to fix this issue.

This below sample code is bot working in Flash using webdriver.
Type-1
public void select(String locator, String value) {
((JavascriptExecutor)  webDriver).executeScript("document.getElementById('" + flashObjectId + "').fp_select({" + locator +", 'label':'"+ value +"'})");
}

Type-2 : This is also not working.
public String selectByLabled(final String objectId ,final String optionalButtonLabel) {
    return call("doFlexSelectComboByLabel", objectId,optionalButtonLabel);

/*
I have tryied with defferenct function names like below but no luck
doFlexSelectIndex
getFlexSelectedItemAtIndex
doFlexSelect
*/
}

But Click Works Fine sample code like bellow.

public String click(final String objectId, final String optionalButtonLabel) {
   
     return call("doFlexClick", objectId, optionalButtonLabel);
}
...
private String call(final String functionName, final String... args) {
    final Object result =
          ((JavascriptExecutor)webDriver).executeScript(
               makeJsFunction(functionName, args),
               new Object[0]);

       return result != null ? result.toString() : null;
}
private String makeJsFunction(final String functionName, final String... args)
{
    final StringBuffer functionArgs = new StringBuffer();

   if (args.length > 0) {
       for (int i = 0; i < args.length; i++) {
           if (i > 0) {
               functionArgs.append(",");
       }
           functionArgs.append(String.format("'%1$s'", args[i]));
           System.out.println("functionArgs: "+functionArgs);
    }
}
   return String.format(
       "return document.%1$s.%2$s(%3$s);",
       flashObjectId,
       functionName,
       functionArgs);
}

Thanks,
Gopal
Reply all
Reply to author
Forward
0 new messages