@Swatiba , you mentioned "When I click manually a particular button, it opens a page,Screenshot of that page has to be captured"
- Add ui element for the button
- Click the button using PAD
- Add Wait for the other page to load open
- Then call the take screenshot action.
Also take a look at Take screenshot of web page action.
If using this action then:
After clicking the button
- first use Launch Chrome -> Attach to already opened window -> Give the new window details. Its also takes partial url or window title
- then call Take screenshot of web page
Are you facing any challenges in doing this?