Forum Discussion

farhanahmed's avatar
farhanahmed
Contributor
14 years ago

How to select a tabPage by Index

Hi Alla

I am writing test script in Vb by using test complete 8

i have a scenario i want to check the names of the tab pages are correct or not.

i saved expected tab names in array and now i want to click tab pages one by one and want to see text of the selected tab pages matches the expexted tab page name in the list or not..

i need help how to select a tab page by Index

Regards

Farhan

1 Reply

  • Hello Farhan,


    Could you please specify what tab control you are testing?


    Currently, TestComplete provides support for several tab controls. If TestComplete provides extended support for you tab control, you can use properties and methods TestComplete adds to your control to select tab pages by their indexes.

    You can check the list of controls supported by TestComplete here.


    Or, if TestComplete provides access to your tab control’s native properties and methods, you can use these properties and methods to select tab pages by their indexes.


    Also please see the Working With Tab Controls Help topic for detailed information on working with tab controls in TestComplete.


    Please let us know if this does not help.

    Thank you.