Knowledge Base Article

Home Page > Knowledge Base > Rapise

Article Javascript .js not associated with Windows Scripting Host

by Adam S on Monday, September 9, 2013

Sometimes if you have installed a program that associates itself with the .js file extension, you will see the following error when you try and record/play a Rapise test:

Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
 
Input Error: There is no script engine for file extension ".js".

If you get this error message, you need to simply associate the .js filetype with Windows scripting host:

c:\>assoc .js=JSFile

if that doesn't work, follow these instructions:

http://www.winhelponline.com/articles/230/1/Error-There-is-no-script-engine-for-file-extension-when-running-js-files.html

Instructions for Windows Vista

Open an Elevated Command Prompt window. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  • Type the following command and press ENTER:

regsvr32 %systemroot%\system32\jscript.dll

  • Type EXIT to close the Command Prompt window
  • Download vista_js_fix.reg from the Attachments section (scroll below), and save it to Desktop
  • Right-click vista_js_fix.reg and choose Merge
  • Click Yes when asked for confirmation.

Instructions for Windows XP

  • Click Start, Run and type:

regsvr32 %systemroot%\system32\jscript.dll

  • Press ENTER
  • Download xp_js_fix.reg from the Attachments section below, and save it to Desktop
  • Right-click xp_js_fix.reg and choose Merge
  • Click Yes when asked for confirmation.

If the above does not solve the problem, then download and install Windows Script 5.7 from the following Microsoft Web site:

 

Attachments
Article Info
Last Updated: 9/9/2013
Article ID: KB58
# Views: 14222
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.