so i ended up dropping the support for groups of elements, it didnt
make sense for any Actions, like clicking, or typing to do that action
on a group of elements, plus, the implementation of this was going to
require me to almost rewrite the selenium-core.js and some other js
files.
so for now this is what i have:
you can use jquery locators in non-grouped elements. I will work on
group location later.
the jquery locators MUST locate a single element
you must modify selenium-server.jar and add a user-extension which
contains jquery-core
ill try to upload the patch and the user-extensions.js to this group
On Dec 2, 12:17 pm, [EMAIL PROTECTED] wrote:
> That is really cool. After you are done with the prototyping, please
> post some examples here.
>
> I am thinking of creating a Tellurium Engine project, which is similar
> to Selenium core.
> For the first step, we may just modify Selenium core. Later on, we
> will try
> to build a new ground for the test driving engine. The main feature
> would be composite UI
> element support with new APIs for Tellurium core. But this may not
> happen very quickly
> since we need to focus on the TrUMP project first.
>
> Thanks,
>
> Jian
>
> On Dec 2, 12:02 pm, Mikhail Koryak <[EMAIL PROTECTED]> wrote:
>
> > Thanks,
>
> > here is the progress so far:
> > I have added support for jquery locators in tellurium, no group
> > locator support yet.
>
> > extending selenium is tricky because i want to be able to retain
> > support for running commands on wrapped sets of DOM elements, the true
> > power of jquery.
> > with wrapped set support i will probably need to modify selenium-
> > core.js, though i have so far been able to work around it, putting all
> > my changes into user-extensions.js
>
> > adding support for single element selention with jquery would be very
> > easy, no need to modify selenium js at all!
>
> > On Dec 1, 9:25 pm, [EMAIL PROTECTED] wrote:
>
> > > Mikhail,
>
> > > Glad you make some progress. To not kill Firefox, please go to class
> > > org.tellurium.dispatch.Dispatcher and in the class, you will see
> > > the method "invokeMethod" as follows,
>
> > > def invokeMethod(String name, args) {
> > > if (sc.client == null)
> > > sc = new SeleniumClient()
>
> > > try {
> > > return sc.client.metaClass.invokeMethod(sc.client, name,
> > > args)
> > > } catch (Exception e) {
> > > if (this.captureScreenshot) {
> > > long timestamp = System.currentTimeMillis()
> > > String filename = filenamePattern.replaceFirst
> > > (PLACE_HOLDER, "${timestamp}")
> > > sc.client.captureScreenshot(filename)
> > > println "Screenshot for exception <<" + e.getMessage()
> > > + ">> is saved to file ${filename}"
> > > }
> > > throw e
> > > }
> > > }
>
> > > Please comment out the above "throw e" line so that exceptions will be
> > > caught and swallowed.
>
> > > Thanks,
>
> > > Jian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---