Hmm, having trouble getting Tellurium to initialize correctly with the latest code -- I'm getting an error from within the TelluriumConfigParser that i18nbundle is null...Not sure what changed within the last few days. Insight?
Jas. On Feb 3, 4:26 pm, Jason <[email protected]> wrote: > Thanks Jian. I didn't have much luck with the tellurium log here -- > no error messages were reported. It shows that tellurium delegates > the attachFile command to selenium, then nothing -- no errors or any > other messages. > > I'll try attachFile() from DslContext and see what happens. > > Jas. > > On Feb 2, 8:42 pm, Jian Fang <[email protected]> wrote: > > > Hi Jason, > > > I exposed attachFile() to DslContext. Please try the following snapshot to > > see if it works for you. > > >http://maven.kungfuters.org/content/repositories/snapshots/org/tellur... > > > Thanks, > > > Jian > > > On Wed, Feb 2, 2011 at 9:44 AM, Jian Fang <[email protected]> wrote: > > > Jason, > > > > The escape should be added by the json converter and it should be removed > > > by JavaScript json parser. > > > > Selenium server te5 snapshot comes with Firebug, > > > >http://code.google.com/p/aost/wiki/TelluriumJQueryFirebug > > > > Could you try your code on Firefox and check the firebug console to see > > > the > > > output message? > > > > Alternatively, I could add the attachFile method to the DslContext and let > > > tellurium core pass the command through > > > without json conversion. > > > > Thanks, > > > > Jian > > > > On Tue, Feb 1, 2011 at 7:12 PM, Jason <[email protected]> wrote: > > > >> hi all, > > > >> For uploads, we use customDirectCall and attachFile with chrome. I'm > > >> noticing something different between selenium server behavior between . > > >> 6 and .8. > > > >> Fundamentally, I'm not able to get attachFile() working. More > > >> specifically, here's what I see: > > > >> With the old 1.0 beta 2 server using tellurium .60, attachFile looks > > >> like this: > > > >> 15:29:09.963 INFO - Command request: attachFile[id=selectFile, > > > >>http://www.gotdogsonline.com/chinese-foo-dog-pictures-breeders-puppie... > > >> ] > > >> on session d34503f7e2fb4f9887f2dd9016cb529a > > >> 15:29:09.991 INFO - Getting: > > > >>http://www.gotdogsonline.com/chinese-foo-dog-pictures-breeders-puppie... > > >> 15:29:09.991 INFO - To: /var/folders/pA/pAuHSFE-Ep4RlzA3iNls8U+++TM/- > > >> Tmp-/se-318157975.jpg > > >> 15:29:10.853 INFO - Got result: OK on session > > >> d34503f7e2fb4f9887f2dd9016cb529a > > > >> with the latest 1.0.1 version and tellurium .80 the same test results > > >> in the following: > > > >> 16:10:16.443 INFO - Command request: > > >> getBundleResponse[[{"uid":"","args":["id=selectFile","http:\/\/ > > >>www.gotdogsonline.com > > >> \/chinese-foo-dog-pictures-breeders-puppies-rescue\/pictures\/chinese-foo-dog-0003.jpg"],"name":"attachFile","sequ":70}], > > >> ] on session e263a2a24ee24435827ef4e0737355a5 > > >> 16:10:16.467 INFO - Got result: OK,[] on session > > >> e263a2a24ee24435827ef4e0737355a5 > > > >> Note that the URL is escaped and that attachFile is not retrieving the > > >> URL and, well, attaching anything. > > > >> Any insight here? I'm not positive that the escaping is relevant, as > > >> perhaps it's handled correctly before use. Also, don't know if it > > >> might not behttp://jira.openqa.org/browse/SRC-682also. > > > >> thanks, > > >> Jas. > > > >> -- > > >> 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]<tellurium-users%[email protected]> > > >> . > > >> For more options, visit this group at > > >>http://groups.google.com/group/tellurium-users?hl=en. > > -- 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.
