Question
TCS
GB
Last activity: 12 Mar 2025 14:29 EDT
Copy a the data on click at button in web page
Suppose I have button in web page which on clicking copies values of some data , and if I manually use keyboard then can paste the value to anywhere
When I am clicking on that button through robot and pasting it in a text directly it is not working .
Is there a way to do it by using any method of textbox or that web page button , so if I click on that button in page and paste it text box the copied data from button should be visible in textbox?
@shashwats6539You can use the SendKeys method from your control. The parameter for Ctrl+V is "^v" (without the quotation marks). If you to read the clipboard, it is possible as well, just harder in 19.1. In 22.1, we have options on the Toolbox for it.