Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18120 Posts in 4741 Topics- by 31743 Members - Latest Member: suuraj
 

Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: Application automation using Java Scripting    (Read 495 times)
burning moon
FRProject
User
*
Offline Offline

Posts: 4


« on: November 11, 2009, 04:41:57 AM »

Does anyone have tutorials on fso, excel and word automation using Java Scripting similar to Dani's tutorials on excel automation using vb scripting ?
Logged
Karthik Reddy
User
*
Offline Offline

Posts: 11


« Reply #1 on: November 16, 2009, 12:45:31 AM »

Steps to follow for Js in QTP

HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest
Professional\Configuration_UI\ScriptMgr
Create a new String value with name AltProgID and value "Mercury.JSScriptMgr" and change the value
of "Create" to 1

Create a new child key inside the key
HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest
Professional\Configuration_UI\ScriptConstants
{0ECD5785-BE7D-11d4-8EAF-11135659EC56}

Repeat the same steps for the below key
HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest Professional\Configuration

Open C:\Program Files\Mercury Interactive\QuickTest Professional\bin\QTEditor.ini
Add the below parameter to [General options]
AllowJavaScript = 1
DisableVBScript = 1
Logged
burning moon
FRProject
User
*
Offline Offline

Posts: 4


« Reply #2 on: November 17, 2009, 09:59:11 PM »

Hi Karthik, thanx for ur reply, but i was looking on some syntax for fso related operations using js for manipulating excel etc.
Logged
Pages: [1]   Go Up
Print
Jump to: