Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Auto it support on win7

$
0
0
Hi,

I need to know about stability of Autoit on Win7 as compared to WinXP.

I an new to autoit and I written an code to extract text from the listview .

Code is :

Local $hWnd = ControlGetHandle("IRM Client Preferences","","SysListView321")
$iCount = ControlListView("IRM Client Preferences","User Profiles","SysListView321","GetItemCount")
For $i = 0 To $iCount
    Local $val = _GUICtrlListView_GetItemText($hWnd,$i)
                ;MsgBox(0, "", $val)
    If $val = "IRM-Auto-Cmb51.dctmlabs.com" Then
        FileWrite("result.log.html", "TestCase : 0001 : Failed : Profile Still Exists")
                                FileWrite("result.log.html",""& @CRLF)
                                $var1 = "fail"
        ExitLoop
    EndIf
Next



In this code im getting text from the syslistview321.

This code works fine perfectly on winXP.

But as soon as I try to excute this code on Win7, it fails. Even though application under test is same, env is same only difference is the OS.

So it is not able to get text from the desired syslistview321 in win 7 [32 bit or 64bit].

So is it possible that Autoit is not stable or not working fine on windows 7?

Or do I have to write some other code to achieve this in win7?

Any help and comments are valuable.

Thanks
Bhavesh

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>