Kaydet (Commit) 06f819ba authored tarafından Saurav Chirania's avatar Saurav Chirania Kaydeden (comit) Markus Mohrhard

uitest logger: ListboxSelect and ListboxFocus logging

Change-Id: I5a38adaeea3c2e64366563bd449d8bf06d9161a3
Reviewed-on: https://gerrit.libreoffice.org/55112Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 1a91d1a5
......@@ -944,7 +944,13 @@ OUString ListBoxUIObject::get_action(VclEventId nEvent) const
if (nEvent == VclEventId::ListboxSelect)
{
sal_Int32 nPos = mxListBox->GetSelectedEntryPos();
return "Action on element: " + mxListBox->get_id() + " with action : SELECT and content {\"POS\": \"" + OUString::number(nPos) + "\"}";
return this->get_type() + " Action:SELECT Id:" + mxListBox->get_id() +
" POS:" + OUString::number(nPos) + " Parent:" + get_top_parent(mxListBox)->get_id();
}
else if (nEvent == VclEventId::ListboxFocus)
{
return this->get_type() + " Action:FOCUS Id:" + mxListBox->get_id() +
" Parent:" + get_top_parent(mxListBox)->get_id();
}
else
return WindowUIObject::get_action(nEvent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment