Posts

Showing posts from June, 2020

Week 4 Report

Hello all, The last week was the 4th week of coding weeks in GSoC program. So this report is final report before phase 1 evaluation . I continued adding support for the non supported items.  Report in points: Finalize the demo of Writer comments. Add the support for Calc-comment. Add test case for Calc-comments . Add support for Writer Format-Bullets and numbering dialog Selection. Add demo for Writer Format-Bullets and numbering dialog Selection. ===================================== 1) The last week I left the Writer Comments test case in this patch not merged because of some failures but now it's ready to be merged but waiting the final review. ===================================== 2) I added the support for Calc-comments here in this patch . We can now use this support in writing test cases that handle Calc's comments using the lines as descriped in the last report. In this video I just want to show the results of this support: Note that the patch still under review. =====

Week 3 Report

Hello all, The last week was the Third week of coding weeks in GSoC program. I continued adding support for the non supported items.  Report in points: Merging Writer Comments support . Add demo to Writer Comment . Add support for Dropdown items in grid window . Add support for Calc comments . 1) The last week I left the Writer Comments item in this patch not merged. But now it's merged. ===================================== 2) I also created 2 test cases here in this patch . They test the Writer comment using the UITest framework. But the test cases appear to randomly fail. So the test cases was reverted here in this patch . The commit message has the details of the failure. I worked in investigation of why this test cases fail randomly. By trying to run the old test case multiple times locally. The problem was when you execute Command to add new comment . Sometimes the comment doesn't have enough time to be created and added as a child in the MainWindow Object So test cas

Week 2 Report

Hello all, The last week was the second week of coding weeks in GSoC program. I continued adding support for the non supported items. The last week I left the cell background color item in this patch not merged. But now it's merged. I worked this week on adding support to Comments option in Writer You can find the work in this patch . And Also extending the ability of ComboBoxUIObject selection modes in this patch . ===================================== For The selection of ComboBoxUIObject the old way you can select by this line: xObj_name. executeAction ( "SELECT" , mkPropertyValues ({ "POS" : "3" })) Now if you have the correct text of the option in the position you want to select you can select with this line: xObj_name. executeAction ( "SELECT" , mkPropertyValues ({ "TEXT" : "Position_text" })) This option is used in this test case . ===================================== For Comments in Writer: This was done by addin

Week 1 Report

Hello all, The last week was the first week of coding weeks in GSoC program. I starting adding support for the non supported items. I begin this week with adding support to Zoom option in calc. You can find the work in this commit . So know if you are writing a new UI test case for calc you can use this line to set the zoom to specific value: gridwin.executeAction("SET", mkPropertyValues({"ZOOM": "100"})) And also you can get the current zoom value as a string using this line: print(get_state_as_dict(gridwin)["Zoom"]) Also you can check this test case that I have created to see how to work around zoom in calc. Then I started working on another calc item which is formating cell by adding background color from the background color selector. This can be done by adding support for the SvxColorValueSet class that inheret from the ValueSet class. This is because the selector that you can find after pressing the color button in Formating cell dialog i