Share
Go down
popsha
Amateur
Amateur
Posts : 60
Join date : 2012-04-14

How to capture screenshots in RC with JUnit

on Thu May 31, 2012 10:25 am
How to capture screenshots in RC with JUnit and store it in a folder

Can anyone explain me with snippet of code
avatar
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA
http://radical-qa.blogspot.in/

Re: How to capture screenshots in RC with JUnit

on Thu May 31, 2012 12:33 pm
You can capture screenshot with below command
E:\\test.jpg is path with image name

Code:
selenium.captureEntirePageScreenshot("E:\\test.jpg", "");

_________________
Radical QA
http://radical-qa.blogspot.in/
popsha
Amateur
Amateur
Posts : 60
Join date : 2012-04-14

Re: How to capture screenshots in RC with JUnit

on Thu May 31, 2012 1:36 pm
Hi Rohit,

Above provided code is not working with *iexploreproxy
Can you suggest me an alternative.

What is the difference between *iexplore, *iexploreproxy
avatar
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA
http://radical-qa.blogspot.in/

Re: How to capture screenshots in RC with JUnit

on Fri Jun 01, 2012 12:26 pm
Use Below Code
Code:
selenium.captureScreenshot("E:\\test.jpg");


iexploreproxy is InternetExplorerCustomProxyLauncher

_________________
Radical QA
http://radical-qa.blogspot.in/
Sponsored content

Re: How to capture screenshots in RC with JUnit

Back to top
Permissions in this forum:
You cannot reply to topics in this forum