cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert new sheet in FarPoint Spread object?

Occasional Contributor

How to insert new sheet in FarPoint Spread object?

Can anyone help me in adding new sheet in Farpoint Spread object? I am using TestComplete 14.0 version. I got to know some relevant functions to add a sheet but not able to use it properly:

 

bwSpread = Aliases.ClausionFPM.TemplateEditWindow.splitContainer1.SplitterPanel.uxtpnlInpRptOutlook.uxSplitContainerControl.SplitGroupPanel2.tableLayoutPanel3.Edit_Template;

 

bwSpread.TabStripInsertTab();

bwSpread.Sheets.Add();

bwSpread.Sheets.Insert();

1 REPLY 1
Highlighted
Community Manager

Re: How to insert new sheet in FarPoint Spread object?

Hi @Vinaydhi,

 

As far as I understand, you want to add a sheet programmatically. You will need to use native methods and properties of the control for this. TestComplete allows doing this. 

 

First of all, I suggest that you explore the vendor documentation to identify methods you can call from TestComplete. I've found this article. I think it may help you.

 

Also, I recommend that you review this example - it contains an example demonstrating how to read data from the FarPoint Spread control in TestComplete. You can use it to create your own function.

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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
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!
Top Kudoed Authors