Posts

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.

Week 8 Report

Hello all, The last week was the 8th week of coding weeks in GSoC program. So this report is final report before phase 2 evaluation . I am still in the final exams period but I continued adding support for the non supported items.  Report in points: Working on the support of Menu Button objects . Fixing Timing issue in test_insert_hyperlink. Phase (1)&(2) Achievements . ===================================== 1) I continued working on the "gear button menu in Tools->Customize" support. I am facing some problems and I can't solve it after doing a lot of debugging within the last week. I tried to add a demo like the one here in this patch . The problem is that the test case stops working after executing any action from the actions that added in the support here . For example, If I executed this line: >>self.ui_test.execute_dialog_through_action( xmenugearbtn , "OPENFROMLIST" , mkPropertyValues({"POS": "0" }) ) The test case opens

Week 7 Report

Hello all, The last week was the 7th week of coding weeks in GSoC program. I continued adding support for the non supported items.  Report in points: Final Exams update . Finalize the 3 patches that still under review by solving any comments . Add support for Menu Button objects . patches status. ===================================== 1) This week I started my final exams in the university. it started from July 18th and it will end on August 11th. The most difficult part of the exams will be week 8 so I will remain working during my exams period as much as possible. I will also remain submitting the weekly reports on the mailing list as much as I can. But I will interact less than usual and work for shorter time. ===================================== 2) The last week I left 3 patches without merging. They are mainly the patches that add support for Tool Box Objects for example" "bottom find bar" and patch with a test case that tests the find bar. Also The patch th

Week 6 Report

Hello all, The last week was the 6th week of coding weeks in GSoC program. I continued adding support for the non supported items.  Report in points: Finalize the 5 patches that still under review by solving any comments . Add support for "ToolBox" Objects for example" "bottom find bar" . Add demo for "bottom find bar" using ToolBox support . extend the ComboBox UIObject . patches status. ===================================== 1) The last week I left 5 patches without merging. They are mainly the patches that add support for Calc-comments and Vertical Tab Control. Also the patches of the Calc-comment demo , Writer-comment demo and insert hyperlink demo. The five patches now are merged after working on solving all the comments. The patches can be found in patches status section in the report . ===================================== 2) I also This week worked on the " bottom find bar " item from the list of unsupported items . After working w