Posted: 30 Aug 2017 7:42 EDT Last activity: 31 Aug 2017 15:00 EDT
Unable to paste value second time in a textbox in oracle application
I am pasting a value in a textbox in oracle application. First time its pasting successfully. But when i pasted the value second time, it won't allow me to paste and throw some exception.(Exception invoking method sendkeys on object id a90).
I tried setText method, appendText method, sendkey method. But same issue. Please help me out its urgent.
It will be difficult to determine why the second time doesn't work without more context. You seem to be using a forLoop for setting the values, so that leads me to believe that you mean second row and not second time. If that is the case, you'd need to show us the hierarchy of the controls within Object Explorer to provide more guidance.
If this is urgent, I suggest you open an SR with support to assist you. If you do open an SR, please post the SR number here for tracking purposes.
The following article will be help you in creating an SR-
Ashish, can you show the full error. I suspect that the control is destroyed or hidden when you are trying to invoke the method. I would suggest doing a WaitForCreate() right before invoking that method... Can you attach a RuntimeLog.txt as well with the issue recreating?
To enable logging:
Open Pega Robotics Studio
Go to Tools -> Options
Then scroll down to 'Pega Robotics' and click on 'Runtime Diagnostics'
Click the 'File Publisher' mode to ON if it is not already.
Then click on 'Log Categories' under 'Runtime Diagnostics'