Hi Jason,

As I said in another thread, there were some problems in  Tellurium Core
bundle tier. Please use the following snapshot or later version.

http://maven.kungfuters.org/content/repositories/snapshots/org/telluriumsource/tellurium-core/0.7.0-SNAPSHOT/tellurium-core-0.7.0-20100215.152423-91.jar

I created the following test case

    @Test
    public void testCaptureScreenToString(){
        String shot1 = jlm.captureScreenshotToString();
        assertNotNull(shot1);
        System.out.println("Screenshot: \n" + shot1);
        String shot2 =
jlm.captureEntirePageScreenshotToString("background=#CCFFDD");
        assertNotNull(shot2);
        System.out.println("Entire Screenshot: \n" + shot2);
    }

and it works a charm.

Thanks,

Jian

On Sun, Feb 14, 2010 at 8:02 PM, Jian Fang <[email protected]> wrote:

> The following methods are exposed to DslContext,
>
> void captureEntirePageScreenshot(String filename, String kwargs)
> String captureScreenshotToString()
> String captureEntirePageScreenshotToString(String kwargs)
>
>
> and a new snapshot is uploaded.
>
>
> http://maven.kungfuters.org/content/repositories/snapshots/org/telluriumsource/tellurium-core/0.7.0-SNAPSHOT/tellurium-core-0.7.0-20100215.005801-90.jar
>
> Please update them from our Maven repo.
>
> Thanks,
>
> Jian
>
>
> On Sun, Feb 14, 2010 at 6:22 PM, Jian Fang <[email protected]>wrote:
>
>> 0.7.0 uses Selenium RC 1.0.1, which was the latest version when we started
>> 0.7.0.
>> I will take a look to see if this method is still there. If yes, I will
>> expose to DslContext
>> so that you don't need to call customDirectCall. If not, we will check
>> other versions of
>> Selenium RC.
>>
>> Thanks,
>>
>> Jian
>>
>>
>> On Sun, Feb 14, 2010 at 3:38 PM, Jason <[email protected]> wrote:
>>
>>> Hey all,
>>>
>>> I'm taking a stab at migrating up our codebase from 0.60 to use
>>> Tellurium 0.70.  I use captureEntirePageScreenshotToString() to stream
>>> screenshots from our selenium servers back to the hub, which allows me
>>> to avoid having a shared filesystem to aggregate screenshots in
>>> results, etc.
>>>
>>> However, I'm noticing I can no longer do a customDirectCall to
>>> captureEntirePageScreenshotToString.  Possible that the RC jar is
>>> downrev relative to 060?  Thoughts on adding it if it's just a matter
>>> of upgrading to the latest selenium-rc code?
>>>
>>> thanks!
>>> Jason
>>>
>>> --
>>> 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.

Reply via email to