Hello everyone,
I'm looking for a co-author for a Python test for the patch
https://gerrit.libreoffice.org/c/core/+/194789. I work on Windows and
therefore cannot run Python tests.
The dialog had used an incorrect field as an argument for setID().
That is fixed with my patch.
The file dataProvider.py in sc/qa/uitest/calc_tests8/ is a unit test
related to dataproviderdlg, but it is not directly usable.
The test could do the following:
1. Open a file with an already defined database area or create a new
document and define a database area.
2. Start the dialog.
3. Select the database area.
4. Select the type “HTML”.
5. Enter the URL to an HTML file with a table. I don't know where to put
the HTML file. A suitable file is, for example, test1.html in
sc/calc/qa/unit/data/dataprovider/html.
6. Enter the string //table in the mxEditID field.
7. Click the OK button.
8. Make sure that the cell at the top left of the database area contains
the value from the source, e.g., for test1.html, the value “Col1”.
Without fix the cell would have been empty.
Kind regards,
Regina