com.appperfect.devcommon.script.webelement
Interface WebFile

All Superinterfaces:
IScript, WebObject

public interface WebFile
extends WebObject

WebFile element can be created using createWebFile API of IScriptEngine interface. The return value is an instance of WebFile interface. Once WebFile is created, you can play events on it. Apart from additional events mentioned below, WebFile also supports events supported on WebObject

See Also:
WebObject

Method Summary
 boolean set(java.lang.String text)
 To set the specified text in the File Edit box
 boolean submit()
 To submit the form
 
Methods inherited from interface com.appperfect.devcommon.script.webelement.WebObject
addAttribute, click, dblClick, mouseMove, rightClick, setBreakPoint, setExactMatchForAttributesComparision, setIgnored, setImagePath, setThinkTime, setTitle, type, wait
 
Methods inherited from interface com.appperfect.devcommon.script.IScript
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout
 

Method Detail

set

boolean set(java.lang.String text)
To set the specified text in the File Edit box

Specified by:
set in interface WebObject
Parameters:
text - text to set in File edit box
Returns:
true if success, false otherwise

submit

boolean submit()
To submit the form

Specified by:
submit in interface WebObject
Returns:
true if success, false otherwise


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.