* @copydoc UiObject::getStyle()
*/
std::string getStyle() const;
+ /**
+ * @copydoc UiObject::getXPath()
+ */
+ std::string getXPath() const;
/**
* @copydoc UiObject::getScreenBoundingBox()
std::string getRole() const;
/**
+ * @brief Gets object's XPath.
+ *
+ * @return string
+ *
+ * @since_tizen 7.0
+ */
+ std::string getXPath() const;
+
+ /**
* @brief Sets object's text.
*
* @param[in] text string
return mStyle;
}
+std::string AccessibleNode::getXPath() const
+{
+ return mXPath;
+}
+
Rect<int> AccessibleNode::getScreenBoundingBox() const
{
return mScreenBoundingBox;
return getAccessibleNode()->getRole();
}
+std::string UiObject::getXPath() const
+{
+ return getAccessibleNode()->getXPath();
+}
+
bool UiObject::setText(std::string text)
{
return getAccessibleNode()->setValue(text);
root->set_widget_style(obj->getElementStyle());
root->set_text(obj->getText());
+ root->set_xpath(obj->getXPath());
root->set_automationid(obj->getAutomationId());
root->set_package(obj->getApplicationPackage());
root->set_role(obj->getRole());
string widget_style = 6;
string text = 7;
+ string xpath = 8;
string automationId = 9;
string package = 10;
string role = 11;
message RspSetFocus {
RspStatus status = 1;
-}
\ No newline at end of file
+}