Hi All,
I am quite new to Watir and I am using Watir with Autoit to automate
my desktop application. However I am facing one issue where all the
functions from Autoit are working fine however Autoit's inbuilt
function "FileExists" don't work with Watir.
----------------------------------------------
I am trying following code:
-----------------------------
require 'win32/process'
require 'win32ole'
it = WIN32OLE.new('AutoItX3.Control')
it.FileExists("C:\Setup_Snagit_EVALUATION_ENU.exe")
---------------------------------------------------
Error is:
-------------------------------------------
Error:
test_01_01a(TC_01a_SnagitInstallationTrial):
WIN32OLERuntimeError: unknown property or method `FileExists'
HRESULT error code:0x80020006
Unknown name.
--------------------------------------
Regards
Inder Pal
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]