Change Attribute

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command is part of the Action Commands. This command allows the changing of any attribute on an html element. This comes in handy when you need to change the value of...")

Revision as of 23:44, 7 November 2012

This command is part of the Action Commands. This command allows the changing of any attribute on an html element. This comes in handy when you need to change the value of a field or a drop down menu.

Example

navigate("http://ubotstudio.com/playground/simple-form", "Wait")
wait(5)
change attribute(<username field>, "value", "myusername")

File:Changeattribute.png

Running the script will change the value of the field to the value "myusername". Changing the value of this field is the same as filling the field. Whatever is inside the field determines the field's value.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox