summaryrefslogtreecommitdiff
path: root/uitest
AgeCommit message (Collapse)Author
2019-08-20uitest: Fix typosAhmed ElShreif
Change-Id: I41023dd1fd06ca48849726d3372f74a4990c27a3
2019-08-19uitest: Reformat the python script of the CompilerAhmed ElShreif
Change-Id: I502aa9e998d084a82e738c0c0c68ad634cb5c76a
2019-08-19uitest: print useful message when textX is not installedMarkus Mohrhard
Change-Id: If6f6c71f72ba9def4885ffbd74cb7814f7465f2c
2019-08-19uitest: add the SideBar implementationAhmed ElShreif
Change-Id: I7de9bd97e868624476b5c39a5e37afc945206e4e
2019-08-19uitest: ignore the logging part of the QuerySaveDialog while closing the appAhmed ElShreif
Change-Id: I18fcc81fa54362dfaa574ec04125e66b37a5aad8
2019-08-19uitest: use prefix for names that has conflict with python's keywordsAhmed ElShreif
Change-Id: I01d044a96eeae60a070a5ca0fc8d6105d7333414
2019-08-19uitest: replace tabs with spacesAhmed ElShreif
Change-Id: I40779dfdb65037838e1a1b7bed5d89a656047ce6
2019-08-19uitest: add footer line supportAhmed ElShreif
Change-Id: I740995d811be030f406f9d3ff53c56d28af2b786
2019-08-19uitest: solve problem with un-named parentsAhmed ElShreif
1) Add recursively query for the parent until find an parent with a name. 2) Remove the parent part "from xxxxxx" from the log statment if there is un-named parent 3) Update the compiler to use the most top parent if there is command with no un-named parent Change-Id: Id7dd5092bc995312494b5536720141908e73af9a
2019-08-19uitest: log more events in Calc:Ahmed ElShreif
1) Rename Tab 2) Insert Tab Change-Id: I7a653a4b274c0c8058672c5b0aa1645bb5a51e3a
2019-08-19uitest: log more eventsAhmed ElShreif
Impress: 1) Delete Slide 2) Duplicate Slide 3) Rename Slide Draw: 1) Delte Page 2) Rename Page Change-Id: I124bdf96c58dfe00bdb039c5e93afc0dc6e7163d
2019-08-19uitest: add more events to ui loggerAhmed ElShreif
for Impress: add new Slide for Draw: add new Page Modify the UILogger System to save information about the name of the app Change-Id: I87fd98b2a11783e3410f1c0eba633631addf389b
2019-08-19uitest: start logging draw eventsAhmed ElShreif
Change-Id: I1b77b106db181a8cadc1ff0b2a5de6ad19fe6762
2019-08-19uitest: update UI logger grammarAhmed ElShreif
1) Make small changes in the UI logger Grammar 2) Add Comments to be more documented Change-Id: I5e68c33375870cf4a1f2537ee1a7eb997145f24f
2019-08-19uitest: log more eventsAhmed ElShreif
for Calc: 1) Delete some Cells 2) Remove content from some cells 3) Insert Cells 4) Cut Cells 5) Copy Cells 6) Paste Cells 7) Merge Cells 8) Split Cell ( Delete Merge ) for Writer: 1) Insert Table 2) Copy Text 3) Cut Text 4) Paste Text 5) Inser Break Page Also, Solve some bugs in the UI logger and UNO Commands. Change-Id: Ic7cacbc20e1e400900a9760b61e8b45ae96c84ff
2019-08-19uitest: solve some bugs in the ui loggerAhmed ElShreif
Change-Id: I39836423fad8cb361a8f007f648108618906be8a
2019-08-19uitest: add general functions to remove redundunt linesAhmed ElShreif
1) init_app 2) init_Object 3) write_line_without_parameters 4) write_line_with_one_parameters Then Rewrite the handlers again Change-Id: I8ceb01f4eaa48f1544ada8966c7585dcbd3e15aa
2019-08-19uitest: add more DSL commandsAhmed ElShreif
1) Calc (calc_Type_command - calc_switch_sheet - calc_Select_cell - calc_AutoFill_filter) 2) impress (impress_Type_command) 3) math (math_element_selector - math_Type_command) 4) General Commands Compiler: (setZoom_command) Change-Id: Ifd2608c38474633b579a216356fe53c859c24975
2019-08-19uitest: add special commands of writer app implementationAhmed ElShreif
1) Type Command 2) Select Command 3) GoTo page Change-Id: I5ee773b6cd322c2c1bf0eba58e704b2ff1399ce7
2019-08-19uitest: implement the missing part of the dialog compilerAhmed ElShreif
Change-Id: I08881b738b3e7922b74f9d007733278e2b6ef54e
2019-08-19uitest: add DSL compiler support for more UI itemsAhmed ElShreif
1) ButtonUIObject 2) CheckBoxUIObject 3) TabControlUIObject 4) ComboBoxUIObject 5) RadioButtonUIObject 6) ListBoxUIObject 7) SpinFieldUIObject 8) EditUIObject Change-Id: Ic81c2a0511351cf91f4514316b9c5854a64a4b05
2019-08-19uitest: start the implementation of the new DSL compilerAhmed ElShreif
1) finish the functions that will parse inputs 2) add function to initialize the UI test Case 3) add function to print the ui new test case 4) add the UNO caommands handler 5) add the Dialog commands handler 6) add the Starter commands handler Change-Id: Ided1c050023c5284457f62c4b8d5ea1cfa38c043
2019-08-19uitest: change small parts of the grammar and dialog loggerAhmed ElShreif
Change-Id: I615989baafe65a6f6ae26fcd452c1e21081168b4
2019-08-19uitest: Some new features in ui_logger projectAhmed ElShreif
this patch for: 1) general commands grammar 2) special commands of impress and math 3) log select element action 4) log SideBar Actions Change-Id: If375cd3396cfde45f70d7c202339c829b1c43471
2019-08-19uitest: just update zoom statementAhmed ElShreif
Change-Id: I0bc5c4179dcb94ed2cc4a551165fd135d884a75a
2019-08-19uitest: update the DSL grammarAhmed ElShreif
Change-Id: I15fe20f1c5e8339f6d5a857b0d0bbfa30b09b44a
2019-08-19uitest: new logger DSL grammarAhmed ElShreif
This patch is the first and second parts of the new DSL grammar. The grammar of all the UIObjects , Dialogs , starter commands , All of uno commands and Special commands for applications. example.ul shows an example of the new syntax of the expected new logger. Change-Id: Ib58aeab1da6627ebc464e4cb64253fd3bf91200e
2019-08-09Fix typosAndrea Gelmini
Change-Id: I545154bddfd29194630d744b4aa4f5c385321531 Reviewed-on: https://gerrit.libreoffice.org/77138 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-26UI tests opening all dialogs in writer and see if it crashesArtur Neumann
Open a dialog, close it by the given button e.g. "cancel" or "close". If the dialog has an enabled "OK" button open the dialog again and try to close it also using the OK button. For every dialog a complete new document is opened to ensure test-separation, otherwise one action could hamper the next action. For dialogs that already have other tests a "cancel/close" test was added to the previous test. As far as possible opening new documents was avoided in those cases. And in some cases a simple check was added to check if the "cancel" button does not change anything. Simmilar tests for calc have been renamed and code dublication has been removed by moving main part of the code to a helper file Change-Id: I01f197cae8bc6fe0345661fe042b655f16229485 Reviewed-on: https://gerrit.libreoffice.org/75124 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2019-07-15uitest: don't complain about the silly VIM swap filesMichael Stahl
Very annoying to have the test not run if you look at its code. Change-Id: Ied63432e0a0460ed66bad4cc53f4769810f058e8 Reviewed-on: https://gerrit.libreoffice.org/75515 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-07-12Add test_edit_target to AutoRedactDialog UITestMuhammet Kara
Change-Id: I105ce2e5f4d72369b05f776624979c3e82950757 Reviewed-on: https://gerrit.libreoffice.org/75469 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-07-12Add UITest for AutoRedactDialogMuhammet Kara
Includes: * test_open_AutoRedactDialog_writer() * test_add_target() Change-Id: Ia70f4cdf01f8a69aa42d0514eecc20d2a2ada530 Reviewed-on: https://gerrit.libreoffice.org/75429 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-06-12UI test for tdf#117987Artur Neumann
test to check if the background color is set in the first attempt after moving the cursor Change-Id: I6340fe9bd128ac7e44c277427db3bca7b2b9fcfa Reviewed-on: https://gerrit.libreoffice.org/73803 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2019-04-10Fix one more get_url_for_data_fileStephan Bergmann
Change-Id: I22d556fe4719fc8e7b53c66b778f6b4196f8f024 Reviewed-on: https://gerrit.libreoffice.org/70523 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-03-24Extend timeout for .uno:AutoCorrectDlg UITestsStephan Bergmann
...which often timed out for the ASan+UBSan Jenkins build, so lets hope that it was just an issue with a too short timeout there Change-Id: Ie50eb1cc16e9444d1392c95ef5c6d810b9e4bd17 Reviewed-on: https://gerrit.libreoffice.org/69599 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-03-11weld SvxMenuConfigPage/SvxToolbarConfigPageCaolán McNamara
Change-Id: I166ac6c0be8461ea38db711796d1e14fc5b78998 Reviewed-on: https://gerrit.libreoffice.org/68889 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-01-16eliminate some noise from uitest failureNoel Grandin
re-arrange the logic so that when create_doc_in_start_center fails, we only get one backtrace instead of two. Change-Id: I736b56da8cfb11e8ef17b8422a19eafd70e3cd6f Reviewed-on: https://gerrit.libreoffice.org/66415 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-01-14uitest: fail early in case a test file would be ignoredMiklos Vajna
So the mistake I did in commit 457acbfa304ac8bda0755c9ca8f1e1e22e490ac8 (UITest_writer_tests: split this into 4 parts, 2018-07-03) does not happen again. Change-Id: Ia28ed1fe9909d9c46ebe95d3a1926b0dced46140 Reviewed-on: https://gerrit.libreoffice.org/66180 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-07map GtkTreeView to SvTreeViewBox now it is in vclCaolán McNamara
Change-Id: I8ab8421354a296cb6382f28fd3bd40372e0665df Reviewed-on: https://gerrit.libreoffice.org/62908 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-10-31uitest: add demo showing how to access the calc input windowMarkus Mohrhard
Change-Id: I5e1fc327a785e892e1c2f526cce8c58fe1ab928c Reviewed-on: https://gerrit.libreoffice.org/62413 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-09-28make the loginterpreter executableMarkus Mohrhard
Change-Id: I9dcb562f9309c75a2d1719f1ad4fe6b5a4c23385
2018-09-27uitest: add the ModelessDialogVisible event to the execute_blocked_actionMarkus Mohrhard
Change-Id: I5496bf0bcce442c60d2ecd4207734d0e8b17935b Reviewed-on: https://gerrit.libreoffice.org/61026 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-09-27uitest: make it easier to log the received events for dialog creationMarkus Mohrhard
Change-Id: I1dc3041408c3f9fa9ce6023d7c668bc5baa65b4e Reviewed-on: https://gerrit.libreoffice.org/61025 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-08-27uitest interpreter: some improvementsSaurav Chirania
Change-Id: I7b768694ba5a82f7273fd7641fae5c3fc84233a6 Reviewed-on: https://gerrit.libreoffice.org/58340 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins
2018-07-28uitest: support parameters when sending UNO commandsSaurav Chirania
This patch introduces a new function to send parameters with UNO commands in UI Tests and adds a test which uses the function to change the color of text in writer. Change-Id: Ic687872ab826b50360e1bd042d9668a9f6ddbf63 Reviewed-on: https://gerrit.libreoffice.org/57857 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-07-10uitests - error if UITEST_TEST_NAME not set to anything usefulNoel Grandin
so the next poor sod who doesn't understand the instructions doesn't waste time with the wrong way of specifying the tests Change-Id: I9759c7f792ec80d660f70f79dc6e2589d44e360f Reviewed-on: https://gerrit.libreoffice.org/57177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-07-06uitest interpreter: support opening existing documentSaurav Chirania
In addition, I have imported the mkPropertyValues function which seems to be necessary in almost all test files. Change-Id: Iee44651aaa05fc2ef5da1d7e0f9281f76819d3e4 Reviewed-on: https://gerrit.libreoffice.org/56850 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-07-06uitest interpreter: handle when parent is empty stringSaurav Chirania
Change-Id: I439e2679ce46872f34e095b7f05fa19d404d2c00 Reviewed-on: https://gerrit.libreoffice.org/56887 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-07-02uitest interpreter: add support for starting appsSaurav Chirania
Change-Id: Iaab98515d2046aaff1e3da4f80de192ebc01a9eb Reviewed-on: https://gerrit.libreoffice.org/56789 Tested-by: Jenkins Reviewed-by: Saurav Chirania <saurav.chir@gmail.com>
2018-07-02uitest interpreter: let's use argparse to parse argumentsSaurav Chirania
Reasons to do this- 1) We will add more arguments in future, handling them manually will be time consuming. 2) Argparse generates a useful help message automatically. Change-Id: I7ce8cc2746f7774c4fa7cd5b173da637e10a770b Reviewed-on: https://gerrit.libreoffice.org/56777 Tested-by: Jenkins Reviewed-by: Saurav Chirania <saurav.chir@gmail.com>