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

uitest logger: print parent when logging keys

Change-Id: I130f266016dc51dab5e4d1395fe579ca21a1b835
Reviewed-on: https://gerrit.libreoffice.org/55675
Tested-by: Jenkins
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 2c317751
......@@ -159,8 +159,10 @@ void UITestLogger::logKeyInput(VclPtr<vcl::Window> const & xUIElement, const Key
std::unique_ptr<UIObject> pUIObject = xUIElement->GetUITestFactory()(xUIElement.get());
OUString parent_id = xUIElement->GetParent()->get_id();
OUString aContent = pUIObject->get_type() + " Action:TYPE Id:" +
rID + " Parent: UNKNOWN "+ aKeyCode;
rID + " Parent:"+ parent_id +" " + aKeyCode;
maStream.WriteLine(OUStringToOString(aContent, RTL_TEXTENCODING_UTF8));
}
......
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