Jump to content
Sign in to follow this  
markitus

select an existing tab

Recommended Posts

markitus

Hi there,

I don't know if what I'm going to ask is viable. I'm a supernewbie in AutoIt, so still have many doubts about how it works. Well, I'm trying to automatically test an existing application with its own GUI.

My script simply runs an exe application, which opens the GUI. Then I want to select a Tab item automatically.

Let's say I have the following tab items : products / orders / offers

Is there any way to make the script set the focus on a given tab item based on its name?

thanks in advance!

Edited by markitus

Share this post


Link to post
Share on other sites
kaotkbliss

You may be able to try

_GUICtrlTab_ClickTab

But it may only work on AutoIt created GUIs

If that is the case, then you can try using controlclick getting the info you need from the window info tool supplied with AutoIt.


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites
somdcomputerguy

I used the 'controlclick method' in one of my scripts, and it works fine.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.