Can anyone tell me how to open a word document from C:\XYZ.
I can create a word document using aqfile.
But I want to launch the word document so that I can automate Subversion plugin.
Now my scripts stopped w orking even after adding registry.
It only works when I am watching the execution with remote desktop.
Kindly suggest solution
The testcase which I want to do is :-
Go to a folder
Perform SVN Checkout
Add a folder
Commit the folder
Add a Word document
Launch Word document, Perform action and commit
Add an Excel sheet
Launch Excel sheet, Perform action and commit.
Please someone help me.
You can open a Word file by using it's COM object. Perhaps, it will be a way you can use to run the needed plugin also.
Here is a sample code to open the file:
'VBScript Set oWord = Sys.OleObject("Word.Application") oWord.Visible = True oWord.Documents.Open "C:\YourFile.doc"