Re: How to know if specific tab of dialog is visible or no.
I assume that you are working with the desktop application.
First of all, you need to examine the dialog in the Object Browser in TestComplete and figure out how every tab can be reliably and uniquely identified. This depends on your tested application.
Then in your test code you must use relevant .FindXXX() method and search for the tab that you need. If the tab is found (.Exists property equals to True), you might need to check additionally if the found tab is visible by checking if the .Visible property equals to True or do some other check that must succeed if the tab is visible on the screen. Again, the exact check is specific to your given application.
Regards, Alex [Community Expert Group] ____ [Community Expert Group] members are not employed by SmartBear Software but are just volunteers who have some experience with the tools by SmartBear Software and a desire to help others. Postings made by [Community Expert Group] members may differ from the official policies of SmartBear Software and should be treated as the own private opinion of their authors and under no circumstances as an official answer from SmartBear Software. [Community Expert Group] signature is used with permission by SmartBear Software. http://smartbear.com/forums/f83/t86934/community-experts/ ================================