Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Please refer to the link to see what kind if screenshots I get - http://goo.gl/uDIyf3 instead of http://goo.gl/BQy1hI .

Not sure what could be wrong here as the same code has been working for me on other machines. The only possibility that I see is an issue with the configuration on the machine but can't find what that issue is.

The same scripts when ran in IE, it renders the correct screenshot, so it could be a chrome specific issue. Have uninstalled & reinstalled chrome but still the same.

I am using Selenium 2.28.0 version.

Please let me know if anyone needs more inputs my issue. Any hint to resolve this would be really helpful.

Thanks

share|improve this question
    
This is really odd and an interesting problem. Please provide the machine specifics for each as well as the rendered html of each image on the different machines. –  mutt Aug 25 at 11:14
    
@mutt - the machine is a 64-bit win 7. The good & bad screenshots are mentioned in the question posted. Also on the same machine the screenshots work on IE browser. –  Tahir Shabbir Aug 25 at 11:30
    
ok, mine works beautifully. I do see some foreign characters. What country are you access google from? I think it might have to do with your particular language version of google chrome and not the chrome in general... –  mutt Aug 25 at 12:02
    
@mutt those are not foreign chars, its the same screenshot with a mirrored image. In my case as well, it has een working well on other machines. –  Tahir Shabbir Aug 25 at 12:14
    
ok, I am using windows 7 64 bit and everything is working fine for me...can you provide the version of Chrome and anything else you can possibly think of that could be unique...configurations or something? –  mutt Aug 25 at 15:04

1 Answer 1

How do you capture a screenshot using WebDriver or custom screenshoter ? May be the reason is in bad algorithm of getting screenshots after the test failures. Also you can try to update WebDriver to the newest version.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.