I'm running a test against a Microsoft Dynamics 365 Application (using LoadRunner 12.63) where contacts need to be created and then various actions processed on those contacts. There is a Client Side LOCK on some of the fields of newly created contacts that can easily be 'unlocked' using developer tools. While I can ask the Database team to 'unlock' every contact for me, I would rather figure out how to override the lock with VUGen, as I expect that I should be able to do anything in VUGen that I can do with Developer Tools in Chrome.
To make the required Client Side changes with Developer Tools, I do the following:
Select the iFrame with a label: customScriptsFrame(ClientApoWrapper.aspx)
Run the following in the Console to unlock the field: formContext.getControl('ndss_bgtsapproval').setDisabled(false);
Run the following to set the required value in the field: Xrm.Page.getAttribute("ndss_bgtsapproval").setValue(814060001);
The following graphic shows the steps taken to make the UI change with developer tools, including an attempt to update the field before the correct iFrame is selected.
Many thanks in advance.