In my experience using DroidBot, I often come across cases where DroidBot
traps into a state and cannot return back, or
is too random to accomplish an app task (take a todo app as example, DroidBot often fails to create a new todo), this hinders from constructing a complete and scemantically correct UTG
Although we can overcome the above problems by using the currently defined DroidBotScrip DSL, it does not introduce any probabilistic behaviors, i.e., it always executes the operations of a matched state in a round-robin manner.
We meant to support DroidBotScrip DSL with the probabilistic ability without breaking current DSL. With such DSL, a user can control DroidBot to accomplish some specific tasks at a specific state probabilistically. This is helpful to construct a complete and scemantically correct UTG.
Example
The following example shows the probalistic support. This means that, when in welcome_state_1, DroidBot would execute swipe_operation with the probability of 0.8 and skip_operation with the probability of 0.2. However, when in welcome_state_2, DroidBot executes these two operations round-robin.
Enable DSL to Support Probabilistic Behavior
In my experience using DroidBot, I often come across cases where DroidBot
Although we can overcome the above problems by using the currently defined DroidBotScrip DSL, it does not introduce any probabilistic behaviors, i.e., it always executes the operations of a matched state in a round-robin manner.
We meant to support DroidBotScrip DSL with the probabilistic ability without breaking current DSL. With such DSL, a user can control DroidBot to accomplish some specific tasks at a specific state probabilistically. This is helpful to construct a complete and scemantically correct UTG.
Example
The following example shows the probalistic support. This means that, when in
welcome_state_1
, DroidBot would executeswipe_operation
with the probability of 0.8 andskip_operation
with the probability of 0.2. However, when inwelcome_state_2
, DroidBot executes these two operations round-robin.