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?
@shashwats6539Is your question regarding how you can access the clipboard to then set the text of the control equal to what’s on the clipboard, or is it that you want to understand how to SendKeys to simulate the paste as a user would? I see you are using a very old build in another post (please confirm your version), so you may not have the option to use SendKeys from a control itself in that old version (although in newer ones it is a method available on most controls).
@ThomasSasnett I am using 19.1.132
Yes on clicking the button the text must have copied to clipboard , I want to take that text and place it in a cell value of excel
@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.