Hi Sachin,
There are a couple of issues here:
1. You have missed the
Category node in the
description.xml file.
2. The method in your script file has the same name as the runtime object (
CloseAllBrowser). Rename the method (e.g. to
CloseAllBrowser_Function).
3. In your
description.xml file, you have named the
CloseAllBrowser function (now
CloseAllBrowser_Function) in this way:
This means that you need to access it using the Process name:
Here is the corrected file:
<?xml version="1.0" encoding="UTF-8"?>
<ScriptExtensionGroup>
<Category Name="Runtime Objects">
<ScriptExtension Name="Close All Browser" Author="Sachin Jadhav" Version="1.0">
<Script Name="CloseAllBrowser.vbs">
<RuntimeObject Name="CloseAllBrowser">
<Method Name="Process" Routine="CloseAllBrowser_Function"></Method>
</RuntimeObject>
</Script>
<Description>
Provides a unified way of processing files in a folder.
</Description>
</ScriptExtension>
</Category>
</ScriptExtensionGroup>