sudarkrao Posted September 10, 2008 Share Posted September 10, 2008 (edited) Hi, I am trying to click on the toolbar (Tabs) avaialble in my application As of now I succeeded to get the main window handler When I observe the toolbar properties (Tabs ) using AutoIT window info tool the class name is dynamically changing each time i open my application and it is same for all tabs available in the toolbar and it is not having generic names and it has some name like this Class:HwndWrapper[smartClient.UI.exe;;7735dd27-48a5-4578-8225-928c34b43135] . I want to click on different tabs by their name or index Please sugget me how I can proceed further using AutoIT My application is developed using .net 3.5 and it is windows based application Thanks , Rama Edited September 10, 2008 by sudarkrao Link to comment Share on other sites More sharing options...
Richard Robertson Posted September 10, 2008 Share Posted September 10, 2008 Can you match by window title and text? Link to comment Share on other sites More sharing options...
sudarkrao Posted September 11, 2008 Author Share Posted September 11, 2008 Can you match by window title and text?Hi,Thanks for your replyIn my application controls(Like Tab or toolbar or links ) are not able to give any information in the controls tab available in the AutoIT window info tool .For main window title is available and class is changing dynamically when ever i open the application I want to write a script so that it should click on the desired controls in the application I have used the following commands but i am not succeded 1._GUICtrlToolbar_ClickIndex($htab2, 1)2._WinAPI_GetClassName($hwnd) .. When i use this function only msgbox ruturned the value of hadler of the main window 3._GUICtrlTab_FindTab($htab1, "Project")Please suggest how can i proceed further Thanks Rama Link to comment Share on other sites More sharing options...
Richard Robertson Posted September 11, 2008 Share Posted September 11, 2008 Just curious, is this a skinned window or does it use standard Windows controls? Link to comment Share on other sites More sharing options...
sudarkrao Posted September 12, 2008 Author Share Posted September 12, 2008 Just curious, is this a skinned window or does it use standard Windows controls?Hi,We are using .net 3.5 and the window is having all standrad controls Rama Link to comment Share on other sites More sharing options...
Richard Robertson Posted September 12, 2008 Share Posted September 12, 2008 .Net controls are notoriously hard to automate. I'm sorry but I can't really help you on these. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now