From: Hosang Kim Date: Thu, 6 Jan 2022 08:43:08 +0000 (+0900) Subject: bootstrap: fix logic error X-Git-Tag: submit/tizen/20220211.035944~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e51d99881796e5d089f28affaec158590b6a1995;p=platform%2Fcore%2Fuifw%2Faurum.git bootstrap: fix logic error Element id value should be compared instead of automation id. Change-Id: I2f69f62e9f477b9a11cd0c774cb1f912ed3fec68 --- diff --git a/org.tizen.aurum-bootstrap/src/Commands/FindElementCommand.cc b/org.tizen.aurum-bootstrap/src/Commands/FindElementCommand.cc index 6783045..1ad25dc 100644 --- a/org.tizen.aurum-bootstrap/src/Commands/FindElementCommand.cc +++ b/org.tizen.aurum-bootstrap/src/Commands/FindElementCommand.cc @@ -33,7 +33,7 @@ std::shared_ptr FindElementCommand::getSearchableTop(void) { std::shared_ptr searchableObj{nullptr}; - if (mRequest->_automationid_case() != 0) { + if (mRequest->_elementid_case() != 0) { searchableObj = mObjMap->getElement(mRequest->elementid()); } if (!searchableObj) searchableObj = UiDevice::getInstance();