Showing posts with label captureEntirePageScreenshot Command. Show all posts
Showing posts with label captureEntirePageScreenshot Command. Show all posts

Before running selenium script suite from command prompt, you must be aware about How to create and run test in selenium IDE. You can read more articles about selenium IDE different commands with examples from my past posts.

Selenium has its own TestRunner and we need to use it for running selenium IDE software test case from command line. Let me describe all process step by step.

"captureEntirePageScreenshot" command

This command is very useful for capture and save full page screenshot. You can use this command anywhere in between. It will store screen shot of current selected browser tab.


New Test
Command Target Value
open http://www.google.com
captureEntirePageScreenshot D:\\selenium.jpg

VIEW CAPTURE SCREENSHOT EXAMPLE IN WEBDRIVER

In above example, "captureEntirePageScreenshot" command will capture and store screenshot of Google home page in "D" drive with file name selenium.jpg. You can change file name and file storing path as you