This is a migrated thread and some comments may be shown as answers.

ActiveBrowser.Capture produces image with 'Black' Content Window

1 Answer 90 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 16 May 2011, 07:07 PM
Hello,

I'm having an issue where the ActiveBrowser.Capture() feature is returning an Image where the Content window of the Browser is Black. (The Browser Navigation URL and Tool bars are visible)

Here is the Code I'm using:
 
var bitMap = ActiveBrowser.Capture();
var fileName = TestContext.TestName + "_" + DateTime.Now.ToString("MM_dd_yyyy_HH_mm_ss_ffff");
fileName = Path.ChangeExtension(Path.Combine(directory.FullName, fileName), ".jpeg");
bitMap.Save(fileName, ImageFormat.Jpeg);

I've attached what one of the Results looks like.

These Scripts are running on Window 7 VM's.

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 19 May 2011, 02:29 PM
Hi Eric,
   please go ahead and upgrade to the latest version of the Testing Framework (that's the now-rebranded WebAii Framework). You can download it from your Telerik account. We recently fixed a similar issue and the new version contains the fix. I'm not 100% you're hitting the same issue but it's very likely.

Let me know whether the problem persists after upgrading.

All the best,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Eric
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or