Jump to content

How to get the Handler for windowsbased applications


sudarkrao
 Share

Recommended Posts

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 by sudarkrao
Link to comment
Share on other sites

Can you match by window title and text?

Hi,

Thanks for your reply

In 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...