Question

4
Replies
197
Views
Close popover
Sravan Aluvala (chakri5122)
Tech Mahindra Ltd

Tech Mahindra Ltd
IN
chakri5122 Member since 2017 12 posts
Tech Mahindra Ltd
Posted: November 12, 2019
Last activity: November 18, 2019
Closed
Solved

Use Java script

Hi,
I followed below URL to make use Execute/Invoke methods.

https://community1.pega.com/community/pega-support/question/excutescriptinvoke-script

Replicated the same thing for training.openspan.com but couldn't achive login.

Used below code as javascript

  1. function raiseEvent(htmlId){
  2. var target = document.getElementById(htmlId);
  3. var eventObject = document.createEvent("Event");
  4. eventObject.initEvent('input', true, false);
  5. target.dispatchEvent(eventObject);
  6. }
I am missing anything ? Need any property changes to use javascript
Robotic Process Automation
Moderation Team has archived post