|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScriptEngine
An engine which is created as a global variable by the application to be used in the script file that controls the execution of the test in the script file.
A IScriptEngine
object is initialised by the application and
is available as a global variable in the script file with the name
engine
. Flow of the test is controlled by this
engine
. Web Test supports functional testing of web
application. Group(s) can be added/deleted/edited from UI. An Action group is
created and all the tasks (Browser/URL/Event) are recorded in this group
Tasks supported by Web Test are IBrowser
,
IUrl
and Web/Win elements
tasks. The following
code fragment illustrates how to create a IBrowser
task.
var browser = engine.createBrowser(1, 'Browser_1', 'http://localhost:8080/petstore');The following code fragment illustrates how to create a
IUrl
task.
var url = engine.createURL(2, 'http://localhost:8080/petstore', false);
Once a task is created, all its properties like think time, title, timeout
period etc. can be initialised to proper values using appropriate apis
exposed by individual tasks. The following code fragment illustrates how to
set think time for an IBrowser
task.
browser.setThinkTime(1);The following code fragment illustrates how to add attribute for an
Web/Win element
task.
element.addAttribute('name', 'q', false, false);
Once a task is initialised it should be executed to fetch the results and
process further. The following code fragment illustrates how to execute a
browser
task.
var successful = engine.executeBrowser(browser);The following code fragment illustrates how to execute a
url
task.
var successful = engine.executeURL(url);
After execution of each task, it is must to call release
method to release all the opened resources.
IUrl
,
or
com.appperfect.devcommon.script.WinObject
Field Summary |
---|
Fields inherited from interface com.appperfect.devcommon.script.IParameterHandler |
---|
Contains, EndsWith, Equals, GreaterThan, GreaterThanEqualTo, LessThan, LessThanEqualTo, Matches, NotContains, NotEndsWith, NotEquals, NotMatches, NotStartsWith, StartsWith |
Method Summary | |
---|---|
IBrowser |
createBrowser(int id,
java.lang.String sTitle,
java.lang.String protocol,
java.lang.String hostName,
int port,
java.lang.String uri)
This method is used to create the IBrowser task. |
com.appperfect.devcommon.script.flexelement.FlexAccordion |
createFlexAccordion(int id,
int iElementType)
This method is used to create the FlexAccordion element. |
com.appperfect.devcommon.script.flexelement.FlexContainer |
createFlexAlert(int id,
int iElementType)
This method is used to create the FlexAlert element. |
com.appperfect.devcommon.script.flexelement.FlexContainer |
createFlexApplication(int id,
int iElementType)
This method is used to create the FlexApplication element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexAreaChart(int id,
int iElementType)
This method is used to create the FlexAreaChart element. |
com.appperfect.devcommon.script.flexelement.FlexChartSeries |
createFlexAreaSeries(int id,
int iElementType)
This method is used to create the FlexAreaSeries element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexAxisRenderer(int id,
int iElementType)
This method is used to create the FlexAxisRenderer element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexBarChart(int id,
int iElementType)
This method is used to create the FlexBarChart element. |
com.appperfect.devcommon.script.flexelement.FlexChartSeries |
createFlexBarSeries(int id,
int iElementType)
This method is used to create the FlexBarSeries element. |
com.appperfect.devcommon.script.flexelement.FlexContainer |
createFlexBox(int id,
int iElementType)
This method is used to create the FlexBox element. |
com.appperfect.devcommon.script.flexelement.FlexChartSeries |
createFlexBubbleSeries(int id,
int iElementType)
This method is used to create the FlexBubbleSeries element. |
com.appperfect.devcommon.script.flexelement.FlexButton |
createFlexButton(int id,
int iElementType)
This method is used to create the FlexButton element. |
com.appperfect.devcommon.script.flexelement.FlexNavigationBar |
createFlexButtonBar(int id,
int iElementType)
This method is used to create the FlexButtonBar element. |
com.appperfect.devcommon.script.flexelement.FlexContainer |
createFlexCanvas(int id,
int iElementType)
This method is used to create the FlexCanvas element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexCartesianChart(int id,
int iElementType)
This method is used to create the FlexCartesianChart element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexChart(int id,
int iElementType)
This method is used to create the FlexChart element. |
com.appperfect.devcommon.script.flexelement.FlexChartLegend |
createFlexChartLegend(int id,
int iElementType)
This method is used to create the FlexChartLegend element. |
com.appperfect.devcommon.script.flexelement.FlexChartSeries |
createFlexChartSeries(int id,
int iElementType)
This method is used to create the FlexChartSeries element. |
com.appperfect.devcommon.script.flexelement.FlexButton |
createFlexCheckBox(int id,
int iElementType)
This method is used to create the FlexCheckbox element. |
com.appperfect.devcommon.script.flexelement.FlexColorPicker |
createFlexColorPicker(int id,
int iElementType)
This method is used to create the FlexColorPicker element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexColumnChart(int id,
int iElementType)
This method is used to create the FlexColumnChart element. |
com.appperfect.devcommon.script.flexelement.FlexChartSeries |
createFlexColumnSeries(int id,
int iElementType)
This method is used to create the FlexColumnSeries element. |
com.appperfect.devcommon.script.flexelement.FlexComboBase |
createFlexComboBase(int id,
int iElementType)
This method is used to create the FlexComboBase element. |
com.appperfect.devcommon.script.flexelement.FlexComboBox |
createFlexComboBox(int id,
int iElementType)
This method is used to create the FlexComboBox element. |
com.appperfect.devcommon.script.flexelement.FlexContainer |
createFlexContainer(int id,
int iElementType)
This method is used to create the FlexContainer element. |
com.appperfect.devcommon.script.flexelement.FlexDataGrid |
createFlexDataGrid(int id,
int iElementType)
This method is used to create the FlexDataGrid element. |
com.appperfect.devcommon.script.flexelement.FlexDateChooser |
createFlexDateChooser(int id,
int iElementType)
This method is used to create the FlexDateChooser element. |
com.appperfect.devcommon.script.flexelement.FlexDateField |
createFlexDateField(int id,
int iElementType)
This method is used to create the FlexDateField element. |
com.appperfect.devcommon.script.flexelement.FlexDisplayObject |
createFlexDisplayObject(int id,
int iElementType)
This method is used to create the FlexDisplayObject element. |
com.appperfect.devcommon.script.flexelement.FlexDividedBox |
createFlexDividedBox(int id,
int iElementType)
This method is used to create the FlexDividedBox element. |
com.appperfect.devcommon.script.flexelement.FlexContainer |
createFlexForm(int id,
int iElementType)
This method is used to create the FlexForm element. |
com.appperfect.devcommon.script.flexelement.FlexContainer |
createFlexFormItem(int id,
int iElementType)
This method is used to create the FlexFormItem element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexHLOCChart(int id,
int iElementType)
This method is used to create the FlexHLOCChart element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexImage(int id,
int iElementType)
This method is used to create the FlexImage element. |
com.appperfect.devcommon.script.flexelement.FlexLabel |
createFlexLabel(int id,
int iElementType)
This method is used to create the FlexLabel element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexLineChart(int id,
int iElementType)
This method is used to create the FlexLineChart element. |
com.appperfect.devcommon.script.flexelement.FlexChartSeries |
createFlexLineSeries(int id,
int iElementType)
This method is used to create the FlexLineSeries element. |
com.appperfect.devcommon.script.flexelement.FlexNavigationBar |
createFlexLinkBar(int id,
int iElementType)
This method is used to create the FlexLinkBar element. |
com.appperfect.devcommon.script.flexelement.FlexList |
createFlexList(int id,
int iElementType)
This method is used to create the FlexList element. |
com.appperfect.devcommon.script.flexelement.FlexListBase |
createFlexListBase(int id,
int iElementType)
This method is used to create the FlexListBase element. |
com.appperfect.devcommon.script.flexelement.FlexDisplayObject |
createFlexListLabel(int id,
int iElementType)
This method is used to create the FlexListLabel element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexLoader(int id,
int iElementType)
This method is used to create the FlexLoader element. |
com.appperfect.devcommon.script.flexelement.FlexMenu |
createFlexMenu(int id,
int iElementType)
This method is used to create the FlexMenu element. |
com.appperfect.devcommon.script.flexelement.FlexMenuBar |
createFlexMenuBar(int id,
int iElementType)
This method is used to create the FlexMenuBar element. |
com.appperfect.devcommon.script.flexelement.FlexNavigationBar |
createFlexNavigationBar(int id,
int iElementType)
This method is used to create the FlexNavigationBar element. |
com.appperfect.devcommon.script.flexelement.FlexNumericStepper |
createFlexNumericStepper(int id,
int iElementType)
This method is used to create the FlexNumericStepper element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexObject(int id,
int iElementType)
This method is used to create the FlexObject element. |
com.appperfect.devcommon.script.flexelement.FlexContainer |
createFlexPanel(int id,
int iElementType)
This method is used to create the FlexPanel element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexPieChart(int id,
int iElementType)
This method is used to create the FlexPieChart element. |
com.appperfect.devcommon.script.flexelement.FlexChartSeries |
createFlexPieSeries(int id,
int iElementType)
This method is used to create the FlexPieSeries element. |
com.appperfect.devcommon.script.flexelement.FlexChartSeries |
createFlexPlotSeries(int id,
int iElementType)
This method is used to create the FlexPlotSeries element. |
com.appperfect.devcommon.script.flexelement.FlexPopUpButton |
createFlexPopUpButton(int id,
int iElementType)
This method is used to create the FlexPopUpButton element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexProgressBar(int id,
int iElementType)
This method is used to create the FlexProgressBar element. |
com.appperfect.devcommon.script.flexelement.FlexButton |
createFlexRadioButton(int id,
int iElementType)
This method is used to create the FlexRadioButton element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexRule(int id,
int iElementType)
This method is used to create the FlexRule element. |
com.appperfect.devcommon.script.flexelement.FlexScrollBar |
createFlexScrollBar(int id,
int iElementType)
This method is used to create the FlexScrollBar element. |
com.appperfect.devcommon.script.flexelement.FlexScrollBase |
createFlexScrollBase(int id,
int iElementType)
This method is used to create the FlexScrollBase element. |
com.appperfect.devcommon.script.flexelement.FlexSlider |
createFlexSlider(int id,
int iElementType)
This method is used to create the FlexSlider element. |
com.appperfect.devcommon.script.flexelement.FlexTabNavigator |
createFlexTabNavigator(int id,
int iElementType)
This method is used to create the FlexTabNavigator element. |
com.appperfect.devcommon.script.flexelement.FlexTextArea |
createFlexTextArea(int id,
int iElementType)
This method is used to create the FlexTextArea element. |
com.appperfect.devcommon.script.flexelement.FlexContainer |
createFlexTitleWindow(int id,
int iElementType)
This method is used to create the FlexTitleWindow element. |
com.appperfect.devcommon.script.flexelement.FlexNavigationBar |
createFlexToggleButtonBar(int id,
int iElementType)
This method is used to create the FlexToggleButtonBar element. |
com.appperfect.devcommon.script.flexelement.FlexTree |
createFlexTree(int id,
int iElementType)
This method is used to create the FlexTree element. |
com.appperfect.devcommon.script.flexelement.FlexObject |
createFlexVideoDisplay(int id,
int iElementType)
This method is used to create the FlexVideoDisplay element. |
com.appperfect.devcommon.script.flexelement.FlexViewStack |
createFlexViewStack(int id,
int iElementType)
This method is used to create the FlexViewStack element. |
com.appperfect.devcommon.script.flexelement.IFlex |
createFlexWindow(int id,
java.lang.String windowTitle)
This method is used to create the IUrl task. |
SoapScript |
createSoapRequest(int id,
java.lang.String taskName,
java.lang.String protocol,
java.lang.String hostName,
int port,
java.lang.String uri)
This method is used to create the SOAP type of HTTP/HTTPS
request. |
SoapScript |
createSoapRequest(int id,
java.lang.String taskName,
java.lang.String protocol,
java.lang.String hostName,
int port,
java.lang.String uri,
java.lang.String encodeChar)
This method is used to create the SOAP type of HTTP/HTTPS
request. |
IUrl |
createURL(int id,
java.lang.String protocol,
java.lang.String hostName,
int port,
java.lang.String uri,
boolean bSubFrame)
This method is used to create the IUrl task. |
WebArea |
createWebArea(int id,
int iElementType)
This method is used to create the WebArea element. |
WebBrowserElement |
createWebBrowserElement(int id,
int iElementType)
This method is used to create the WebBrowserElement . |
WebButton |
createWebButton(int id,
int iElementType)
This method is used to create the WebButton element. |
WebCheckBox |
createWebCheckBox(int id,
int iElementType)
This method is used to create the WebCheckBox element. |
WebComboBox |
createWebComboBox(int id,
int iElementType)
This method is used to create the WebComboBox element. |
WebDivElement |
createWebDivElement(int id,
int iElementType)
This method is used to create the WebDivElement element. |
WebEdit |
createWebEdit(int id,
int iElementType)
This method is used to create the WebEdit element. |
WebFile |
createWebFile(int id,
int iElementType)
This method is used to create the WebFile element. |
WebHiddenField |
createWebHiddenField(int id,
int iElementType)
This method is used to create the WebHiddenField element. |
WebImage |
createWebImage(int id,
int iElementType)
This method is used to create the WebImage element. |
WebInputButton |
createWebInputButton(int id,
int iElementType)
This method is used to create the WebInputButton element. |
WebInputElement |
createWebInputElement(int id,
int iElementType)
This method is used to create the WebInputElement element. |
WebInputImage |
createWebInputImage(int id,
int iElementType)
This method is used to create the WebInputImage element. |
WebLink |
createWebLink(int id,
int iElementType)
This method is used to create the WebLink element. |
WebList |
createWebList(int id,
int iElementType,
boolean bOrdered)
This method is used to create the WebList element. |
WebListItem |
createWebListItem(int id,
int iElementType)
This method is used to create the WebListItem element. |
WebObject |
createWebObject(int id,
java.lang.String sElementTag,
int iElementType)
This method is used to create the WebObject element. |
WebPasswordField |
createWebPasswordField(int id,
int iElementType)
This method is used to create the WebPasswordField
element. |
WebRadioButton |
createWebRadioButton(int id,
int iElementType)
This method is used to create the WebRadioButton element. |
WebResetButton |
createWebResetButton(int id,
int iElementType)
This method is used to create the WebResetButton element. |
WebSpan |
createWebSpan(int id,
int iElementType)
This method is used to create the WebSpan element. |
WebSubmitButton |
createWebSubmitButton(int id,
int iElementType)
This method is used to create the WebSubmitButton element. |
WebTable |
createWebTable(int id,
int iElementType)
This method is used to create the WebTable element. |
IWebTest |
createWebTest()
To create Web test project |
WebTextArea |
createWebTextArea(int id,
int iElementType)
This method is used to create the WebTextArea element. |
WebTextField |
createWebTextField(int id,
int iElementType)
This method is used to create the WebTextField element. |
WinApplet |
createWinApplet(int id,
int iElementType)
This method is used to create the WinApplet element. |
WinButton |
createWinButton(int id,
int iElementType)
This method is used to create the WinButton element. |
WinCalendar |
createWinCalendar(int id,
int iElementType)
This method is used to create the WinCalendar element. |
WinCheckBox |
createWinCheckBox(int id,
int iElementType)
This method is used to create the WinCheckBox element. |
WinComboBox |
createWinComboBox(int id,
int iElementType)
This method is used to create the WinComboBox element. |
WinComboListBox |
createWinComboListBox(int id,
int iElementType)
This method is used to create the WinComboListBox element. |
WinEdit |
createWinEdit(int id,
int iElementType)
This method is used to create the WinEdit element. |
WinFlash |
createWinFlash(int id,
int iElementType)
This method is used to create the WinFlash element. |
WinListBox |
createWinListBox(int id,
int iElementType)
This method is used to create the WinListBox element. |
WinListView |
createWinListView(int id,
int iElementType)
This method is used to create the WinListView element. |
WinMenu |
createWinMenu(int id,
java.lang.String sWindowClass,
int iElementType)
This method is used to create the WinMenu element. |
WinMenuWindow |
createWinMenuWindow(int id,
int iElementType)
This method is used to create the WinMenuWindow element. |
WinObject |
createWinObject(int id,
java.lang.String sWindowClass,
int iElementType)
This method is used to create the WinObject element. |
WinRadioButton |
createWinRadioButton(int id,
int iElementType)
This method is used to create the WinRadioButton element. |
WinScrollbar |
createWinScrollbar(int id,
int iElementType)
This method is used to create the WinScrollbar element. |
WinSpin |
createWinSpin(int id,
int iElementType)
This method is used to create the WinSpin element. |
WinStatic |
createWinStatic(int id,
int iElementType)
This method is used to create the WinStatic element. |
WinStatusBar |
createWinStatusBar(int id,
int iElementType)
This method is used to create the WinStatusBar element. |
WinTab |
createWinTab(int id,
int iElementType)
This method is used to create the WinTab element. |
WinToolbar |
createWinToolbar(int id,
int iElementType)
This method is used to create the WinToolbar element. |
WinTreeView |
createWinTreeView(int id,
int iElementType)
This method is used to create the WinTreeView element. |
boolean |
executeBrowser(IBrowser browser)
Executes the IBrowser task object passed. |
boolean |
executeFlexWindow(com.appperfect.devcommon.script.flexelement.IFlex flex)
Executes the IFlex task object passed. |
boolean |
executeSoapRequest(SoapScript url)
Executes the SoapScript task object passed. |
boolean |
executeURL(IUrl url)
Executes the IUrl task object passed. |
java.lang.String |
getAuthenticationDomain()
If the current group requires authentication for Domain ,
then this returns the domain name associated for this group. |
int |
getAuthenticationMechanism()
If the current group required authentication then method method returns authentication type like NTLM, Basic etc. |
java.lang.String |
getAuthenticationPassword()
Authentication user associated with the current group if the current group requires authentication (Basic/Domain/NTLM). |
java.lang.String |
getAuthenticationUsername()
Authentication user associated with the current group if the current group requires authentication (Basic/Domain/NTLM). |
java.lang.String |
getHostInfoParameterValue(java.lang.String sName,
java.lang.String sValue,
java.lang.String sParameterName)
To get Test Parameter value for event's parameterized Attribute or URL's Task Parameter |
int |
getIterationNumber()
To get the number of iterations performed till now, including the one currently in progress. |
java.lang.String |
getLoginPassword()
Login password associated with the current group if it contains a login request. |
java.lang.String |
getLoginUsername()
Login user name associated with the current group if it contains a login request. |
void |
release()
Releases all the internal objects like ResultSet, Connection are released in this method. |
void |
setAuthenticationMechanism(int authenticationMechanism)
To set the authentication mechanism |
void |
setAuthenticationUser(java.lang.String name,
java.lang.String pwd,
java.lang.String domain)
To set the authentication user to be used for the current group |
void |
setLoginUser(java.lang.String name,
java.lang.String pwd)
To set the login user to be used for the current group |
Methods inherited from interface com.appperfect.devcommon.script.IDatabaseHandler |
---|
closeResultSet, executeInsertUpdateQuery, executeSelectQuery, getLastError, getNumberOfDatabaseColumns, getNumberOfDatabaseRows, getResultSet, getValueFromDatabase, isDatabaseConnectionValid, setDatabaseConnection |
Methods inherited from interface com.appperfect.devcommon.script.INotificationHandler |
---|
sendEmailNotificaion, sendEmailNotificaion, sendEmailNotificaion |
Methods inherited from interface com.appperfect.devcommon.script.IParameterHandler |
---|
assertTestParameterValue, getParameterValue, getParameterValue, getParameterValueByParsing, getParameterValueByParsing, getParameterValueForPattern |
Method Detail |
---|
IBrowser createBrowser(int id, java.lang.String sTitle, java.lang.String protocol, java.lang.String hostName, int port, java.lang.String uri)
IBrowser
task.
id
- is the Task Id. Should be unique across the testsTitle
- is the unique title of the browser which is used to identify
browser.protocol
- of the request. http
or https
hostName
- host name or IP address of the remote serverport
- of the remote serveruri
-
IBrowser
object for executioncom.appperfect.devcommon.script.flexelement.FlexAccordion createFlexAccordion(int id, int iElementType)
FlexAccordion
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexAccordion
object for executioncom.appperfect.devcommon.script.flexelement.FlexContainer createFlexAlert(int id, int iElementType)
FlexAlert
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexContainer
object for executioncom.appperfect.devcommon.script.flexelement.FlexContainer createFlexApplication(int id, int iElementType)
FlexApplication
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexContainer
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexAreaChart(int id, int iElementType)
FlexAreaChart
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexChartSeries createFlexAreaSeries(int id, int iElementType)
FlexAreaSeries
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexChartSeries
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexAxisRenderer(int id, int iElementType)
FlexAxisRenderer
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexBarChart(int id, int iElementType)
FlexBarChart
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexChartSeries createFlexBarSeries(int id, int iElementType)
FlexBarSeries
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexChartSeries
object for executioncom.appperfect.devcommon.script.flexelement.FlexContainer createFlexBox(int id, int iElementType)
FlexBox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexContainer
object for executioncom.appperfect.devcommon.script.flexelement.FlexChartSeries createFlexBubbleSeries(int id, int iElementType)
FlexBubbleSeries
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexChartSeries
object for executioncom.appperfect.devcommon.script.flexelement.FlexButton createFlexButton(int id, int iElementType)
FlexButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexButton
object for executioncom.appperfect.devcommon.script.flexelement.FlexNavigationBar createFlexButtonBar(int id, int iElementType)
FlexButtonBar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexNavigationBar
object for executioncom.appperfect.devcommon.script.flexelement.FlexContainer createFlexCanvas(int id, int iElementType)
FlexCanvas
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexContainer
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexCartesianChart(int id, int iElementType)
FlexCartesianChart
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexChart(int id, int iElementType)
FlexChart
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexChartLegend createFlexChartLegend(int id, int iElementType)
FlexChartLegend
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexChartLegend
object for executioncom.appperfect.devcommon.script.flexelement.FlexChartSeries createFlexChartSeries(int id, int iElementType)
FlexChartSeries
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexChartSeries
object for executioncom.appperfect.devcommon.script.flexelement.FlexButton createFlexCheckBox(int id, int iElementType)
FlexCheckbox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexButton
object for executioncom.appperfect.devcommon.script.flexelement.FlexColorPicker createFlexColorPicker(int id, int iElementType)
FlexColorPicker
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexColorPicker
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexColumnChart(int id, int iElementType)
FlexColumnChart
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexChartSeries createFlexColumnSeries(int id, int iElementType)
FlexColumnSeries
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexChartSeries
object for executioncom.appperfect.devcommon.script.flexelement.FlexComboBase createFlexComboBase(int id, int iElementType)
FlexComboBase
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexComboBase
object for executioncom.appperfect.devcommon.script.flexelement.FlexComboBox createFlexComboBox(int id, int iElementType)
FlexComboBox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexComboBox
object for executioncom.appperfect.devcommon.script.flexelement.FlexContainer createFlexContainer(int id, int iElementType)
FlexContainer
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexContainer
object for executioncom.appperfect.devcommon.script.flexelement.FlexDataGrid createFlexDataGrid(int id, int iElementType)
FlexDataGrid
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexDatGrid
object for executioncom.appperfect.devcommon.script.flexelement.FlexDateChooser createFlexDateChooser(int id, int iElementType)
FlexDateChooser
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexDateChooser
object for executioncom.appperfect.devcommon.script.flexelement.FlexDateField createFlexDateField(int id, int iElementType)
FlexDateField
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexDateField
object for executioncom.appperfect.devcommon.script.flexelement.FlexDisplayObject createFlexDisplayObject(int id, int iElementType)
FlexDisplayObject
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexDisplayObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexDividedBox createFlexDividedBox(int id, int iElementType)
FlexDividedBox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexDividedBox
object for executioncom.appperfect.devcommon.script.flexelement.FlexContainer createFlexForm(int id, int iElementType)
FlexForm
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexContainer
object for executioncom.appperfect.devcommon.script.flexelement.FlexContainer createFlexFormItem(int id, int iElementType)
FlexFormItem
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexContainer
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexHLOCChart(int id, int iElementType)
FlexHLOCChart
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexImage(int id, int iElementType)
FlexImage
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexLabel createFlexLabel(int id, int iElementType)
FlexLabel
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexLabel
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexLineChart(int id, int iElementType)
FlexLineChart
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexChartSeries createFlexLineSeries(int id, int iElementType)
FlexLineSeries
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexChartSeries
object for executioncom.appperfect.devcommon.script.flexelement.FlexNavigationBar createFlexLinkBar(int id, int iElementType)
FlexLinkBar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexNavigationBar
object for executioncom.appperfect.devcommon.script.flexelement.FlexList createFlexList(int id, int iElementType)
FlexList
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexList
object for executioncom.appperfect.devcommon.script.flexelement.FlexListBase createFlexListBase(int id, int iElementType)
FlexListBase
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexListBase
object for executioncom.appperfect.devcommon.script.flexelement.FlexDisplayObject createFlexListLabel(int id, int iElementType)
FlexListLabel
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexDisplayObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexLoader(int id, int iElementType)
FlexLoader
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexMenu createFlexMenu(int id, int iElementType)
FlexMenu
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexMenu
object for executioncom.appperfect.devcommon.script.flexelement.FlexMenuBar createFlexMenuBar(int id, int iElementType)
FlexMenuBar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexMenuBar
object for executioncom.appperfect.devcommon.script.flexelement.FlexNavigationBar createFlexNavigationBar(int id, int iElementType)
FlexNavigationBar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexNavigationBar
object for executioncom.appperfect.devcommon.script.flexelement.FlexNumericStepper createFlexNumericStepper(int id, int iElementType)
FlexNumericStepper
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexNumericStepper
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexObject(int id, int iElementType)
FlexObject
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexContainer createFlexPanel(int id, int iElementType)
FlexPanel
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexContainer
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexPieChart(int id, int iElementType)
FlexPieChart
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexChartSeries createFlexPieSeries(int id, int iElementType)
FlexPieSeries
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexChartSeries
object for executioncom.appperfect.devcommon.script.flexelement.FlexChartSeries createFlexPlotSeries(int id, int iElementType)
FlexPlotSeries
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexChartSeries
object for executioncom.appperfect.devcommon.script.flexelement.FlexPopUpButton createFlexPopUpButton(int id, int iElementType)
FlexPopUpButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexPopUpButton
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexProgressBar(int id, int iElementType)
FlexProgressBar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexButton createFlexRadioButton(int id, int iElementType)
FlexRadioButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexButton
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexRule(int id, int iElementType)
FlexRule
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexScrollBar createFlexScrollBar(int id, int iElementType)
FlexScrollBar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexScrollBar
object for executioncom.appperfect.devcommon.script.flexelement.FlexScrollBase createFlexScrollBase(int id, int iElementType)
FlexScrollBase
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexScrollBase
object for executioncom.appperfect.devcommon.script.flexelement.FlexSlider createFlexSlider(int id, int iElementType)
FlexSlider
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexSlider
object for executioncom.appperfect.devcommon.script.flexelement.FlexTabNavigator createFlexTabNavigator(int id, int iElementType)
FlexTabNavigator
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexTabNavigator
object for executioncom.appperfect.devcommon.script.flexelement.FlexTextArea createFlexTextArea(int id, int iElementType)
FlexTextArea
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexTextArea
object for executioncom.appperfect.devcommon.script.flexelement.FlexContainer createFlexTitleWindow(int id, int iElementType)
FlexTitleWindow
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexContainer
object for executioncom.appperfect.devcommon.script.flexelement.FlexNavigationBar createFlexToggleButtonBar(int id, int iElementType)
FlexToggleButtonBar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexNavigationBar
object for executioncom.appperfect.devcommon.script.flexelement.FlexTree createFlexTree(int id, int iElementType)
FlexTree
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexTree
object for executioncom.appperfect.devcommon.script.flexelement.FlexObject createFlexVideoDisplay(int id, int iElementType)
FlexVideoDisplay
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexObject
object for executioncom.appperfect.devcommon.script.flexelement.FlexViewStack createFlexViewStack(int id, int iElementType)
FlexViewStack
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
FlexViewStack
object for executioncom.appperfect.devcommon.script.flexelement.IFlex createFlexWindow(int id, java.lang.String windowTitle)
IUrl
task.
id
- is the Task Id. Should be unique across the testwindowTitle
- of the flex window.
IFlex
object for executionSoapScript createSoapRequest(int id, java.lang.String taskName, java.lang.String protocol, java.lang.String hostName, int port, java.lang.String uri)
SOAP
type of HTTP/HTTPS
request.
id
- is the Task Id. Should be unique across the testtaskName
- name of the task.protocol
- of the request. http
or https
hostName
- host name or IP address of the remote serverport
- of the remote serveruri
-
request
object for executionSoapScript createSoapRequest(int id, java.lang.String taskName, java.lang.String protocol, java.lang.String hostName, int port, java.lang.String uri, java.lang.String encodeChar)
SOAP
type of HTTP/HTTPS
request. The encode char parameter can be used to parameterize the uri.
id
- is the Task Id. Should be unique across the testtaskName
- name of the task.protocol
- of the request. http
or https
hostName
- host name or IP address of the remote serverport
- of the remote serveruri
- encodeChar
- character to be used for enclosing TestParameter if any in the
Path, by default @ is used for enclosing TestParameter within path
request
object for executionIUrl createURL(int id, java.lang.String protocol, java.lang.String hostName, int port, java.lang.String uri, boolean bSubFrame)
IUrl
task.
id
- is the Task Id. Should be unique across the testprotocol
- of the request. http
or https
hostName
- host name or IP address of the remote serverport
- of the remote serveruri
- bSubFrame
- whether its a sub frame or top level page.
IUrl
object for executionWebArea createWebArea(int id, int iElementType)
WebArea
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebArea
object for executionWebBrowserElement createWebBrowserElement(int id, int iElementType)
WebBrowserElement
.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebBrowserElement
object for executionWebButton createWebButton(int id, int iElementType)
WebButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebButton
object for executionWebCheckBox createWebCheckBox(int id, int iElementType)
WebCheckBox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebCheckBox
object for executionWebComboBox createWebComboBox(int id, int iElementType)
WebComboBox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebComboBox
object for executionWebDivElement createWebDivElement(int id, int iElementType)
WebDivElement
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebDivElement
object for executionWebEdit createWebEdit(int id, int iElementType)
WebEdit
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebEdit
object for executionWebFile createWebFile(int id, int iElementType)
WebFile
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebFile
object for executionWebHiddenField createWebHiddenField(int id, int iElementType)
WebHiddenField
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebHiddenField
object for executionWebImage createWebImage(int id, int iElementType)
WebImage
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebImage
object for executionWebInputButton createWebInputButton(int id, int iElementType)
WebInputButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebInputButton
object for executionWebInputElement createWebInputElement(int id, int iElementType)
WebInputElement
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebInputElement
object for executionWebInputImage createWebInputImage(int id, int iElementType)
WebInputImage
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebInputImage
object for executionWebLink createWebLink(int id, int iElementType)
WebLink
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebLink
object for executionWebList createWebList(int id, int iElementType, boolean bOrdered)
WebList
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.bOrdered
- is true if its an ordered list, false otherwise
WebList
object for executionWebListItem createWebListItem(int id, int iElementType)
WebListItem
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebListItem
object for executionWebObject createWebObject(int id, java.lang.String sElementTag, int iElementType)
WebObject
element. This
is the base element for any web component. Should be used for creating an
element whose tagname is known and equivalent element for same is not
present in the standard elements supported by default.
id
- is the Task Id. Should be unique across the testsElementTag
- is the html tag nameiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebObject
object for executionWebPasswordField createWebPasswordField(int id, int iElementType)
WebPasswordField
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebPasswordField
object for executionWebRadioButton createWebRadioButton(int id, int iElementType)
WebRadioButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebRadioButton
object for executionWebResetButton createWebResetButton(int id, int iElementType)
WebResetButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebResetButton
object for executionWebSpan createWebSpan(int id, int iElementType)
WebSpan
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebSpan
object for executionWebSubmitButton createWebSubmitButton(int id, int iElementType)
WebSubmitButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebSubmitButton
object for executionWebTable createWebTable(int id, int iElementType)
WebTable
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebTable
object for executionIWebTest createWebTest()
WebTextArea createWebTextArea(int id, int iElementType)
WebTextArea
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebTextArea
object for executionWebTextField createWebTextField(int id, int iElementType)
WebTextField
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WebTextField
object for executionWinApplet createWinApplet(int id, int iElementType)
WinApplet
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinApplet
object for executionWinButton createWinButton(int id, int iElementType)
WinButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinButton
object for executionWinCalendar createWinCalendar(int id, int iElementType)
WinCalendar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinCalendar
object for executionWinCheckBox createWinCheckBox(int id, int iElementType)
WinCheckBox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinCheckBox
object for executionWinComboBox createWinComboBox(int id, int iElementType)
WinComboBox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinComboBox
object for executionWinComboListBox createWinComboListBox(int id, int iElementType)
WinComboListBox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinComboListBox
object for executionWinEdit createWinEdit(int id, int iElementType)
WinEdit
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinEdit
object for executionWinFlash createWinFlash(int id, int iElementType)
WinFlash
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinFlash
object for executionWinListBox createWinListBox(int id, int iElementType)
WinListBox
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinListBox
object for executionWinListView createWinListView(int id, int iElementType)
WinListView
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinListView
object for executionWinMenu createWinMenu(int id, java.lang.String sWindowClass, int iElementType)
WinMenu
element.
id
- is the Task Id. Should be unique across the testsWindowClass
- represents name of the window class.iElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinMenu
object for executionWinMenuWindow createWinMenuWindow(int id, int iElementType)
WinMenuWindow
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinMenuWindow
object for executionWinObject createWinObject(int id, java.lang.String sWindowClass, int iElementType)
WinObject
element. This
is the base element for any window component. Should be used for creating
an element whose class name is known and equivalent element for same is
not present in the standard elements supported by default.
id
- is the Task Id. Should be unique across the testsWindowClass
- represents name of the window class.iElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinObject
object for executionWinRadioButton createWinRadioButton(int id, int iElementType)
WinRadioButton
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinRadioButton
object for executionWinScrollbar createWinScrollbar(int id, int iElementType)
WinScrollbar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinScrollbar
object for executionWinSpin createWinSpin(int id, int iElementType)
WinSpin
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinSpin
object for executionWinStatic createWinStatic(int id, int iElementType)
WinStatic
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinStatic
object for executionWinStatusBar createWinStatusBar(int id, int iElementType)
WinStatusBar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinStatusBar
object for executionWinTab createWinTab(int id, int iElementType)
WinTab
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinTab
object for executionWinToolbar createWinToolbar(int id, int iElementType)
WinToolbar
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinToolbar
object for executionWinTreeView createWinTreeView(int id, int iElementType)
WinTreeView
element.
id
- is the Task Id. Should be unique across the testiElementType
- possible values, 1 if element is on a WebBrowser, 2 if element
is on top level page, 3 if element is present on subframe.
WinTreeView
object for executionboolean executeBrowser(IBrowser browser)
browser
- The IBrowser object to be executed
true
if the browser was executed successfully;
false
if there was an error during execution.boolean executeFlexWindow(com.appperfect.devcommon.script.flexelement.IFlex flex)
flex
- The IFlex object to be executed
true
if the url was executed successfully;
false
if there was an error during execution.boolean executeSoapRequest(SoapScript url)
url
- The SoapScript object to be executed
true
if the request was executed successfully;
false
if there was an error during execution.boolean executeURL(IUrl url)
url
- The IUrl object to be executed
true
if the url was executed successfully;
false
if there was an error during execution.java.lang.String getAuthenticationDomain()
Domain
,
then this returns the domain name associated for this group.
domain
of the authentication user used for the
current groupint getAuthenticationMechanism()
java.lang.String getAuthenticationPassword()
password
of the authentication user used for the
current groupjava.lang.String getAuthenticationUsername()
user name
of the authentication user used for the
current groupjava.lang.String getHostInfoParameterValue(java.lang.String sName, java.lang.String sValue, java.lang.String sParameterName)
sName
- of the task parameter/attributesValue
- recorded value of the parametersParameterName
- name of the test parameter
int getIterationNumber()
java.lang.String getLoginPassword()
password
of the logged in user used for the
current groupjava.lang.String getLoginUsername()
name
of the logged in user used for the current
groupvoid release()
void setAuthenticationMechanism(int authenticationMechanism)
authenticationMechanism
- void setAuthenticationUser(java.lang.String name, java.lang.String pwd, java.lang.String domain)
name
- of the authentication userpwd
- password of the authentication userdomain
- name of the domain for Domain based authentication;
null
otherwisevoid setLoginUser(java.lang.String name, java.lang.String pwd)
name
- of the login userpwd
- password of the login user
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |