cancel
Showing results for 
Search instead for 
Did you mean: 

SSTabCtlWndClass

Highlighted
Super Contributor

SSTabCtlWndClass

I have an object of class SSTabCtlWndClass.  I want to use the ClickTab method of this tab object. (I can access it by the native tab property, but this would bypass any click handlers that might be in the click event of the tab. So I would like to see if I can get ClickTab to work. When I execute a ClickTab I receive an error:



Unable to find object ClickTab(1).



This is what I expected. It does not recognize this as a standard Windows Tab ctrl. So I go into the object's properties. I mapped this class to Win32 Controls and Window in the tab control section so that this tab can be recognized.



When I execute the ClickTab again, I receive



Control item 1 not found. So ... it recognizes the ClickTab method. But does not find the tab by index....



Has anyone worked with SSTab before? Is there a way to get TC to recognize this tab control for ClickTab to work? (Note TC 7 in use)



Thanks!


4 REPLIES 4
Highlighted
Staff

RE: SSTabCtlWndClass


Hello Lane,





The SSTab control is not a standard Win32 tab control, so Object Mapping does not work for it. You can use the Text Recognition technology to recognize tab captions and click the captions to select the corresponding tabs.
Highlighted
Super Contributor

RE: SSTabCtlWndClass

Thank you! One issue at a time, I am learning. I appreciate your help.
Highlighted
Contributor

RE: SSTabCtlWndClass

Are there any new updates on this issue?



Thanks,

Amith n g
Highlighted
Regular Contributor

RE: SSTabCtlWndClass

There is no update..still using text recognition technology.
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Compare images using the Region Checkpoint

See replies!

Converting UTC TimeDate in an Excel file

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors