<div dir="ltr"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">Hi,<br></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">I am Ahmed El-Shreif. I am working on i<font face="arial, helvetica, sans-serif"><font color="#000000">mprove the UI tesing DSL and the log files for UI action with Markus Mohrhard and </font></font><font face="arial, helvetica, sans-serif">Xisco Fauli as my mentors</font>.<br><br></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">I need to discuss about something. First I will explain with small description what I will do during this summer with LO then I will take all opinions about something.<br><br></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">We have now a UI logger for user interaction that you can enable by run this command <br>LO_COLLECT_UIINFO="test.log" instdir/program/soffice<br></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">then it will create a file in instdir/uitest/test.log that record all your actions<br><br></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">last year the approach was to create a python code that work as interpreter starts reading the log file line-by-line and tries to convert the statements into a UI test case. <br><br></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">This year we approach to make a DSL language that we log all user actions in it's grammer and when you run it it internally generate the UI test corresponding to the user actions.<br><br></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">I was intend to use Xtext tool to build this DSL but when I focus more in it's features and advantages I found most of it's advantage related to Eclipse usage as a editor for the new DSL. Which I think not our target. So after searching more I intend to used TextX instead as i found it's implementation and integration with LO will be better.<br><br>textX is a Python framework inspired by Xtext. You can define the grammar of your language with a syntax very, very close to the one used by Xtext. textX does not use EMF or generate code but it use instead the metaprogramming power of Python to define classes in memory. While it seems nice and easy to use, textX does not generate editor support like Xtext, so that is a major difference.<br><br></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">I need your opinions about the textX choice.<br><br></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">I am very sorry for this long message.<br><br><font face="arial, helvetica, sans-serif"><font color="#000000">Thanks
Ahmed ElShreif
nick : shiko</font></font></font></pre></div></div></div>