  | TakeScreenShotCutOutScreenShot Method | 
Framework to automate tests using Selenium WebDriver
            Cut out the screen shot by giving locationX, locationY, elementWidth, elementHeight.
            
Namespace: Ocaramba.HelpersAssembly: OcarambaLite (in OcarambaLite.dll) Version: 4.2.4
Syntaxpublic static string CutOutScreenShot(
	string folder,
	string newScreenShotName,
	int locationX,
	int locationY,
	int elementWidth,
	int elementHeight,
	string fullPathToScreenShotToCutOut
)
 Request Example
		Parameters
- folder  String
 - Folder to save new screenshot.
 - newScreenShotName  String
 - Name of new screenshot.
 - locationX  Int32
 - The x-coordinate of the upper-left corner of the new rectangle.
 - locationY  Int32
 - The y-coordinate of the upper-left corner of the new rectangle.
 - elementWidth  Int32
 - The width of the new rectangle.
 - elementHeight  Int32
 - The height of the new rectangle.
 - fullPathToScreenShotToCutOut  String
 - Full path to the screenshot to be cut out.
 
Return Value
StringFull path of cutted out screenshot.
ExampleHow to use it: 
var fullPath = CutOutScreenShot(folder, screenshotName, locationX, locationY, elementWidth, elementHeight, fullPathToScreenShotToCutOut);
See Also