Change File Field

From UBot Studio
Revision as of 00:25, 8 November 2012 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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://cgi-lib.berkeley.edu/ex/fup.html", "Wait")

change file field(<name="upfile">, "C:\\Users\\LillyT\\Downloads\\myfile.txt")

File:Changefile.png

The command will allow you to browse your system for a file, and use the element selector to select the Choose File button.

File:Changefile1.png

Running the script fills the file field with the file provided in the change file field command.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox