Not
From UBot Studio
(Difference between revisions)
Line 18: | Line 18: | ||
</pre> | </pre> | ||
+ | |||
The above script will navigate to the specified url int he navigate command in the Then command if the attribute in the [[exists]] qualifier does not exist on the page. | The above script will navigate to the specified url int he navigate command in the Then command if the attribute in the [[exists]] qualifier does not exist on the page. | ||
+ | |||
[[File:not.png]] | [[File:not.png]] |
Revision as of 19:55, 20 May 2013
This function is a Qualifier Function. This function returns true if the condition is not true.
Condition: The condition that will not be met within the Not qualifier.
Example
navigate("google.com", "Wait") if($not($exists(<innertext="Video Training in Ten Minutes or Less!">))) { then { navigate("http://www.ubotstudio.com/resources", "Wait") } else { } }
The above script will navigate to the specified url int he navigate command in the Then command if the attribute in the exists qualifier does not exist on the page.