• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 518
  • Last Modified:

Nunit DLL import conflict

I am using Selenium and a .net class to image capture the browser.  When attempting to grab the browser and capture its screen shot (via user32.dll import) selenium is crashing.  How do I prevent the crash.  Selenium grabs te browser and I grab the browser.  How can we share?
2 Solutions
Craig KehlerDirector of Customer Service & Community RelationsCommented:
I use selenium.captureEntirePageScreenshot() heavily and have no issues, does that work for your implementation?

if you are not good at Selenium

read following book

Overview of Selenium 1.0 Testing Tools: Beginner’s Guide
Phil5780Author Commented:
Yes, capture the entire screen works.  But what I'm needing to achieve is target capture by app bounds.  My C# code will do this but when wrapped in Nunit it always fails.  Image validation functionality would make selenium a much more capable tool.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now