diff options
author | Ahmed ElShreif <aelshreif7@gmail.com> | 2020-08-24 11:39:37 +0200 |
---|---|---|
committer | Ahmed ElShreif <aelshreif7@gmail.com> | 2020-08-27 20:29:22 +0200 |
commit | 707903aa8c74047c4fe6364b114b0736f61a4b4d (patch) | |
tree | d75f8fcb69bc2c95409d602c0c36033cc695812a /vcl | |
parent | 98b47440d2f95504f6bca82d2081343bdc183cde (diff) |
uilogger : Add support in the Logger and DSL for ValueSet
For example the DSL syntax will be:
>>Choose element with position 18 in 'colorset' from 'cui/ui/colorpage/colorset'
Change-Id: I9186b870da096719873c8709dedbc4bb4d315e2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101267
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/uitest/logger.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx index b7a9e02ac48a..27a3a0e6b039 100644 --- a/vcl/source/uitest/logger.cxx +++ b/vcl/source/uitest/logger.cxx @@ -389,6 +389,11 @@ void UITestLogger::logEvent(const EventDescription& rDescription) { aLogLine = "From SIDEBAR Choose " + aParameterString; } + else if (rDescription.aKeyWord == "ValueSet") + { + aLogLine = "Choose element with position " + GetValueInMapWithIndex(rDescription.aParameters, 0) + + " in '" + rDescription.aID +"' from '" + rDescription.aParent + "'"; + } else if (rDescription.aAction == "SELECT" && rDescription.aID.isEmpty()) { aLogLine = "Select " + aParameterString; |