How to get a tabitem location?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2021
06:45 PM
11-15-2021
06:45 PM
How to get a tabitem location?
I'm writing a script to rename a tabitem by right click the tabitem caption. But I can't get the tabitem location through testcomplete.
Although I can directly assign value to tab "Text", but this is not a user’s behavior. How can I get the tabitem location?
Solved! Go to Solution.
Labels:
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2021
08:31 AM
11-16-2021
08:31 AM
What happens when you use Object Spy on the tabitem?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2021
11:05 PM
11-16-2021
11:05 PM
Thanks Marsha_R.
My problem is Test Complete can't find the tab item control, only shows tab pages. I want to get the tab item location.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2021
11:33 PM
11-22-2021
11:33 PM
I found the solution. The "TabControl" element has method "GetTabRect". I can get the tab caption location through this method.
