I am running MS Word using:
SystemUtil.Run "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE","","",""
Can this be assigned to a variable Var, so that different actions in Word such as Var.Documents.Add(), Var.Selection.TypeText etc. can be performed? Or could you tell me how i could do these actions after running SystemUtil.Run?
I am not using CreateObject(Word.Application) or GetObject, as they are giving me a different template of Word. Only SystemUtil.Run is giving the correct Word template that i need to use.
I am using QTP10, and MS Word 2007. Any help or suggestions would be greatly appreciated.
SystemUtil.Run "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE","","",""
Can this be assigned to a variable Var, so that different actions in Word such as Var.Documents.Add(), Var.Selection.TypeText etc. can be performed? Or could you tell me how i could do these actions after running SystemUtil.Run?
I am not using CreateObject(Word.Application) or GetObject, as they are giving me a different template of Word. Only SystemUtil.Run is giving the correct Word template that i need to use.
I am using QTP10, and MS Word 2007. Any help or suggestions would be greatly appreciated.