cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation on TcxPageControl

SOLVED
Highlighted
Occasional Contributor

Navigation on TcxPageControl

Hallo,

I am using Testcomplete to test a Delphi 2007 application with DevExpress components.

The Component I have currently some trouble with is the TcxPageControl. The main Problem is the Navigation on it. Using Mouse Clicks is possible, however the Clicks are using Coordinates on the PageControl to target a TabSheet which doesn't work well since every KeywordTest would need an adjustment if the order, width or number of TabSheets is changed.

Fortunately there is a Property "ActivePage [Set]" which can be used to directly summon a TabSheet if it already exists for Testcomplete. This works fine on Testcomplete 12 however on the most recent Testcomplete 14 version the time necessary to change a TabSheet using the ActivePage property increases with the number of controls on the Form. This means every TabSheet change would need about 10-20 seconds during the test run with effectively prevents any reasonable runtime.

Is there a better way known to navigate on a TcxPageControl?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: Navigation on TcxPageControl

Hi @RL,

 

Please check if your Delphi application was compiled with the debug information - this will allow TestComplete to get access to internal objects and use custom properties and methods. You can find more information on this page:

https://support.smartbear.com/testcomplete/docs/app-testing/desktop/delphi/preparing/index.html

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

2 REPLIES 2
Highlighted
Community Manager

Re: Navigation on TcxPageControl

Hi @RL,

 

Please check if your Delphi application was compiled with the debug information - this will allow TestComplete to get access to internal objects and use custom properties and methods. You can find more information on this page:

https://support.smartbear.com/testcomplete/docs/app-testing/desktop/delphi/preparing/index.html

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

Occasional Contributor

Re: Navigation on TcxPageControl

Hi @TanyaGorbunova, unfortunately the debug informations are not helping. I have not found an other property or method to change the TabSheet even when compiling the Project with debug informations.
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

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

Participate!

Comparing content of HTML table with Excel file data

Participate!

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

Participate!

Retrieve Data from a Web Page

Participate!