SumanthDosapati
Mega Sage

@Sachin Gavhane 

Use 'Rich Text Label' type of variable instead of URL type and use below sample script.

 g_form.setLabelOf('test_url', '<a title="ServiceNow" href="www.servicenow.com" rel="nofollow">Click Here</a>');

SumanthDosapati_0-1753200944935.png

Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth