Posts

Showing posts from August, 2020

GSoC'20 final report & Project Documentation

Image
  Overview      The idea was about The UI testing framework in LibreOffice. The UITesting  Framework is based on introspection code in c++ interacting with a testing framework in python through a simple UNO interface. To identify objects we use the ids that we introduced for loading dialogs from UI files. We were having unsupported items list in LibreOffice UITesting Framework. So The project mainly goals is to Extend the ability of the existing UI testing framework to support the unsupported items that exist now. So the work done on this list to decrease number of items in it.      As we also have a domain specific language that we used to log the events in its syntax and a Logger system that supports the UI elements of Visual Component Library and some application-specific events can also logged with the DSL syntax. Then to Increase the ability of the DSL that used for testing by Be able to log more complex events and the events of the new added items that were unsup

Week 11 Report

 Hello LO Community, The last week was the week 11 of coding weeks in GSoC program. I worked more on Adding support for new items in the uiLogger and the DSL.  Report in points:  Overall work.    FontWork Test case.  How to Add support for Item in the UILogger and the DSL.    ToolBar Support.  Calc LaunchMenu support.  Patch Status.   Next Week Tasks. =====================================   The last week I worked on this 3 things: 1) Make Sure that FontWork Features more well and add a test case for it. 2) Add Support for the ToolBar Actions. 3)Add Support for Launch Menu in Calc. =====================================   Also after investigation the Fontwork Gallery Dialog I found out that the selector of fontworks is also a ValueSet object. So the support is already added in this patch . I added here a demo has a test case to test the selector. You can find the test case in this patch . The Patch still under review. The Work was done to make sure that all Font Works items work.

Week 10 Report

Hello all, The last week was the 10th week of coding weeks in GSoC program. I worked more on adding support for new objects from the unsupported list.  Report in points: Overall work.  Select Presets and Shadow Styles in border tab ValueSet.  Fontwork Selector. "file properties- custom properties". ===================================== The last week I worked on this 3 entries from the unsupported items: 1) "Select Presets and Shadow Styles in border tab in format table or format cell". 2) "insert -> Fontwork". 3) "file properties- custom properties". The first 2 are done but the third needs more investigation and debugging. =====================================   After investigating format cell Dialog I found out that Presets and Shadow Styles used ValueSet for selection. So the work need to be done is to add support for the ValueSet. I added the support for the ValueSet here in this patch . This patch will add support for all the normal valu

Week 9 Report

Hello all, The last week was the 9th week of coding weeks in GSoC program. I almost finished my final exams period I will start to work again with the regular rate.  Report in points: Problems in Menu Button objects . Final support demo in Menu Button objects . ===================================== 1) I asked Markus to help me in the Menu Button objects because I tried to add a demo for the Menu Button. The problem was that the test case stop responding after executing any action from the actions that added to the support. For example, If I executed this line: >>self.ui_test.execute_dialog_through_action( xmenugearbtn , "OPENFROMLIST" , mkPropertyValues({"POS": "0" }) ) The test case opens the desired dialog and stops responding until I close it. Markus found out that the problem was that We have a way to handle these cases but the dialog was incorrectly marked as modeless dialog which meant that we have a modeless dialog on top of a modal one.