Sometimes when you are using Rapise, you have to use external ActiveX or .NET objects to perform specific actions. You can get Rapise to display intellisense for those objects.

Using ActiveX Objects

When writing a test script in JavaScript, suppose you want to use the File System Object:

var fso = new ActiveXObject("Scripting.FileSystemObject");

(you can of course use the built-in File object, but maybe you need an advanced operation that's not part of the Rapise file object).

If you type fso and click the period (.) button, you won't get any intellisense displayed:

However, if you right-click on the script editor, you will see the menu option:

Now if you choose this option "Import Type Library..." and select the Scripting object from the list of ActiveX objects:

Rapise will then add the following code to your test script:

and then when you try and use "fso", you will now see an intellisense box:

Attachments

Selected files will be attached to any email sent on saving ticket.

file selected files selected  () Delete Selected

  • Created:
  • by:

Select files to upload

Or drag and drop files here

Uploading …
Done!
Upload More?
There was an error.
Try again?

Save to upload the selected file(s)

Article Info
  • Last Updated: 9/24/2018
  • Article ID: KB387
  • Views: 2610