Posts

Week 5 Report

Hello all,

The last week was the 5th week of coding weeks in GSoC program. I continued adding support for the non supported items.

 Report in points:
Finalize support for Calc-comment .Fix some DSL grammar errors .
Add support for "Hyperlink dialog. Insert ->Hyperlink".Add test cases that test "Hyperlink dialog. Insert ->Hyperlink" .Finalize the unfinished patches . =====================================
1) The last week I left the Calc Comments support in this patch not merged waiting the final review. the patch added a function in FuDraw class to help in closing the Comment window. So the work this week done was to move this function from the FuDraw class to the UI testing code. This approach is done in the last patch and tested on the test case in this patch. So the patch waiting for the final review.
=====================================
2) I worked this week also in fixing the issue in the DSL grammar that related to "EditUIObject". It was simple mod…

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 case fails.

I t…

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 adding support for the SwAnnotationW…

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 is instance …

GSoC Community Bonding Report

Image
Hi all,
I am Ahmed ElShreif a senior computer engineering student from Egypt. I am really happy to announce that I am accepted this year again in GSoC with LibreOffice.

I was a GSoC'19 student with LibreOffice in this project. And I am really happy to have the chance to work with LibreOffice community again. I would like to thank Markus Mohrhard and Xisco Fauli for the support and help that they always give to me.

Last Year Project description can be found here in this Blog. As we have in LO logger system that can log user interaction so my last year project was mainly about implementing new DSL (Domain specific language) that we could log all user action in its syntax then transpile it to python UITest that we can use in testing.
I created this youtube video here that can show you how you could use the GSoC project that I made last year to create new UI test cases for LibreOffice and help QA  in testing.

This year project is to extending the ability of the uitest framework to…