// Logs into a user's Gartner account // define 'garl' and 'garp' as Parameters program Gartner; procedure OnDocumentComplete(URL : string); begin if IsPartOf('https://www.gartner.com/SignIn.jsp?call=homepage', URL) then begin Fill('userName', GetParam('garl')); Fill('passwd', GetParam('garp')); ExecuteWebScript('submitSignin()', 'javascript'); end; end; begin Navigate('https://www.gartner.com/SignIn.jsp?call=homepage'); end.