How to add automation attributes to java script dialogue box
In the support web, i have found below code to add automation attributes to Button. How to add these attributes to dialogue box
if (autoOn) {
var ATA={}; // add automation tag attributes
ATA[consts.get("SWE_PROP_AUTOM_OT")] = 'Button';
ATA[consts.get("SWE_PROP_AUTOM_RN")] = 'LinkedIn';
ATA[consts.get("SWE_PROP_AUTOM_UN")] = 'LinkedIn';
$('[name="myLinkedInIcon"]').attr(ATA);
}