Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to capture screenshots in RC with JUnit

View previous topic View next topic Go down

How to capture screenshots in RC with JUnit

Post by popsha 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

popsha
Amateur
Amateur

Posts : 60
Join date : 2012-04-14

Back to top Go down

Re: How to capture screenshots in RC with JUnit

Post by rohit13 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/

rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 30
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

Re: How to capture screenshots in RC with JUnit

Post by popsha 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

popsha
Amateur
Amateur

Posts : 60
Join date : 2012-04-14

Back to top Go down

Re: How to capture screenshots in RC with JUnit

Post by rohit13 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/

rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 30
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

Re: How to capture screenshots in RC with JUnit

Post by Sponsored content Today at 7:27 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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