Configuration

There are two sub-menus under MetaStudio's menu Configuration as follows:

  • Server Location: is used to set addresses of MetaCamp and DataStore servers. The addresses should be in format of completed URL, e.g. "http://www.metacamp.cn/metacamp/" for MetaCamp server. The trailing slash in the string is a must.
  • Locate Element: is used to configure if the path of a DOM node is in long or short form. When positioning a node in the DOM tree, a path expression, evolving from XPath expression, is used. The expression can be in long form so that all steps to locate a node are presented in the expression. It can also be in short form so that only the last step with an @id attribute and its succeedings are presented in the expression. Obviously, the path in short form is more robust against changing in page's structure. For example, if a path in long form was “/html/body/center/div[position()=4]/div[position()=1]/div[position()=8]/div”, that in short form might be “//*[@id='listbottom']/div”. The default is enough for most cases. If you want to change the configuration, please refer to MetaStudio Senior User's Handbook#Configuration.

Note: Path expression used by MetaStudio is evolved from standard XPath expression so that IFRAME/FRAME and their contents can be expressed in one single expression.