Jump to content

Akashrai

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by Akashrai

  1. Thanks spudw2k. I have tested send() is working fine But I faced problem with winActivate() or winWaitActivate() methods . So i need alternative of the same.
  2. I am not able to fetch id of all GUI components through "auto it info" tool so i have used send() method. Is there any other way to achieve the same will be helpful for me. And may i get where it is documented that Send() commands will not function in a scheduled program. And what about winActivate() or winWaitActivate() methods. Any alternate?
  3. Hi, I have written a script in autoit for automation. It is scheduled and running on server but i have noticed it stops at some points. But when i am taking remote of server and running it runs fine. Is it problem of winActivate() or winWaitActivate() or any other method which i am using, is only run when screen is activated? If this is the may i get list of those methods and alternative of the same. I need alternative of winActivate() and winWaitActivate() methods. Any document or link is welcome. Please help ... thick.au3
  4. Thanks for reply. But the application i want to automate is on client side and and we do not know any thing except GUI. In the case it seems impossible by auto it. I have searched for any other tool/spy(FREE) but did not get much. I went through Fest but do not know how to start. Any way thanks again.
  5. Thanks for support. Here it says ctrl+w. After pressing Ctrl+w it gives me following code - Mouse position is retrieved 133-54 JAVA window found <> Java Window Title= Handle=0x00000000002A0740 res: 1 Result getAccessibleContextFromHWND is <> ubound: 4 We have a VMid 789588 ac 369080852 Call version info: PASSED VMID found : 789588 VMVersion: <1.8.0_65> bridgeJavaClassVersion: <1.8.0_65> bridgeJavaDLLVersion: <1.8.0_65> bridgeWinDLLVersion: <AccessBridge 2.0.4> *** getAccessibleContextAT result is <369081228> *** getAccessibleContextAT result is <369081228> Paste push button push button enabled,focusable,visible,showing enabled,focusable,visible,showing 2 0 98 35 46 0 End of getAcceccibleContextAt info How to use above info in my autoit script. By which Detail of button i cab use. The application on which i am testing is bellow
  6. I have tried it . It is also not detecting . The VISA application which i am automating is a java (Applet ) application. I have searched for that and got "FEST" but do not know how to get id/class name of GUI component of the VISA application. Is there any spy tool in fest. Other that FEST any other open source tool to automate applet desktop application? Please help.
  7. I have an application with tree view. Description is following of treeview root chield1 chield1.1 chield1.2 ........ chield2 chield2.1 chield2.2 ........ so on when i click on root the tree expands and shows only chield1, chield2(not showing 3rd level) and when i click on chield1 it shows plus mark(+) before chield1 and also shows chield1.1, chield1.2.For this i have written following code $idTreeView = ControlGetHandle("retrival window","","[CLASSNN:WindowsForms10.SysTreeView32.app.0.141b42a_r16_ad11]") $hItemFound = _GUICtrlTreeView_FindItemEx($idTreeView, "root|chield1") _GUICtrlTreeView_ClickItem($idTreeView, $hItemFound, "left", False) $hItemm = _GUICtrlTreeView_FindItemEx($idTreeView, "root|chield1|chield1.2") ; Till here there no problem _GUICtrlTreeView_ClickItem($idTreeView, $hItemm, "left", False,1) Now problem is in last line it not selecting the node (chield1.1). It opens enternet explorer i do not know why"? I have checked ($hItemm) the handle is of right node(root|chield1|chield1.2) Please help
  8. Yes, Gone through your given link and also searched on google but . Could you provide link to download the same.
  9. Where I will get simplespy.au3 file . I am new so please help. I have searched on google as well as in auto it setup but did not got .
  10. I have fetched info by Autoit info tool and attached please help. You can see it is not detecting any thing. Please help
  11. Yes but what about auto it why it is not detecting the GUI components and what and way to achieve the solution i am attaching page after login it also has same problem.
  12. Please help It is very important. Alternate of auto it is also welcome.
  13. I want to automate a client application but auto it info tool is not detecting the GUI components. I don't know what to do. please help me out. Screenshot of first login page of application is in attachment
  14. Solved I was compiling in 32 . I have compiled it in 64 bit and problem solved.
  15. Today morning i executed the bellow code but it is not working. I was working before 3-4 days. $idTreeView = ControlGetHandle("Select Users","","WindowsForms10.SysTreeView32.app.0.378734a1")$hItemFound1 = _GUICtrlTreeView_FindItemEx($idTreeView, "Team1") i do not know what goes wrong please help.
  16. Solved $idTreeView = ControlGetHandle("Select Users","","WindowsForms10.SysTreeView32.app.0.378734a1") $hItemFound = _GUICtrlTreeView_FindItemEx($idTreeView, "Team1|emp1") _GUICtrlTreeView_ClickItem($idTreeView, $hItemFound, "left", False) send{SPACE},false)
  17. I have solved the problem by putting "|" symbol instead of "\". I am able to get handle of desired node but now i am facing problem to select it( there is check box associted with each node). bellow is the code $idTreeView = ControlGetHandle("Select Users","","WindowsForms10.SysTreeView32.app.0.378734a1") $hItemFound = _GUICtrlTreeView_FindItemEx($idTreeView, "Team1|emp1") controlClick("Users", "",$hItemFound )
  18. I want to automate an application in which there is a tree view. The tree view is of two level i an able to fetch node of first level but not able to fetch node of second level. Tree structure is - Team1 -emp1 -emp2 Team2 -emp1 -emp2 I have tried following code working $idTreeView = ControlGetHandle("Select Users","","WindowsForms10.SysTreeView32.app.0.378734a1") $hItemFound1 = _GUICtrlTreeView_FindItemEx($idTreeView, "Team1") but following is not working $idTreeView = ControlGetHandle("Select Users","","WindowsForms10.SysTreeView32.app.0.378734a1") $hItemFound1 = _GUICtrlTreeView_FindItemEx($idTreeView, "Team1/emp1") I think the path i am providing is wrong. So please tell me how to find path of sub node. I have also tried following code for path. In my case no node is selected so it always returns path as Team1 which is first outer node of my tree $selection = _GUICtrlTreeView_GetSelection($idTreeView) $txt = _TreePath($idTreeView,$selection) Please help i am new in autoit
×
×
  • Create New...