Mikhail,

I upgraded the jQuery version in trunk core to 1.3.2 and seems you are
also using some java script lib
for JSON, right?

I tried to run the test testJqueryFunctionality() in
GoogleBooksListGroovyTestCase, but got error as follows,

21:53:32.161 INFO - Launching Firefox...
21:53:34.683 INFO - Got result: OK,6ee7071704f446119a1a36d04f87c172 on
session 6ee7071704f446119a1a36d04f87c172
21:53:34.695 INFO - Command request: addLocationStrategy[jquery,
          var found = $(inDocument).find(locator);
          if(found.length == 1){
              //for now only support of selecting 1 element.
              return found[0];
          } else {
              return null;
          }
          ] on session 6ee7071704f446119a1a36d04f87c172
21:53:34.730 INFO - Got result: OK on session
6ee7071704f446119a1a36d04f87c172
21:53:34.733 INFO - Command request: addLocationStrategy[jqueryall,
          var found = $(inDocument).find(locator);
          if(found.length > 0){
              return found;
          } else {
              return null;
          }
          ] on session 6ee7071704f446119a1a36d04f87c172
21:53:34.768 INFO - Got result: OK on session
6ee7071704f446119a1a36d04f87c172
21:53:34.776 INFO - Command request: open[http://books.google.com/, ]
on session 6ee7071704f446119a1a36d04f87c172

21:53:40.699 INFO - Got result: OK on session
6ee7071704f446119a1a36d04f87c172
21:53:41.075 INFO - Command request: isElementPresent[jquery=#hp_table
p:eq(3), ] on session 6ee7071704f446119a1a36d04f87c172
21:53:41.105 INFO - Got result: ERROR: Error executing strategy
function jquery: $(inDocument).find is not a function on session
6ee7071704f446119a1a36d04f87c172

Sounds like jQuery is not loaded and thus Selenium does not know $
(inDocument).find is a jQuery function.

I run the same test on core-engine-prototype branch and get the same
result, please take a look.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to