TestLeft for Excel
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TestLeft for Excel
Hello,
Has anyone been able to use TestLeft to automate test Excel spreadsheet?
I am not talking about just interacting with ribbon items but interacting within the spreadsheet.
Please can you guide me on how to go about doing this.
Many thanks in advance
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Haven't tried this with TestLeft, but worked with Excel using TestComplete.
TestComplete can drive Excel either via its COM model (preferrable way) or via GUI.
TestComplete interacts with Excel's UI via MSAA. So you need to follow this way with TestLeft as well (https://support.smartbear.com/testleft/docs/reference/options.html#recognition).
You may search TestComplete forum (https://community.smartbear.com/t5/TestComplete/ct-p/TestComplete_forum) for Excel-related questions and port solutions to TestLeft.
/Alex [Community Champion]
____
[Community Champions] 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. Posts made by [Community Champions]
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.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alex,
Thanks for the suggestion.
TestComplete has the option of Excel Driver but TestLeft does not, hence TestComplete solutions are not applicable in this case.
In TestLeft via MSAA, it only interacts with ribbon items not within the sheet .
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> via MSAA, it only interacts with ribbon items not within the sheet
If I am not mistaken, TestComplete can interact with sheet cells via MSAA as well. Maybe you need to check and try a bit with window class names for MSAA.
> option of Excel Driver
If you are talking about Excel driver in DDT, then you should use ADO or any other database access technology in TestLeft. Don't forget that tests in TestLeft are actually .Net programs, so you have and may use all the power provided by .Net.
/Alex [Community Champion]
____
[Community Champions] 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. Posts made by [Community Champions]
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.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
