---
# System prepended metadata

title: API Guide - seman
tags: [Guide, API]

---

## Methods that TBot can call in getTestInput().
For query and control the app under test and system under test from inside the TBot execution.

==path=API.seman==

## Description
API group for semantic analysis.

## Group Methods
1. **queryHottestFormTopic**, path=API.seman.queryHottestFormTopic
    * Description: returns the topic of a form element in the screen.
    * Arguments:
        1. *f* : a form element in the dom as analyzed by our mega test robot.The default value of None indicates the return of the page topic.
    * Return Value: a topic string.
2. **getVisionTopic**, path=API.seman.getVisionTopic
    * Description: get the topic of element action by vision technology.
    * Arguments:
        1. *act* : the dict of an action element.
    * Return Value: a topic string recognized with vision technology.
3. **getNLPTopic**, path=API.seman.getNLPTopic
    * Description: get the topic of element action by NLP technology.
    * Arguments:
        1. *a* : the dict of an action element.
    * Return Value: a topic string.