@Deprecated
public interface Selenium
Element Locators tell Selenium which HTML element a command refers to. The format of a locator is:
locatorType=argument
We support the following strategies for locating elements:
The name may optionally be followed by one or more element-filters, separated from the name by whitespace. If the filterType is not specified, value is assumed.
Currently the css selector locator supports all css1, css2 and css3 selectors except namespace in css3, some pseudo classes(:nth-of-type, :nth-last-of-type, :first-of-type, :last-of-type, :only-of-type, :visited, :hover, :active, :focus, :indeterminate) and pseudo elements(::first-line, ::first-letter, ::selection, ::before, ::after).
Without an explicit locator prefix, Selenium uses the following default strategies:
Element filters can be used with a locator to refine a list of candidate elements. They are currently used only in the 'name' element-locator.
Filters look much like locators, ie.
filterType=argumentSupported element-filters are:
value=valuePattern
Matches elements based on their values. This is particularly useful for refining a list of similarly-named toggle-buttons.index=index
Selects a single element based on its position in the list (offset from zero).
Various Pattern syntaxes are available for matching string values:
If no pattern prefix is specified, Selenium assumes that it's a "glob" pattern.
For commands that return multiple values (such as verifySelectOptions), the string being matched is a comma-separated list of the return values, where both commas and backslashes in the values are backslash-escaped. When providing a pattern, the optional matching syntax (i.e. glob, regexp, etc.) is specified once, as usual, at the beginning of the pattern.
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomRequestHeader(java.lang.String key,
java.lang.String value)
Deprecated.
Tells the Selenium server to add the specificed key and value as a custom outgoing request
header.
|
void |
addLocationStrategy(java.lang.String strategyName,
java.lang.String functionDefinition)
Deprecated.
Defines a new function for Selenium to locate elements on the page.
|
void |
addScript(java.lang.String scriptContent,
java.lang.String scriptTagId)
Deprecated.
Loads script content into a new script tag in the Selenium document.
|
void |
addSelection(java.lang.String locator,
java.lang.String optionLocator)
Deprecated.
Add a selection to the set of selected options in a multi-select element using an option
locator.
|
void |
allowNativeXpath(java.lang.String allow)
Deprecated.
Specifies whether Selenium should use the native in-browser implementation of XPath (if any
native version is available); if you pass "false" to this function, we will always use our
pure-JavaScript xpath library.
|
void |
altKeyDown()
Deprecated.
Press the alt key and hold it down until doAltUp() is called or a new page is loaded.
|
void |
altKeyUp()
Deprecated.
Release the alt key.
|
void |
answerOnNextPrompt(java.lang.String answer)
Deprecated.
Instructs Selenium to return the specified answer string in response to the next JavaScript
prompt [window.prompt()].
|
void |
assignId(java.lang.String locator,
java.lang.String identifier)
Deprecated.
Temporarily sets the "id" attribute of the specified element, so you can locate it in the
future using its ID rather than a slow/complicated XPath.
|
void |
attachFile(java.lang.String fieldLocator,
java.lang.String fileLocator)
Deprecated.
Sets a file input (upload) field to the file listed in fileLocator
|
void |
captureEntirePageScreenshot(java.lang.String filename,
java.lang.String kwargs)
Deprecated.
Saves the entire contents of the current window canvas to a PNG file.
|
java.lang.String |
captureEntirePageScreenshotToString(java.lang.String kwargs)
Deprecated.
Downloads a screenshot of the browser current window canvas to a based 64 encoded PNG file.
|
java.lang.String |
captureNetworkTraffic(java.lang.String type)
Deprecated.
Returns the network traffic seen by the browser, including headers, AJAX requests, status
codes, and timings.
|
void |
captureScreenshot(java.lang.String filename)
Deprecated.
Captures a PNG screenshot to the specified file.
|
java.lang.String |
captureScreenshotToString()
Deprecated.
Capture a PNG screenshot.
|
void |
check(java.lang.String locator)
Deprecated.
Check a toggle-button (checkbox/radio)
|
void |
chooseCancelOnNextConfirmation()
Deprecated.
By default, Selenium's overridden window.confirm() function will return true, as if the user
had manually clicked OK; after running this command, the next call to confirm() will return
false, as if the user had clicked Cancel.
|
void |
chooseOkOnNextConfirmation()
Deprecated.
Undo the effect of calling chooseCancelOnNextConfirmation.
|
void |
click(java.lang.String locator)
Deprecated.
Clicks on a link, button, checkbox or radio button.
|
void |
clickAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Clicks on a link, button, checkbox or radio button.
|
void |
close()
Deprecated.
Simulates the user clicking the "close" button in the titlebar of a popup window or tab.
|
void |
contextMenu(java.lang.String locator)
Deprecated.
Simulates opening the context menu for the specified element (as might happen if the user
"right-clicked" on the element).
|
void |
contextMenuAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates opening the context menu for the specified element (as might happen if the user
"right-clicked" on the element).
|
void |
controlKeyDown()
Deprecated.
Press the control key and hold it down until doControlUp() is called or a new page is loaded.
|
void |
controlKeyUp()
Deprecated.
Release the control key.
|
void |
createCookie(java.lang.String nameValuePair,
java.lang.String optionsString)
Deprecated.
Create a new cookie whose path and domain are same with those of current page under test,
unless you specified a path for this cookie explicitly.
|
void |
deleteAllVisibleCookies()
Deprecated.
Calls deleteCookie with recurse=true on all cookies visible to the current page.
|
void |
deleteCookie(java.lang.String name,
java.lang.String optionsString)
Deprecated.
Delete a named cookie with specified path and domain.
|
void |
deselectPopUp()
Deprecated.
Selects the main window.
|
void |
doubleClick(java.lang.String locator)
Deprecated.
Double clicks on a link, button, checkbox or radio button.
|
void |
doubleClickAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Doubleclicks on a link, button, checkbox or radio button.
|
void |
dragAndDrop(java.lang.String locator,
java.lang.String movementsString)
Deprecated.
Drags an element a certain distance and then drops it
|
void |
dragAndDropToObject(java.lang.String locatorOfObjectToBeDragged,
java.lang.String locatorOfDragDestinationObject)
Deprecated.
Drags an element and drops it on another element
|
void |
dragdrop(java.lang.String locator,
java.lang.String movementsString)
Deprecated.
deprecated - use dragAndDrop instead
|
void |
fireEvent(java.lang.String locator,
java.lang.String eventName)
Deprecated.
Explicitly simulate an event, to trigger the corresponding "onevent" handler.
|
void |
focus(java.lang.String locator)
Deprecated.
Move the focus to the specified element; for example, if the element is an input field, move
the cursor to that field.
|
java.lang.String |
getAlert()
Deprecated.
Retrieves the message of a JavaScript alert generated during the previous action, or fail if
there were no alerts.
|
java.lang.String[] |
getAllButtons()
Deprecated.
Returns the IDs of all buttons on the page.
|
java.lang.String[] |
getAllFields()
Deprecated.
Returns the IDs of all input fields on the page.
|
java.lang.String[] |
getAllLinks()
Deprecated.
Returns the IDs of all links on the page.
|
java.lang.String[] |
getAllWindowIds()
Deprecated.
Returns the IDs of all windows that the browser knows about.
|
java.lang.String[] |
getAllWindowNames()
Deprecated.
Returns the names of all windows that the browser knows about.
|
java.lang.String[] |
getAllWindowTitles()
Deprecated.
Returns the titles of all windows that the browser knows about.
|
java.lang.String |
getAttribute(java.lang.String attributeLocator)
Deprecated.
Gets the value of an element attribute.
|
java.lang.String[] |
getAttributeFromAllWindows(java.lang.String attributeName)
Deprecated.
Returns every instance of some attribute from all known windows.
|
java.lang.String |
getBodyText()
Deprecated.
Gets the entire text of the page.
|
java.lang.String |
getConfirmation()
Deprecated.
Retrieves the message of a JavaScript confirmation dialog generated during the previous action.
|
java.lang.String |
getCookie()
Deprecated.
Return all cookies of the current page under test.
|
java.lang.String |
getCookieByName(java.lang.String name)
Deprecated.
Returns the value of the cookie with the specified name, or throws an error if the cookie is
not present.
|
java.lang.Number |
getCssCount(java.lang.String css)
Deprecated.
Returns the number of nodes that match the specified css selector, eg.
|
java.lang.Number |
getCursorPosition(java.lang.String locator)
Deprecated.
Retrieves the text cursor position in the given input element or textarea; beware, this may not
work perfectly on all browsers.
|
java.lang.Number |
getElementHeight(java.lang.String locator)
Deprecated.
Retrieves the height of an element
|
java.lang.Number |
getElementIndex(java.lang.String locator)
Deprecated.
Get the relative index of an element to its parent (starting from 0).
|
java.lang.Number |
getElementPositionLeft(java.lang.String locator)
Deprecated.
Retrieves the horizontal position of an element
|
java.lang.Number |
getElementPositionTop(java.lang.String locator)
Deprecated.
Retrieves the vertical position of an element
|
java.lang.Number |
getElementWidth(java.lang.String locator)
Deprecated.
Retrieves the width of an element
|
java.lang.String |
getEval(java.lang.String script)
Deprecated.
Gets the result of evaluating the specified JavaScript snippet.
|
java.lang.String |
getExpression(java.lang.String expression)
Deprecated.
Returns the specified expression.
|
java.lang.String |
getHtmlSource()
Deprecated.
Returns the entire HTML source between the opening and closing "html" tags.
|
java.lang.String |
getLocation()
Deprecated.
Gets the absolute URL of the current page.
|
java.lang.String |
getLog()
Deprecated.
Get RC logs associated with this session.
|
java.lang.Number |
getMouseSpeed()
Deprecated.
Returns the number of pixels between "mousemove" events during dragAndDrop commands
(default=10).
|
java.lang.String |
getPrompt()
Deprecated.
Retrieves the message of a JavaScript question prompt dialog generated during the previous
action.
|
java.lang.String |
getSelectedId(java.lang.String selectLocator)
Deprecated.
Gets option element ID for selected option in the specified select element.
|
java.lang.String[] |
getSelectedIds(java.lang.String selectLocator)
Deprecated.
Gets all option element IDs for selected options in the specified select or multi-select
element.
|
java.lang.String |
getSelectedIndex(java.lang.String selectLocator)
Deprecated.
Gets option index (option number, starting at 0) for selected option in the specified select
element.
|
java.lang.String[] |
getSelectedIndexes(java.lang.String selectLocator)
Deprecated.
Gets all option indexes (option number, starting at 0) for selected options in the specified
select or multi-select element.
|
java.lang.String |
getSelectedLabel(java.lang.String selectLocator)
Deprecated.
Gets option label (visible text) for selected option in the specified select element.
|
java.lang.String[] |
getSelectedLabels(java.lang.String selectLocator)
Deprecated.
Gets all option labels (visible text) for selected options in the specified select or
multi-select element.
|
java.lang.String |
getSelectedValue(java.lang.String selectLocator)
Deprecated.
Gets option value (value attribute) for selected option in the specified select element.
|
java.lang.String[] |
getSelectedValues(java.lang.String selectLocator)
Deprecated.
Gets all option values (value attributes) for selected options in the specified select or
multi-select element.
|
java.lang.String[] |
getSelectOptions(java.lang.String selectLocator)
Deprecated.
Gets all option labels in the specified select drop-down.
|
java.lang.String |
getSpeed()
Deprecated.
Get execution speed (i.e., get the millisecond length of the delay following each selenium
operation).
|
java.lang.String |
getTable(java.lang.String tableCellAddress)
Deprecated.
Gets the text from a cell of a table.
|
java.lang.String |
getText(java.lang.String locator)
Deprecated.
Gets the text of an element.
|
java.lang.String |
getTitle()
Deprecated.
Gets the title of the current page.
|
java.lang.String |
getValue(java.lang.String locator)
Deprecated.
Gets the (whitespace-trimmed) value of an input field (or anything else with a value
parameter).
|
boolean |
getWhetherThisFrameMatchFrameExpression(java.lang.String currentFrameString,
java.lang.String target)
Deprecated.
Determine whether current/locator identify the frame containing this running code.
|
boolean |
getWhetherThisWindowMatchWindowExpression(java.lang.String currentWindowString,
java.lang.String target)
Deprecated.
Determine whether currentWindowString plus target identify the window containing this running
code.
|
java.lang.Number |
getXpathCount(java.lang.String xpath)
Deprecated.
Returns the number of nodes that match the specified xpath, eg.
|
void |
goBack()
Deprecated.
Simulates the user clicking the "back" button on their browser.
|
void |
highlight(java.lang.String locator)
Deprecated.
Briefly changes the backgroundColor of the specified element yellow.
|
void |
ignoreAttributesWithoutValue(java.lang.String ignore)
Deprecated.
Specifies whether Selenium will ignore xpath attributes that have no value, i.e.
|
boolean |
isAlertPresent()
Deprecated.
Has an alert occurred?
|
boolean |
isChecked(java.lang.String locator)
Deprecated.
Gets whether a toggle-button (checkbox/radio) is checked.
|
boolean |
isConfirmationPresent()
Deprecated.
Has confirm() been called?
|
boolean |
isCookiePresent(java.lang.String name)
Deprecated.
Returns true if a cookie with the specified name is present, or false otherwise.
|
boolean |
isEditable(java.lang.String locator)
Deprecated.
Determines whether the specified input element is editable, ie hasn't been disabled.
|
boolean |
isElementPresent(java.lang.String locator)
Deprecated.
Verifies that the specified element is somewhere on the page.
|
boolean |
isOrdered(java.lang.String locator1,
java.lang.String locator2)
Deprecated.
Check if these two elements have same parent and are ordered siblings in the DOM.
|
boolean |
isPromptPresent()
Deprecated.
Has a prompt occurred?
|
boolean |
isSomethingSelected(java.lang.String selectLocator)
Deprecated.
Determines whether some option in a drop-down menu is selected.
|
boolean |
isTextPresent(java.lang.String pattern)
Deprecated.
Verifies that the specified text pattern appears somewhere on the rendered page shown to the
user.
|
boolean |
isVisible(java.lang.String locator)
Deprecated.
Determines if the specified element is visible.
|
void |
keyDown(java.lang.String locator,
java.lang.String keySequence)
Deprecated.
Simulates a user pressing a key (without releasing it yet).
|
void |
keyDownNative(java.lang.String keycode)
Deprecated.
Simulates a user pressing a key (without releasing it yet) by sending a native operating system
keystroke.
|
void |
keyPress(java.lang.String locator,
java.lang.String keySequence)
Deprecated.
Simulates a user pressing and releasing a key.
|
void |
keyPressNative(java.lang.String keycode)
Deprecated.
Simulates a user pressing and releasing a key by sending a native operating system keystroke.
|
void |
keyUp(java.lang.String locator,
java.lang.String keySequence)
Deprecated.
Simulates a user releasing a key.
|
void |
keyUpNative(java.lang.String keycode)
Deprecated.
Simulates a user releasing a key by sending a native operating system keystroke.
|
void |
metaKeyDown()
Deprecated.
Press the meta key and hold it down until doMetaUp() is called or a new page is loaded.
|
void |
metaKeyUp()
Deprecated.
Release the meta key.
|
void |
mouseDown(java.lang.String locator)
Deprecated.
Simulates a user pressing the left mouse button (without releasing it yet) on the specified
element.
|
void |
mouseDownAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates a user pressing the left mouse button (without releasing it yet) at the specified
location.
|
void |
mouseDownRight(java.lang.String locator)
Deprecated.
Simulates a user pressing the right mouse button (without releasing it yet) on the specified
element.
|
void |
mouseDownRightAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates a user pressing the right mouse button (without releasing it yet) at the specified
location.
|
void |
mouseMove(java.lang.String locator)
Deprecated.
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
|
void |
mouseMoveAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
|
void |
mouseOut(java.lang.String locator)
Deprecated.
Simulates a user moving the mouse pointer away from the specified element.
|
void |
mouseOver(java.lang.String locator)
Deprecated.
Simulates a user hovering a mouse over the specified element.
|
void |
mouseUp(java.lang.String locator)
Deprecated.
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding
the button down) on the specified element.
|
void |
mouseUpAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding
the button down) at the specified location.
|
void |
mouseUpRight(java.lang.String locator)
Deprecated.
Simulates the event that occurs when the user releases the right mouse button (i.e., stops
holding the button down) on the specified element.
|
void |
mouseUpRightAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates the event that occurs when the user releases the right mouse button (i.e., stops
holding the button down) at the specified location.
|
void |
open(java.lang.String url)
Deprecated.
Opens an URL in the test frame.
|
void |
open(java.lang.String url,
java.lang.String ignoreResponseCode)
Deprecated.
Opens an URL in the test frame.
|
void |
openWindow(java.lang.String url,
java.lang.String windowID)
Deprecated.
Opens a popup window (if a window with that ID isn't already open).
|
void |
refresh()
Deprecated.
Simulates the user clicking the "Refresh" button on their browser.
|
void |
removeAllSelections(java.lang.String locator)
Deprecated.
Unselects all of the selected options in a multi-select element.
|
void |
removeScript(java.lang.String scriptTagId)
Deprecated.
Removes a script tag from the Selenium document identified by the given id.
|
void |
removeSelection(java.lang.String locator,
java.lang.String optionLocator)
Deprecated.
Remove a selection from the set of selected options in a multi-select element using an option
locator.
|
java.lang.String |
retrieveLastRemoteControlLogs()
Deprecated.
Retrieve the last messages logged on a specific remote control.
|
void |
rollup(java.lang.String rollupName,
java.lang.String kwargs)
Deprecated.
Executes a command rollup, which is a series of commands with a unique name, and optionally
arguments that control the generation of the set of commands.
|
void |
runScript(java.lang.String script)
Deprecated.
Creates a new "script" tag in the body of the current test window, and adds the specified text
into the body of the command.
|
void |
select(java.lang.String selectLocator,
java.lang.String optionLocator)
Deprecated.
Select an option from a drop-down using an option locator.
|
void |
selectFrame(java.lang.String locator)
Deprecated.
Selects a frame within the current window.
|
void |
selectPopUp(java.lang.String windowID)
Deprecated.
Simplifies the process of selecting a popup window (and does not offer functionality beyond
what
selectWindow() already provides). |
void |
selectWindow(java.lang.String windowID)
Deprecated.
Selects a popup window using a window locator; once a popup window has been selected, all
commands go to that window.
|
void |
setBrowserLogLevel(java.lang.String logLevel)
Deprecated.
Sets the threshold for browser-side logging messages; log messages beneath this threshold will
be discarded.
|
void |
setContext(java.lang.String context)
Deprecated.
Writes a message to the status bar and adds a note to the browser-side log.
|
void |
setCursorPosition(java.lang.String locator,
java.lang.String position)
Deprecated.
Moves the text cursor to the specified position in the given input element or textarea.
|
void |
setExtensionJs(java.lang.String extensionJs)
Deprecated.
Sets the per-session extension Javascript
|
void |
setMouseSpeed(java.lang.String pixels)
Deprecated.
Configure the number of pixels between "mousemove" events during dragAndDrop commands
(default=10).
|
void |
setSpeed(java.lang.String value)
Deprecated.
Set execution speed (i.e., set the millisecond length of a delay which will follow each
selenium operation).
|
void |
setTimeout(java.lang.String timeout)
Deprecated.
Specifies the amount of time that Selenium will wait for actions to complete.
|
void |
shiftKeyDown()
Deprecated.
Press the shift key and hold it down until doShiftUp() is called or a new page is loaded.
|
void |
shiftKeyUp()
Deprecated.
Release the shift key.
|
void |
showContextualBanner()
Deprecated.
Shows in the RemoteRunner a banner for the current test The banner is 'classname : methodname'
where those two are derived from the caller The method name will be unCamelCased with the
insertion of spaces at word boundaries
|
void |
showContextualBanner(java.lang.String className,
java.lang.String methodName)
Deprecated.
Shows in the RemoteRunner a banner for the current test The banner is 'classname : methodname'
The method name will be unCamelCased with the insertion of spaces at word boundaries
|
void |
shutDownSeleniumServer()
Deprecated.
Kills the running Selenium Server and all browser sessions.
|
void |
start()
Deprecated.
Launches the browser with a new Selenium session
|
void |
start(java.lang.Object optionsObject)
Deprecated.
Starts a new Selenium testing session with a configuration options object
|
void |
start(java.lang.String optionsString)
Deprecated.
Starts a new Selenium testing session with a String, representing a configuration
|
void |
stop()
Deprecated.
Ends the test session, killing the browser
|
void |
submit(java.lang.String formLocator)
Deprecated.
Submit the specified form.
|
void |
type(java.lang.String locator,
java.lang.String value)
Deprecated.
Sets the value of an input field, as though you typed it in.
|
void |
typeKeys(java.lang.String locator,
java.lang.String value)
Deprecated.
Simulates keystroke events on the specified element, as though you typed the value key-by-key.
|
void |
uncheck(java.lang.String locator)
Deprecated.
Uncheck a toggle-button (checkbox/radio)
|
void |
useXpathLibrary(java.lang.String libraryName)
Deprecated.
Allows choice of one of the available libraries.
|
void |
waitForCondition(java.lang.String script,
java.lang.String timeout)
Deprecated.
Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
|
void |
waitForFrameToLoad(java.lang.String frameAddress,
java.lang.String timeout)
Deprecated.
Waits for a new frame to load.
|
void |
waitForPageToLoad(java.lang.String timeout)
Deprecated.
Waits for a new page to load.
|
void |
waitForPopUp(java.lang.String windowID,
java.lang.String timeout)
Deprecated.
Waits for a popup window to appear and load up.
|
void |
windowFocus()
Deprecated.
Gives focus to the currently selected window
|
void |
windowMaximize()
Deprecated.
Resize currently selected window to take up the entire screen
|
void setExtensionJs(java.lang.String extensionJs)
void start()
void start(java.lang.String optionsString)
void start(java.lang.Object optionsObject)
void stop()
void showContextualBanner()
void showContextualBanner(java.lang.String className, java.lang.String methodName)
void click(java.lang.String locator)
locator
- an element locatorvoid doubleClick(java.lang.String locator)
locator
- an element locatorvoid contextMenu(java.lang.String locator)
locator
- an element locatorvoid clickAt(java.lang.String locator, java.lang.String coordString)
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.void doubleClickAt(java.lang.String locator, java.lang.String coordString)
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.void contextMenuAt(java.lang.String locator, java.lang.String coordString)
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.void fireEvent(java.lang.String locator, java.lang.String eventName)
locator
- an element locatoreventName
- the event name, e.g. "focus" or "blur"void focus(java.lang.String locator)
locator
- an element locatorvoid keyPress(java.lang.String locator, java.lang.String keySequence)
locator
- an element locatorkeySequence
- Either be a string(
"\" followed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: "
w", "\119".void shiftKeyDown()
void shiftKeyUp()
void metaKeyDown()
void metaKeyUp()
void altKeyDown()
void altKeyUp()
void controlKeyDown()
void controlKeyUp()
void keyDown(java.lang.String locator, java.lang.String keySequence)
locator
- an element locatorkeySequence
- Either be a string(
"\" followed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: "
w", "\119".void keyUp(java.lang.String locator, java.lang.String keySequence)
locator
- an element locatorkeySequence
- Either be a string(
"\" followed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: "
w", "\119".void mouseOver(java.lang.String locator)
locator
- an element locatorvoid mouseOut(java.lang.String locator)
locator
- an element locatorvoid mouseDown(java.lang.String locator)
locator
- an element locatorvoid mouseDownRight(java.lang.String locator)
locator
- an element locatorvoid mouseDownAt(java.lang.String locator, java.lang.String coordString)
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.void mouseDownRightAt(java.lang.String locator, java.lang.String coordString)
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.void mouseUp(java.lang.String locator)
locator
- an element locatorvoid mouseUpRight(java.lang.String locator)
locator
- an element locatorvoid mouseUpAt(java.lang.String locator, java.lang.String coordString)
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.void mouseUpRightAt(java.lang.String locator, java.lang.String coordString)
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.void mouseMove(java.lang.String locator)
locator
- an element locatorvoid mouseMoveAt(java.lang.String locator, java.lang.String coordString)
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.void type(java.lang.String locator, java.lang.String value)
Can also be used to set the value of combo boxes, check boxes, etc. In these cases, value should be the value of the option selected, not the visible text.
locator
- an element locatorvalue
- the value to typevoid typeKeys(java.lang.String locator, java.lang.String value)
This is a convenience method for calling keyDown, keyUp, keyPress for every character in the specified string; this is useful for dynamic UI widgets (like auto-completing combo boxes) that require explicit key events.
Unlike the simple "type" command, which forces the specified value into the page directly, this command may or may not have any visible effect, even in cases where typing keys would normally have a visible effect. For example, if you use "typeKeys" on a form element, you may or may not see the results of what you typed in the field.
In some cases, you may need to use the simple "type" command to set the value of the field and then the "typeKeys" command to send the keystroke events corresponding to what you just typed.
locator
- an element locatorvalue
- the value to typevoid setSpeed(java.lang.String value)
value
- the number of milliseconds to pause after operationjava.lang.String getSpeed()
java.lang.String getLog()
void check(java.lang.String locator)
locator
- an element locatorvoid uncheck(java.lang.String locator)
locator
- an element locatorvoid select(java.lang.String selectLocator, java.lang.String optionLocator)
Option locators provide different ways of specifying options of an HTML Select element (e.g. for selecting a specific option, or for asserting that the selected option satisfies a specification). There are several forms of Select Option Locator.
If no option locator prefix is provided, the default behaviour is to match on label.
selectLocator
- an element locator identifying a drop-down menuoptionLocator
- an option locator (a label by default)void addSelection(java.lang.String locator, java.lang.String optionLocator)
locator
- an element locator identifying a multi-select boxoptionLocator
- an option locator (a label by default)void removeSelection(java.lang.String locator, java.lang.String optionLocator)
locator
- an element locator identifying a multi-select boxoptionLocator
- an option locator (a label by default)void removeAllSelections(java.lang.String locator)
locator
- an element locator identifying a multi-select boxvoid submit(java.lang.String formLocator)
formLocator
- an element locator for the form you want to submitvoid open(java.lang.String url, java.lang.String ignoreResponseCode)
url
- the URL to open; may be relative or absoluteignoreResponseCode
- if set to true, ignores http response code.void open(java.lang.String url)
url
- the URL to open; may be relative or absolutevoid openWindow(java.lang.String url, java.lang.String windowID)
This command can also be a useful workaround for bug SEL-339. In some cases, Selenium will be unable to intercept a call to window.open (if the call occurs during or before the "onLoad" event, for example). In those cases, you can force Selenium to notice the open window's name by using the Selenium openWindow command, using an empty (blank) url, like this: openWindow("", "myFunnyWindow").
url
- the URL to open, which can be blankwindowID
- the JavaScript window ID of the window to selectvoid selectWindow(java.lang.String windowID)
Window locators provide different ways of specifying the window object: by title, by internal JavaScript "name," or by JavaScript variable.
If no window locator prefix is provided, we'll try to guess what you mean like this:
1.) if windowID is null, (or the string "null") then it is assumed the user is referring to the original window instantiated by the browser).
2.) if the value of the "windowID" parameter is a JavaScript variable name in the current application window, then it is assumed that this variable contains the return value from a call to the JavaScript window.open() method.
3.) Otherwise, selenium looks in a hash it maintains that maps string names to window "names".
4.) If that fails, we'll try looping over all of the known windows to try to find the appropriate "title". Since "title" is not necessarily unique, this may have unexpected behavior.
If you're having trouble figuring out the name of a window that you want to manipulate, look at the Selenium log messages which identify the names of windows created via window.open (and therefore intercepted by Selenium). You will see messages like the following for each window as it is opened:
debug: window.open call intercepted; window ID (which you can use with selectWindow()) is "myNewWindow"
In some cases, Selenium will be unable to intercept a call to window.open (if the call occurs during or before the "onLoad" event, for example). (This is bug SEL-339.) In those cases, you can force Selenium to notice the open window's name by using the Selenium openWindow command, using an empty (blank) url, like this: openWindow("", "myFunnyWindow").
windowID
- the JavaScript window ID of the window to selectvoid selectPopUp(java.lang.String windowID)
selectWindow()
already provides).
windowID
is either not specified, or specified as "null", the first non-top
window is selected. The top window is the one that would be selected by
selectWindow()
without providing a windowID
. This should not be used
when more than one popup window is in play.windowID
as the following
in order: 1) the "name" of the window, as specified to window.open()
; 2) a
javascript variable which is a reference to a window; and 3) the title of the window. This is
the same ordered lookup performed by selectWindow
.windowID
- an identifier for the popup window, which can take on a number of different
meaningsvoid deselectPopUp()
selectWindow()
and
specifying no value for windowID
.void selectFrame(java.lang.String locator)
You may also use a DOM expression to identify the frame you want directly, like this:
dom=frames["main"].frames["subframe"]
locator
- an element locator identifying a frame or iframeboolean getWhetherThisFrameMatchFrameExpression(java.lang.String currentFrameString, java.lang.String target)
This is useful in proxy injection mode, where this code runs in every browser frame and window, and sometimes the selenium server needs to identify the "current" frame. In this case, when the test calls selectFrame, this routine is called for each frame to figure out which one has been selected. The selected frame will return true, while all others will return false.
currentFrameString
- starting frametarget
- new frame (which might be relative to the current one)boolean getWhetherThisWindowMatchWindowExpression(java.lang.String currentWindowString, java.lang.String target)
This is useful in proxy injection mode, where this code runs in every browser frame and window, and sometimes the selenium server needs to identify the "current" window. In this case, when the test calls selectWindow, this routine is called for each window to figure out which one has been selected. The selected window will return true, while all others will return false.
currentWindowString
- starting windowtarget
- new window (which might be relative to the current one, e.g., "_parent")void waitForPopUp(java.lang.String windowID, java.lang.String timeout)
windowID
- the JavaScript window "name" of the window that will appear (not the text of
the title bar) If unspecified, or specified as "null", this command will wait for the
first non-top window to appear (don't rely on this if you are working with multiple
popups simultaneously).timeout
- a timeout in milliseconds, after which the action will return with an error. If
this value is not specified, the default Selenium timeout will be used. See the
setTimeout() command.void chooseCancelOnNextConfirmation()
By default, Selenium's overridden window.confirm() function will return true, as if the user had manually clicked OK; after running this command, the next call to confirm() will return false, as if the user had clicked Cancel. Selenium will then resume using the default behavior for future confirmations, automatically returning true (OK) unless/until you explicitly call this command for each confirmation.
Take note - every time a confirmation comes up, you must consume it with a corresponding getConfirmation, or else the next selenium operation will fail.
void chooseOkOnNextConfirmation()
Undo the effect of calling chooseCancelOnNextConfirmation. Note that Selenium's overridden window.confirm() function will normally automatically return true, as if the user had manually clicked OK, so you shouldn't need to use this command unless for some reason you need to change your mind prior to the next confirmation. After any confirmation, Selenium will resume using the default behavior for future confirmations, automatically returning true (OK) unless/until you explicitly call chooseCancelOnNextConfirmation for each confirmation.
Take note - every time a confirmation comes up, you must consume it with a corresponding getConfirmation, or else the next selenium operation will fail.
void answerOnNextPrompt(java.lang.String answer)
answer
- the answer to give in response to the prompt pop-upvoid goBack()
void refresh()
void close()
boolean isAlertPresent()
This function never throws an exception
boolean isPromptPresent()
This function never throws an exception
boolean isConfirmationPresent()
This function never throws an exception
java.lang.String getAlert()
Getting an alert has the same effect as manually clicking OK. If an alert is generated but you do not consume it with getAlert, the next Selenium action will fail.
Under Selenium, JavaScript alerts will NOT pop up a visible alert dialog.
Selenium does NOT support JavaScript alerts that are generated in a page's onload() event handler. In this case a visible dialog WILL be generated and Selenium will hang until someone manually clicks OK.
java.lang.String getConfirmation()
By default, the confirm function will return true, having the same effect as manually clicking OK. This can be changed by prior execution of the chooseCancelOnNextConfirmation command.
If an confirmation is generated but you do not consume it with getConfirmation, the next Selenium action will fail.
NOTE: under Selenium, JavaScript confirmations will NOT pop up a visible dialog.
NOTE: Selenium does NOT support JavaScript confirmations that are generated in a page's onload() event handler. In this case a visible dialog WILL be generated and Selenium will hang until you manually click OK.
java.lang.String getPrompt()
Successful handling of the prompt requires prior execution of the answerOnNextPrompt command. If a prompt is generated but you do not get/verify it, the next Selenium action will fail.
NOTE: under Selenium, JavaScript prompts will NOT pop up a visible dialog.
NOTE: Selenium does NOT support JavaScript prompts that are generated in a page's onload() event handler. In this case a visible dialog WILL be generated and Selenium will hang until someone manually clicks OK.
java.lang.String getLocation()
java.lang.String getTitle()
java.lang.String getBodyText()
java.lang.String getValue(java.lang.String locator)
locator
- an element locatorjava.lang.String getText(java.lang.String locator)
locator
- an element locatorvoid highlight(java.lang.String locator)
locator
- an element locatorjava.lang.String getEval(java.lang.String script)
Note that, by default, the snippet will run in the context of the "selenium" object itself, so
this
will refer to the Selenium object. Use window
to refer to the
window of your application, e.g. window.document.getElementById('foo')
If you need to use a locator to refer to a single element in your application page, you can use
this.browserbot.findElement("id=foo")
where "id=foo" is your locator.
script
- the JavaScript snippet to runboolean isChecked(java.lang.String locator)
locator
- an element locator pointing to a checkbox or radio
buttonjava.lang.String getTable(java.lang.String tableCellAddress)
tableCellAddress
- a cell address, e.g. "foo.1.4"java.lang.String[] getSelectedLabels(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menujava.lang.String getSelectedLabel(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menujava.lang.String[] getSelectedValues(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menujava.lang.String getSelectedValue(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menujava.lang.String[] getSelectedIndexes(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menujava.lang.String getSelectedIndex(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menujava.lang.String[] getSelectedIds(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menujava.lang.String getSelectedId(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menuboolean isSomethingSelected(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menujava.lang.String[] getSelectOptions(java.lang.String selectLocator)
selectLocator
- an element locator identifying a drop-down menujava.lang.String getAttribute(java.lang.String attributeLocator)
attributeLocator
- an element locator followed by an @ sign and then the name of the
attribute, e.g. "foo@bar"boolean isTextPresent(java.lang.String pattern)
pattern
- a pattern to match with the text of the pageboolean isElementPresent(java.lang.String locator)
locator
- an element locatorboolean isVisible(java.lang.String locator)
locator
- an element locatorboolean isEditable(java.lang.String locator)
locator
- an element locatorjava.lang.String[] getAllButtons()
If a given button has no ID, it will appear as "" in this array.
java.lang.String[] getAllLinks()
If a given link has no ID, it will appear as "" in this array.
java.lang.String[] getAllFields()
If a given field has no ID, it will appear as "" in this array.
java.lang.String[] getAttributeFromAllWindows(java.lang.String attributeName)
attributeName
- name of an attribute on the windowsvoid dragdrop(java.lang.String locator, java.lang.String movementsString)
locator
- an element locatormovementsString
- offset in pixels from the current location to which the element should
be moved, e.g., "+70,-300"void setMouseSpeed(java.lang.String pixels)
Setting this value to 0 means that we'll send a "mousemove" event to every single pixel in between the start location and the end location; that can be very slow, and may cause some browsers to force the JavaScript to timeout.
If the mouse speed is greater than the distance between the two dragged objects, we'll just send one "mousemove" at the start location and then one final one at the end location.
pixels
- the number of pixels between "mousemove" eventsjava.lang.Number getMouseSpeed()
void dragAndDrop(java.lang.String locator, java.lang.String movementsString)
locator
- an element locatormovementsString
- offset in pixels from the current location to which the element should
be moved, e.g., "+70,-300"void dragAndDropToObject(java.lang.String locatorOfObjectToBeDragged, java.lang.String locatorOfDragDestinationObject)
locatorOfObjectToBeDragged
- an element to be draggedlocatorOfDragDestinationObject
- an element whose location (i.e., whose center-most pixel)
will be the point where locatorOfObjectToBeDragged is droppedvoid windowFocus()
void windowMaximize()
java.lang.String[] getAllWindowIds()
java.lang.String[] getAllWindowNames()
java.lang.String[] getAllWindowTitles()
java.lang.String getHtmlSource()
void setCursorPosition(java.lang.String locator, java.lang.String position)
locator
- an element locator pointing to an input element or
textareaposition
- the numerical position of the cursor in the field; position should be 0 to move
the position to the beginning of the field. You can also set the cursor to -1 to move it
to the end of the field.java.lang.Number getElementIndex(java.lang.String locator)
locator
- an element locator pointing to an elementboolean isOrdered(java.lang.String locator1, java.lang.String locator2)
locator1
- an element locator pointing to the first elementlocator2
- an element locator pointing to the second elementjava.lang.Number getElementPositionLeft(java.lang.String locator)
locator
- an element locator pointing to an element OR an element
itselfjava.lang.Number getElementPositionTop(java.lang.String locator)
locator
- an element locator pointing to an element OR an element
itselfjava.lang.Number getElementWidth(java.lang.String locator)
locator
- an element locator pointing to an elementjava.lang.Number getElementHeight(java.lang.String locator)
locator
- an element locator pointing to an elementjava.lang.Number getCursorPosition(java.lang.String locator)
Specifically, if the cursor/selection has been cleared by JavaScript, this command will tend to return the position of the last location of the cursor, even though the cursor is now gone from the page. This is filed as SEL-243.
This method will fail if the specified element isn't an input element or textarea, or there is no cursor in the element.locator
- an element locator pointing to an input element or
textareajava.lang.String getExpression(java.lang.String expression)
This is useful because of JavaScript preprocessing. It is used to generate commands like assertExpression and waitForExpression.
expression
- the value to returnjava.lang.Number getXpathCount(java.lang.String xpath)
xpath
- the xpath expression to evaluate. do NOT wrap this expression in a 'count()'
function; we will do that for you.java.lang.Number getCssCount(java.lang.String css)
css
- the css selector to evaluate. do NOT wrap this expression in a 'count()' function;
we will do that for you.void assignId(java.lang.String locator, java.lang.String identifier)
locator
- an element locator pointing to an elementidentifier
- a string to be used as the ID of the specified elementvoid allowNativeXpath(java.lang.String allow)
allow
- boolean, true means we'll prefer to use native XPath; false means we'll only use
JS XPathvoid ignoreAttributesWithoutValue(java.lang.String ignore)
ignore
- boolean, true means we'll ignore attributes without value at the expense of xpath
"correctness"; false means we'll sacrifice speed for correctness.void waitForCondition(java.lang.String script, java.lang.String timeout)
Note that, by default, the snippet will be run in the runner's test window, not in the window
of your application. To get the window of your application, you can use the JavaScript snippet
selenium.browserbot.getCurrentWindow()
, and then run your JavaScript in there
script
- the JavaScript snippet to runtimeout
- a timeout in milliseconds, after which this command will return with an errorvoid setTimeout(java.lang.String timeout)
Actions that require waiting include "open" and the "waitFor*" actions.
The default timeout is 30 seconds.timeout
- a timeout in milliseconds, after which the action will return with an errorvoid waitForPageToLoad(java.lang.String timeout)
You can use this command instead of the "AndWait" suffixes, "clickAndWait", "selectAndWait", "typeAndWait" etc. (which are only available in the JS API).
Selenium constantly keeps track of new pages loading, and sets a "newPageLoaded" flag when it first notices a page load. Running any other Selenium command after turns the flag to false. Hence, if you want to wait for a page to load, you must wait immediately after a Selenium command that caused a page-load.
timeout
- a timeout in milliseconds, after which this command will return with an errorvoid waitForFrameToLoad(java.lang.String frameAddress, java.lang.String timeout)
Selenium constantly keeps track of new pages and frames loading, and sets a "newPageLoaded" flag when it first notices a page load.
See waitForPageToLoad for more information.frameAddress
- FrameAddress from the server sidetimeout
- a timeout in milliseconds, after which this command will return with an errorjava.lang.String getCookie()
java.lang.String getCookieByName(java.lang.String name)
name
- the name of the cookieboolean isCookiePresent(java.lang.String name)
name
- the name of the cookievoid createCookie(java.lang.String nameValuePair, java.lang.String optionsString)
nameValuePair
- name and value of the cookie in a format "name=value"optionsString
- options for the cookie. Currently supported options include 'path',
'max_age' and 'domain'. the optionsString's format is
"path=/path/, max_age=60, domain=.foo.com". The order of options are irrelevant, the
unit of the value of 'max_age' is second. Note that specifying a domain that isn't a
subset of the current domain will usually fail.void deleteCookie(java.lang.String name, java.lang.String optionsString)
name
- the name of the cookie to be deletedoptionsString
- options for the cookie. Currently supported options include 'path',
'domain' and 'recurse.' The optionsString's format is
"path=/path/, domain=.foo.com, recurse=true". The order of options are irrelevant. Note
that specifying a domain that isn't a subset of the current domain will usually fail.void deleteAllVisibleCookies()
void setBrowserLogLevel(java.lang.String logLevel)
logLevel
- one of the following: "debug", "info", "warn", "error" or "off"void runScript(java.lang.String script)
script
- the JavaScript snippet to runvoid addLocationStrategy(java.lang.String strategyName, java.lang.String functionDefinition)
strategyName
- the name of the strategy to define; this should use only letters [a-zA-Z]
with no spaces or other punctuation.functionDefinition
- a string defining the body of a function in JavaScript. For example:
return inDocument.getElementById(locator);
void captureEntirePageScreenshot(java.lang.String filename, java.lang.String kwargs)
filename
- the path to the file to persist the screenshot as. No filename extension will
be appended by default. Directories will not be created if they do not exist, and an
exception will be thrown, possibly by native code.kwargs
- a kwargs string that modifies the way the screenshot is captured. Example:
"background=#CCFFDD" . Currently valid options:
void rollup(java.lang.String rollupName, java.lang.String kwargs)
rollupName
- the name of the rollup commandkwargs
- keyword arguments string that influences how the rollup expands into commandsvoid addScript(java.lang.String scriptContent, java.lang.String scriptTagId)
scriptContent
- the Javascript content of the script to addscriptTagId
- (optional) the id of the new script tag. If specified, and an element with
this id already exists, this operation will fail.void removeScript(java.lang.String scriptTagId)
scriptTagId
- the id of the script element to remove.void useXpathLibrary(java.lang.String libraryName)
libraryName
- name of the desired library Only the following three can be chosen:
void setContext(java.lang.String context)
context
- the message to be sent to the browservoid attachFile(java.lang.String fieldLocator, java.lang.String fileLocator)
fieldLocator
- an element locatorfileLocator
- a URL pointing to the specified file. Before the file can be set in the
input field (fieldLocator), Selenium RC may need to transfer the file to the local
machine before attaching the file in a web page form. This is common in selenium grid
configurations where the RC server driving the browser is not the same machine that
started the test. Supported Browsers: Firefox ("*chrome") only.void captureScreenshot(java.lang.String filename)
filename
- the absolute path to the file to be written, e.g. "c:\blah\screenshot.png"java.lang.String captureScreenshotToString()
java.lang.String captureNetworkTraffic(java.lang.String type)
type
- The type of data to return the network traffic as. Valid values are: json, xml, or
plain.void addCustomRequestHeader(java.lang.String key, java.lang.String value)
key
- the header name.value
- the header value.java.lang.String captureEntirePageScreenshotToString(java.lang.String kwargs)
kwargs
- A kwargs string that modifies the way the screenshot is captured. Example:
"background=#CCFFDD". This may be useful to set for capturing screenshots of
less-than-ideal layouts, for example where absolute positioning causes the calculation
of the canvas dimension to fail and a black background is exposed (possibly obscuring
black text).void shutDownSeleniumServer()
java.lang.String retrieveLastRemoteControlLogs()
void keyDownNative(java.lang.String keycode)
keycode
- an integer keycode number corresponding to a java.awt.event.KeyEvent; note that
Java keycodes are NOT the same thing as JavaScript keycodes!void keyUpNative(java.lang.String keycode)
keycode
- an integer keycode number corresponding to a java.awt.event.KeyEvent; note that
Java keycodes are NOT the same thing as JavaScript keycodes!void keyPressNative(java.lang.String keycode)
keycode
- an integer keycode number corresponding to a java.awt.event.KeyEvent; note that
Java keycodes are NOT the same thing as JavaScript keycodes!


index
|
up
|
prev
|
next
TokenParser Class
Definition at line
55
of
Composite.hpp
Constructors
TokenParser
(
Parser
* child_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Match
Parse
(
Scanner
& scanner,
ObjectStack
& stack,
ParsingData
* parsingData)
override
Constructor Details
TokenParser Constructor
cmajor::parsing::TokenParser::TokenParser(
Parser
* child_)
Definition at line
150
of
Composite.cpp
:
150
:
UnaryParser
(
U"token"
,
child_
,
child_
->
Info
(
)
)
151
{
152
}
Declaration at line
58
of
Composite.hpp
Member Function Details
Accept Member Function
void
cmajor::parsing::TokenParser::Accept(
Visitor
& visitor)
override
Definition at line
162
of
Composite.cpp
:
163
{
164
visitor
.
BeginVisit
(
*
this
)
;
165
Child
(
)
->
Accept
(
visitor
)
;
166
visitor
.
EndVisit
(
*
this
)
;
167
}
Declaration at line
60
of
Composite.hpp
Base class overridden functions:
cmajor::parsing::ParsingObject::Accept
Calls:
cmajor::parsing::ParsingObject::Accept
,
cmajor::parsing::UnaryParser::Child
,
cmajor::parsing::Visitor::BeginVisit
,
cmajor::parsing::Visitor::EndVisit
Parse Member Function
Match
cmajor::parsing::TokenParser::Parse(
Scanner
& scanner,
ObjectStack
& stack,
ParsingData
* parsingData)
override
Definition at line
154
of
Composite.cpp
:
155
{
156
scanner
.
BeginToken
(
)
;
157
Match
match
=
Child
(
)
->
Parse
(
scanner
,
stack
,
parsingData
)
;
158
scanner
.
EndToken
(
)
;
159
return
match
;
160
}
Declaration at line
59
of
Composite.hpp
Base class overridden functions:
cmajor::parsing::Parser::Parse
Calls:
cmajor::parsing::Parser::Parse
,
cmajor::parsing::Scanner::BeginToken
,
cmajor::parsing::Scanner::EndToken
,
cmajor::parsing::UnaryParser::Child
index
|
up
|
prev
|
next


## Mako can find this base file because it's in the settings.py -> MAKO_TEMPLATES_DIRS list <%inherit file="base.htm" /> <%block name="right_header"> %block> <%block name = "top_menu"> %block>


In the last excerise I found that when stuck deeply in a block, I thought that I was far more without hope than I was. Because the path wasn't particularly clear I assumed I was drastically far off, which wasn't true. Once I started speaking myself through the processes I realized I could understand the excersize fairly well. The block wasn't even really real.
I like to think I stop and think before doing things but I often don't. I certianly get triggered and fall into pre-proggramed responses which aren't always the correct move. I think this strategy is sound.


Alloy Ace Editor Wrapper
Language Mode:
javascript
json
xml
php
Update editor value for the selected language


It’s time to start your Christmas shopping!
President John F. Kennedy said, “And so, my fellow Americans, ask not what your country can do for you; ask what you can do for your country.”
Turning fear into hope, medical futurist Dr. Alan J. Russell will discuss the science of regenerating damaged or diseased human body parts, while offering real hope for the future of human health.
© 2018 Mike Murach & Associates, Inc.


Business Enquiry<EMAIL_ADDRESS>PRODUCTS
- Solar Home Lighting System
- Solar Lantern
- Solar Street Light
- Solar Industrial Electrification
- Rural Electrification through Solar power plant
SOLAR HOME LIGHTING PRODUCTS
A home lighting system developed by kSPL will take input from a PV module which will
charge the high capicty battery.
The output from the circuit will run LED light and DC fan of 3 watt and 5 watt respectively and will
also provide mobile charging facility.
The operation of the LED light is in three modes i.e. OFF, Low intensity and High intensity.


[gecode-users] How i kow the degree of a variable
Christian Schulte
cschulte at kth.se
Tue Jun 19 15:25:36 CEST 2007
Please, check the documentation. Christian
--
Christian Schulte, http://www.imit.kth.se/~schulte/
-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Ivan Carvajal
Sent: Tuesday, June 19, 2007 2:27 AM
To: users at gecode.org
Subject: [gecode-users] How i kow the degree of a variable
Hello!!
I need some help, i implement my own branching, and i need to know the
degree of a variable. Is possible know this information inside of a
branching class?
Thanks.
Ivan
--
...:::PAU TE AMO:::...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20070619/fdae57f2/attachment.htm>
More information about the gecode-users
mailing list


|
JTS Topology Suite version 1.13 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.operation.polygonize.Polygonizer
public class Polygonizer
Polygonizes a set of Geometry
s which contain linework that
represents the edges of a planar graph.
All types of Geometry are accepted as input;
the constituent linework is extracted as the edges to be polygonized.
The processed edges must be correctly noded; that is, they must only meet
at their endpoints. The Polygonizer will run on incorrectly noded input
but will not form polygons from non-noded edges,
and will report them as errors.
The Polygonizer reports the follow kinds of errors:
| Field Summary | |
|---|---|
protected java.util.List |
cutEdges
|
protected java.util.Collection |
dangles
|
protected com.vividsolutions.jts.operation.polygonize.PolygonizeGraph |
graph
|
protected java.util.List |
holeList
|
protected java.util.List |
invalidRingLines
|
protected java.util.List |
polyList
|
protected java.util.List |
shellList
|
| Constructor Summary | |
|---|---|
Polygonizer()
Create a polygonizer with the same GeometryFactory
as the input Geometry s |
| Method Summary | |
|---|---|
void |
add(java.util.Collection geomList)
Adds a collection of geometries to the edges to be polygonized. |
void |
add(Geometry g)
Add a Geometry to the edges to be polygonized. |
java.util.Collection |
getCutEdges()
Gets the list of cut edges found during polygonization. |
java.util.Collection |
getDangles()
Gets the list of dangling lines found during polygonization. |
java.util.Collection |
getInvalidRingLines()
Gets the list of lines forming invalid rings found during polygonization. |
java.util.Collection |
getPolygons()
Gets the list of polygons formed by the polygonization. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.vividsolutions.jts.operation.polygonize.PolygonizeGraph graph
protected java.util.Collection dangles
protected java.util.List cutEdges
protected java.util.List invalidRingLines
protected java.util.List holeList
protected java.util.List shellList
protected java.util.List polyList
| Constructor Detail |
|---|
public Polygonizer()
GeometryFactory
as the input Geometry
s
| Method Detail |
|---|
public void add(java.util.Collection geomList)
geomList
- a list of Geometry
s with linework to be polygonizedpublic void add(Geometry g)
Geometry
to the edges to be polygonized.
May be called multiple times.
Any dimension of Geometry may be added;
the constituent linework will be extracted and used
g
- a Geometry
with linework to be polygonizedpublic java.util.Collection getPolygons()
Polygon
spublic java.util.Collection getDangles()
LineString
s which are danglespublic java.util.Collection getCutEdges()
LineString
s which are cut edgespublic java.util.Collection getInvalidRingLines()
LineString
s which form invalid rings
|
JTS Topology Suite version 1.13 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Tottenham Hotspur vs West Ham United Line-ups announced: Jose Mourinho drops superstar in first game in charge
by HarigovindTottenham Hotspur’s new head coach Jose Mourinho has named his starting XI ahead of his first game in charge, the Premier League clash against West Ham United on Saturday.
Check out the Tottenham Hotspur line-up right here:
As you can see, Mourinho has chosen to bench Christian Eriksen and Moussa Sissoko, and in their place, Eric Dier starts in midfield while Lucas Moura gets the nod on the right-wing.
Earlier, on Thursday, Mourinho described the players already at the club as “the best gift” and expressed his willingness to continue working with former manager Mauricio Pochettino’s project by focusing on the players who are currently a part of their club, rather than making wholesale changes.
“I tried to buy some of them for different clubs and I couldn’t. I don’t need [new] players. I love this squad,” he said, before adding:
“We cannot win the Premier League this season. We can – I’m not saying we will do – but we can win it next season.”
And it now seems that The Special One is already demonstrating as to what he intends to do with the North London outfit, by naming Christian Eriksen and Moussa Sissoko on the bench for the Premier League game against West Ham.
Meanwhile, West Ham’s line-up is as follows:


Coronation Street fans fear Ken Barlow will DIE after he's diagnosed with pneumonia
He recently turned 80
by Helen FearViewers of Coronation Street are worried Ken Barlow might die, after the Weatherfield veteran's current health scare.
Recently, fans have noticed that the legendary character has been coughing a lot and looking poorly.
Read more: Coronation Street's Sally Dynevor reaches Mount Everest base camp for Prevent Breast Cancer charity
Tonight, (November 20) the fan favourite is diagnosed with pneumonia after being rushed to hospital.
It's been a trying time for the Barlow family, following Sinead's tragic death... And it looks like the stressful months have finally taken their toll on Ken.
At 80 years old, pneumonia can be potentially fatal - and fans have expressed their concern for him on Twitter.
Read More: Coronation Street's Alexandra Mardell wows fans with throwback bikini snap
One said: "Ken really DOESN'T sound at all good, does he? He's NOT actually going to die too, is he? That really would finish off poor Daniel, losing his father so soon after his wife #Corrie."
Another said: "Ken will be pushing up daisies next."

"Ken... Dead by Christmas or the New Year?" worried one more, while another said: "We're not building up to Ken in a coma at Christmas are we? #Corrie."
Fans shouldn't fret, however, as it looks like he's going to pull through.
Speaking to The Sunday Post, actor William Roache - who is 87 in real life - said he has no plans to retire any time soon.
He said: "I have no plans to retire or do anything revolutionary.

Coronation Street airs on Mondays, Wednesdays and Fridays at 7.30pm and 8.30pm on ITV.
Leave us a comment on our Facebook page @EntertainmentDailyFix and let us know what you think!


| {{item.host}} | {{item.name}} |
| {{key.name}} |
{{formatValue}}
| FIELD | VALUE |
|---|---|
|
{{item.field}}
|
{{item.value}}
|
| MEMBER | SCORE |
|---|---|
|
{{item.key}}
|
{{item.score}}
|
| INDEX | VALUE |
|---|---|
| {{item.index}} |
{{item.value}}
|
| VALUE | |
|---|---|
|
{{item.value}}
|
Powered by Kehaw in China .
Visit www.kehaw.com get more informations about this app, if you have any question or find any bug, please let me know, contact me via<EMAIL_ADDRESS>I will give you feedback as soon as I can.
Okay, platitudes, I love my wife and my son.


Press n or j to go to the next uncovered block, b, p or k for the previous block.
| File | Statements | Branches | Functions | Lines | |||||
|---|---|---|---|---|---|---|---|---|---|
| src | 83.33% | 5/6 | 100% | 0/0 | 0% | 0/1 | 83.33% | 5/6 | |
| src/app/api | 43.75% | 7/16 | 100% | 0/0 | 42.86% | 3/7 | 43.75% | 7/16 | |
| src/app/api/products | 27.78% | 5/18 | 0% | 0/4 | 16.67% | 2/12 | 27.78% | 5/18 | |
| src/app/components/alert | 85.71% | 6/7 | 100% | 0/0 | 66.67% | 2/3 | 85.71% | 6/7 | |
| src/app/pages/home | 15.15% | 10/66 | 0% | 0/9 | 13.33% | 4/30 | 15.15% | 10/66 | |
| src/app/pages/home/components/form | 85.71% | 6/7 | 100% | 0/0 | 66.67% | 2/3 | 85.71% | 6/7 | |
| src/app/pages/home/components/modal-confirmation | 60% | 9/15 | 100% | 0/0 | 42.86% | 3/7 | 60% | 9/15 | |
| src/app/pages/home/components/modal-form | 39.29% | 11/28 | 0% | 0/4 | 33.33% | 4/12 | 39.29% | 11/28 | |
| src/app/pages/home/components/pagination | 85.71% | 6/7 | 100% | 0/0 | 66.67% | 2/3 | 85.71% | 6/7 | |
| src/app/pages/home/components/table | 85.71% | 6/7 | 100% | 0/0 | 66.67% | 2/3 | 85.71% | 6/7 | |
| src/app/shared | 33.33% | 6/18 | 0% | 0/6 | 28.57% | 2/7 | 33.33% | 6/18 |


When you work with us,you are part of a team of commited collaborators.All aspects of our software development process are intergrated,interactive and agile.
Our approach unfiles design, development and product management to create exceptional products
We start each project by understanding your business goals,the user needs and the products requirements.Then we help translate into effective and elegant solutions.
Before we write a contract or write a line of code our team will spend the necessary time needed to understand your product vision.
The outcome of this scoping session is a proposal or high-level statement of work.
Based on your requirements we can provide a complete offering or just the pieces you need.
Our design practice offers a full range of services including brand strategy, interaction and
visual design and user experience testing.
Throughout your project, our designers
create and
implement visual design and workflows, solicit user feedback and work with you to make sure
what
gets built is what is needed.
All engineers are fluent in the latest enterprise, mobile and web development
technologies.
They collaborate with your team to write, and improve code on a daily basis, using proven
practices such as test-driven development and pair programming.
Planning and development is iterative. Because we are constantly coding and testing, the
products we build are always ready to go live.
This iterative process allows for changes as
business requirements evolve.
Games
Mighty Security
Golden
Animations
Elena
Form
Logo
Restaurant


Kim Kardashian unveils second Halloween outfit and transforms into Flinstones with Kanye and kids
The Keeping Up With The Kardashiasns star has gone all out again this year
by Lucy Needham, https://www.facebook.com/dailymirror/Kim Kardashian has treated us to not one but two Halloween looks this year, proving she does not do spooky festivities by halves.
After wowing fans with her Legally Blonde homage - that included a full recreation of the Harvard Law School video from the movie - Kim has returned to social media a day later with her second stab at fancy dress.
This time Kim, 39, had her whole family transform into The Flinstones.
Kim shared snaps on insta of her rocking the iconic blue mini dress and cropped black wig made famous in the cartoon by Betty Rubble.
The reality star also roped in her four children and even husband Kanye West to help complete the look.
Her eldest daughter North donned a white dress, red wig and rock necklace to become Betty's pal and neighbour Wilma Flinstone.
While Kim's youngest daughter Chicago also got into the Halloween spirit as she dressed as the Flinstones' baby Pebbles.
If that wasn't enough, Kim shared even more snaps that revealed her son Saint dressed as lead character Fred Flinstone while baby Psalm was a very adorable Bamm Bamm Rubble.
And there were no prizes for guessing who Dino the dinosaur was.
Step forward, Kanye West who was hiding inside an incredible giant purple bodysuit.
But there was one person who wasn't too impressed with Kanye's outfit.
Kim revealed her daughter Chicago had to be Photoshopped onto the family picture because she was too frightened to stand beside her dinosaur daddy.
Kim explained: "This family pic was such a challenge because Chicago was so scared of Dino! LOL We tried to explain and show her that it was just daddy but she didn’t get the concept yet!
"So shout out to the photographer for editing her in & making our family Flinstones dreams come true!"
Yabba Dabba Doo!


The intended result for this test case is show a youtube video correctly in the overlay.
YouTube Video
Vimeo Video
MySpace Video


Collection
Documents for software suppliers and anyone else interested in past school-level annual school census (SLASC) collections.
If you are looking for documents for the current school-level annual school census ( SLASC ), visit our guide to submitting data for SLASC .
The documents on this page relate to recently closed SLASC collections, including:
You can find documents related to earlier SLASC collections on the National Archives website . Note: the search function is not available on archived content so please use the filters on the left of each page.
Published: 25 November 2013
Updated: 11 August 2016
From: Department for Education


BEAUTY AND THE BEAST
FANTASY / ROMANCE.
An arrogant nobleman is turned into a beast and, in order to break the spell, he tries to win the love of a village girl.
BEAUTY AND THE BEAST
FANTASY / ROMANCE.
An arrogant nobleman is turned into a beast and, in order to break the spell, he tries to win the love of a village girl.
THE DARK TOWER
ADVENTURE/FANTASY
The Gunslinger, Roland Deschain, roams an Old West-like landscape where "the world has moved on" in pursuit of the man in black. Also searching for the fabled
WOLF WARRIOR 2
ACTION
Mr Leng Feng was experience the lowest point of his life in the vast oceon near Africa. Depresses and upset, he thought he would rather drift for the whole life.
LIFE
SCIENCE FICTION / HORROR
Life tells the story of the six-member crew of the International Space Station that is on the cutting edge of one of the most important discoveries in human history.
SPIDER-MAN HOME RETURN
FANTASY / SCI-FI
Peter Parker, with the help of his mentor Tony Stark, tries to balance his life as an ordinary high school student in New York City while fighting crime as his superhero alter ego Spider-Man when a new threat emerges.
TRANFORMERS THE LAST KNIGHT
SCI-FI / HORROR
Autobots and Decepticons are at war, with humans on the sidelines. Optimus Prime is gone. The key to saving our future lies buried in the secrets of the past, in the hidden history of Transformers on Earth.
RESIDENTEVIL THE FINAL CAPTER
SCI-FI / HORROR
Alice returns to where the nightmare began: The Hive in Raccoon City, where the Umbrella Corporation is gathering its forces for a final strike against the only remaining survivors of the apocalypse.


Pranayama consists in developing awareness of one’s breathing followed by willful regulation of respiration as the functional or vital basis of one’s existence. ,
Pranayama consists in developing awareness of one’s breathing followed by willful regulation of respiration as the functional or vital basis of one’s existence. ,
Pranayama consists in developing awareness of one’s breathing followed by willful regulation of respiration as the functional or vital basis of one’s existence. ,
Pranayama consists in developing awareness of one’s breathing followed by willful regulation of respiration as the functional or vital basis of one’s existence. ,
Pranayama consists in developing awareness of one’s breathing followed by willful regulation of respiration as the functional or vital basis of one’s existence. ,


Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, that's what you see at a toy store. And you must think you're in a toy store, because you're here shopping for an infant named Jeb.
Your bones don't break, mine do. That's clear. Your cells react to bacteria and viruses differently than mine. You don't get sick, I do. That's also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We're on the same curve, just on opposite ends.
Please select the product you have the most interest in by clicking one of the three images
Thank you for completing our survey. If you would like to continue selecting between products for ten more clicks, press the "CONTINUE" button. If you would like to view the results, press the "SEE RESULTS" button.


My solution is not as succinct, but keeps the separation of concerns clearer and lets the function names reflect the functionality.
This was fun! Challenging to represent the final degrees subsisting of the component time units in a readible way.
Continuing to learn programmatic JS controlled style, which despite IMO being more prone than css to becoming unmanageable, is undeniably handy. Fan of the `
Fun times concreting recent attempts to take initial steps towards writing "functionally", `reduce` is still quite foregin and really seems to require the spread operator to be even remotely useful and not become as verbose as a for loop. Realised I have a lot to learn about XRH and CORS when attempting to `fetch` data from wikipedia.
This is my jam! The JS was very basic class togglers (with the newly learnt `transitionend` event). But it's high impact thanks to Flexbox, thoughtful and queued transitions, and my new favourite API... source.unsplash.com. This isn't very useful but it's beautiful.
Pretty neat demo project. This answered some of my questions about the fetch API that I attempted to add to (Day 4 - Array Cardio 1)[https://tristanmarsh.github.io/JavaScript-30-challenge/4-array-cardio-1/; need to interpret the blob objects stream according to it's file type. I attempted to structure the functionality with a clearer seperation of concerns and to optimise for readability/maintenance/extensibility. I wrote functions instead of using copy pasted regex, and added localStorage caching of the cities data API.
Super quick demo to express helpful predicates with array methods `some`, and `every`. Also was not aware of the handy lambda based `findIndex` method.
Cool demo to learn a little about the canvas object. 👨🎨 I can't imagine myself investing the time required to get into the docs and become proficient anytime too soon as the pragmatic applications seem limited. Would certainly learn a library if future projects required such functionality.
Learnt of the `assert`, `dir`, `dirxml`, `group`, `count`, `clear` console methods and their variations. Not likely to start using much of them anytime too soon as I'm in the habit of stipping out console output before comitting or deploying to production.
Watched the first 2 minutes of the video to get the idea and went and implemented. Not perfect but will finish video later tonight. Realised you can of course use querySelector on any DOM node, not just the document.
Similar event handling and internal state management to the [Day 8 - HTML5 Canvas](https://tristanmarsh.github.io/JavaScript-30-challenge/8-html5-canvas/) demo. Interesting learning the method and properties of a video object. 👍
So pretty
Nothing new here for me. I'm familiar with implementing this with [ScrollMagic](https://github.com/janpaepke/ScrollMagic) and know how error prone this kind of effect can be. Definitely use a library.
Learnt about the less recommended technique of cloning an array with the Array.slice() method. First time ever using the `Array.from()` (presumably iterable) method. Learnt that the object spread method I've being using in JSX is now standardised in JavaScript.
GOOD TIMES! 🌮 Nothing new, got to use the
Good opportunity to learn about the quirks of tracking mouse location over the client vs relative to the triggered element. Added some transform 3D effects which were fun, but there's nothing pretty about the math involved.
Once again I opted for a non regex, slightly longer solution using map, reduce and sort. Fairly straight forward solution and nothing new in regards to this 30 day challenge, but still a good exercise of bringing a few concepts together.
Reduce is nice. Time is okay. This was acceptable.
That was intense. Must be highly inefficient way to process massive amounts of data - as in raw pixels. I suppose is why GPU's need to run in parallel. Super handy learning how to request access to the webcam, being able to generate photos in the browser and have a user download them.
VERY COOL! 👏 Could be fun for some experiments, or browser games, but speech recognition is always flaky, so I can't see this in any serious projects anytime soon. Also privacy concerns are a thing.
Nice, handy to know it's so simple to request location data and have updates triggered on the device. Added a lat/long and Google maps link for testing.
Neat little demo of how to create a morphing menu or object, shows how simple it can be at it's most basic implementation. Learnt about the `getBoundingClientRect` function.
Handy to know, the only way I've seen this used is for April Fools pranks, but of course the application for accessibility is a potential. Still not sure about the benefits or overall user experience in adding speech to a website or app...
Common effect, so often broken - especially on mobile devices with dynamic window heights. Vanilla implementation is much nicer than something like ScrollMagic for basic use cases that don't require serious animation tweening.
Nice to learn of the config object with `capture` and `once` props underneath the jQuery equivalents.
Nice effect and revisiting of the `transitionend` event to queue up class and transitions toggles. Would want to make it much more robust and prevent content from overflowing the container. But this was specifically designed to work with uncontrolled html perhaps being generated by a CMS.
woo
woo
Good point about the unreliability of the `setInterval` or `setTimeout` methods, storing timestamps and doing comparisons when allowed to is a nice solution. Also the document.`{form name value}`.`{input name value}` is a nice shortcut to using querySelectors.
woo


|
Panda3D
|
A MovieAudio is actually any source that provides a sequence of audio samples. More...
Public Member Functions | |
| __init__ (const MovieAudioCursor) | |
| __init__ (MovieAudio src) | |
| This constructor returns a null audio stream — a stream of total silence, at 8000 samples per second. More... | |
| bool | aborted () |
| If aborted is true, it means that the "ready" samples are not being replenished. More... | |
| int | audioChannels () |
| Returns the number of audio channels (ie, two for stereo, one for mono). More... | |
| int | audioRate () |
| Returns the audio sample rate. More... | |
| bool | canSeek () |
| Returns true if the movie can seek. More... | |
| bool | canSeekFast () |
| Returns true if seek operations are constant time. More... | |
| MovieAudio | getSource () |
| Returns the MovieAudio which this cursor references. More... | |
| double | length () |
| Returns the length of the movie. More... | |
| str | readSamples (int n) |
| Read audio samples from the stream and returns them as a string. More... | |
| readSamples (int n, Datagram dg) | |
| Read audio samples from the stream into a Datagram. More... | |
| int | ready () |
| Returns the number of audio samples that are ready to read. More... | |
| seek (double offset) | |
| Skips to the specified offset within the file. More... | |
| skipSamples (int n) | |
| Skip audio samples from the stream. More... | |
| double | tell () |
| Returns the current offset within the file. More... | |
| Public Member Functions inherited from TypedWritable | |
| object | __reduce__ () |
| object | __reduce_persist__ (object pickler) |
| VectorUchar | encodeToBamStream () |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and returns that data as a bytes object. More... | |
| bool | encodeToBamStream (VectorUchar data, BamWriter writer) |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and stores that data in the indicated string. More... | |
| fillin (DatagramIterator scan, BamReader manager) | |
| This internal function is intended to be called by each class's make_from_bam() method to read in all of the relevant data from the BamFile for the new object. More... | |
| UpdateSeq | getBamModified () |
| Returns the current bam_modified counter. More... | |
| markBamModified () | |
| Increments the bam_modified counter, so that this object will be invalidated and retransmitted on any open bam streams. More... | |
| Public Member Functions inherited from TypedObject | |
| TypeHandle | getType () |
| int | getTypeIndex () |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More... | |
| bool | isExactType (TypeHandle handle) |
| Returns true if the current object is the indicated type exactly. More... | |
| bool | isOfType (TypeHandle handle) |
| Returns true if the current object is or derives from the indicated type. More... | |
| Public Member Functions inherited from ReferenceCount | |
| int | getRefCount () |
| Returns the current reference count. More... | |
| ref () | |
| Explicitly increments the reference count. More... | |
| bool | testRefCountIntegrity () |
| Does some easy checks to make sure that the reference count isn't completely bogus. More... | |
| bool | testRefCountNonzero () |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More... | |
| bool | unref () |
| Explicitly decrements the reference count. More... | |
Static Public Member Functions | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from TypedWritableReferenceCount | |
| static TypedWritableReferenceCount | decodeFromBamStream (VectorUchar data, BamReader reader) |
| Reads the bytes created by a previous call to encode_to_bam_stream(), and extracts and returns the single object on those bytes. More... | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from TypedWritable | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from TypedObject | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from ReferenceCount | |
| static TypeHandle | getClassType () |
Additional Inherited Members | |
| Public Attributes inherited from TypedObject | |
| TypeHandle | type |
| Returns the TypeHandle representing this object's type. More... | |
| Public Attributes inherited from ReferenceCount | |
| int | ref_count |
| The current reference count. More... | |
A MovieAudio is actually any source that provides a sequence of audio samples.
That could include an AVI file, a microphone, or an internet TV station. A MovieAudioCursor is a handle that lets you read data sequentially from a MovieAudio.
Thread safety: each individual MovieAudioCursor must be owned and accessed by a single thread. It is OK for two different threads to open the same file at the same time, as long as they use separate MovieAudioCursor objects.
| __init__ | ( | const | MovieAudioCursor | ) |
| __init__ | ( | MovieAudio | src | ) |
This constructor returns a null audio stream — a stream of total silence, at 8000 samples per second.
To get more interesting audio, you need to construct a subclass of this class.
| bool aborted | ( | ) |
If aborted is true, it means that the "ready" samples are not being replenished.
See the method "ready" for an explanation.
| int audioChannels | ( | ) |
Returns the number of audio channels (ie, two for stereo, one for mono).
| int audioRate | ( | ) |
Returns the audio sample rate.
| bool canSeek | ( | ) |
Returns true if the movie can seek.
If this is true, seeking is still not guaranteed to be fast: for some movies, seeking is implemented by rewinding to the beginning and then fast-forwarding to the desired location. Even if the movie cannot seek, the seek method can still advance to an arbitrary location by reading samples and discarding them. However, to move backward, can_seek must return true.
| bool canSeekFast | ( | ) |
Returns true if seek operations are constant time.
|
static |
| MovieAudio getSource | ( | ) |
Returns the MovieAudio which this cursor references.
| double length | ( | ) |
Returns the length of the movie.
Attempting to read audio samples beyond the specified length will produce silent samples.
Some kinds of Movie, such as internet TV station, might not have a predictable length. In that case, the length will be set to a very large number: 1.0E10.
Some AVI files have incorrect length values encoded into them - they may be a second or two long or short. When playing such an AVI using the Movie class, you may see a slightly truncated video, or a slightly elongated video (padded with black frames). There are utilities out there to fix the length values in AVI files.
An audio consumer needs to check the length, the ready status, and the aborted flag.
| str readSamples | ( | int | n | ) |
Read audio samples from the stream and returns them as a string.
The samples are stored little-endian in the string. N is the number of samples you wish to read. Multiple-channel audio will be interleaved.
This is not particularly efficient, but it may be a convenient way to manipulate samples in python.
| readSamples | ( | int | n, |
| Datagram | dg | ||
| ) |
Read audio samples from the stream into a Datagram.
N is the number of samples you wish to read. Multiple-channel audio will be interleaved.
This is not particularly efficient, but it may be a convenient way to manipulate samples in python.
| int ready | ( | ) |
Returns the number of audio samples that are ready to read.
This is primarily relevant for sources like microphones which produce samples at a fixed rate. If you try to read more samples than are ready, the result will be silent samples.
Some audio streams do not have a limit on how fast they can produce samples. Such streams will always return 0x40000000 as the ready-count. This may well exceed the length of the audio stream. You therefore need to check length separately.
If the aborted flag is set, that means the ready count is no longer being replenished. For example, a MovieAudioCursor might be reading from an internet radio station, and it might buffer data to avoid underruns. If it loses connection to the radio station, it will set the aborted flag to indicate that the buffer is no longer being replenished. But it is still ok to read the samples that are in the buffer, at least until they run out. Once those are gone, there will be no more.
An audio consumer needs to check the length, the ready status, and the aborted flag.
| seek | ( | double | offset | ) |
Skips to the specified offset within the file.
If the movie reports that it cannot seek, then this method can still advance by reading samples and discarding them. However, to move backward, can_seek must be true.
If the movie reports that it can_seek, it doesn't mean that it can do so quickly. It may have to rewind the movie and then fast forward to the desired location. Only if can_seek_fast returns true can seek operations be done in constant time.
Seeking may not be precise, because AVI files often have inaccurate indices. After seeking, tell will indicate that the cursor is at the target location. However, in truth, the data you read may come from a slightly offset location.
| skipSamples | ( | int | n | ) |
Skip audio samples from the stream.
This is mostly for debugging purposes.
| double tell | ( | ) |
Returns the current offset within the file.


Dynamic Link Library
Contain reusable routines
Expose functions (symbols) via exports table
Loaded within the context of an existing process
Linking methods:
Implicit (static)
Explicit (dynamic)


The goal of this project was to:
Design Bright is my personal brand and persona. Participating in my first craft fair was the catalyst to this design. I needed something to make my booth stand out and attract customers. My products consisted of colorful greeting cards and decorative watercolor and acrylic wall prints. I began researching everything I could about branding and started documenting my ideas. This allowed me to discover a lot about myself and how I wanted to introduce my talents and artistic personality to the world. My journey to creating the brand has been incredibly enlightening and has energized my soul.
I wanted my brand logo to reflect my love for bright colors and hand lettering. The personality needed to be fun, bold, and simple. The typography for Design Bright is a hand lettering font. I created several different prototypes using different design tools such as pen and paper, Canva, iPad, and Wacom Tablet. I shared my ideas and designs with friends and family and gathered feedback on the design's strengths and improvement opportunities.
The colors for Design Bright needed to reflect my personality -colorful, vibrant, and bold. When people ask me what my favorite color is, my response is always the same: I love all of them, especially glitter. I wanted to incorporate pinks, golds, blues, yellows, and blacks. I customized color pallettes using Adobe Color to find RGB and HEX codes.I wanted the Design Bright patterns to reflect something you would find at a fashion boutique or funky art gallery. They needed to be abstract and colorful. I was inspired by textures such as acrylic paint and gold patterns.
The final step in my branding design process was to compile all of my research, designs, and inspiration in order to communicate my vision is a clear, simple manner. Once I narrowed down the logos, color palettes, fonts, and pattern designs, I created brand boards to showcase the big picture. I used Canva to create my brand boards


Our Rooms
The 30 Sqm Superior Room gives just the right amount of serenity for a relaxing stay
The intimate setting adds to the dazzling night view of the city, the 32 sqm deluxe room size would be creating the perfect hideaway after a busy day.
Executive Rooms offer panoramic of a city or mountain view, a comfort and full array of amenities that make your stay productive and relax


BOMBAY A film review by James Berardinelli Copyright 1996 James Berardinelli
RATING (0 TO 10): 8.5 Alternative Scale: ***1/2 out of ****
India, 1995 Running Length: 2:10 MPAA Classification: No MPAA Rating (Violence, mature themes) Theatrical Aspect Ratio: 1.85:1 Shown at the Philadelphia Festival of World Cinema, 5/4/96, 5/7/96, 5/12/96
Cast: Arvind Swamy, Manisha Koirala, Nasir, Tinu Anand, Aakesh Khurana Director: Mani Rathnam Producer: S. Sriram Screenplay: Mani Rathnam Cinematography: Rajiv Menon Music: A. R. Rehman In Tamil with subtitles
It's a fairly well-known fact that the Indian film industry is the most active in the world, producing more movies each year than any other (including Hollywood). Few of those films, however, reach screens beyond their domestic market. Largely because of their limited North American appeal and dubious quality, Indian movies are routinely ignored by distributors. There are exceptions, of course -- the work of Satyajit Ray and last year's BANDIT QUEEN, for example. Occasionally, however, a worthwhile picture causes enough people to take notice that it becomes a favorite on the international film festival circuit. One such movie is BOMBAY, the fourteenth feature from celebrated director Mani Rathnam.
In many ways, BOMBAY is deceptive, but the manner in which it deceives the audience adds to its eventual impact. For the first hour, it's a relatively-lighthearted romantic musical. Arvind Swamy plays Shekhar, a Hindi journalism student who hails from a high-caste family. Manisha Koirala is Shahla Bano, a beautiful young Muslim woman. Because of the extreme religious prejudice existing between the Hindu majority and the Muslim minority, Shekhar's father absolutely forbids a marriage. Shahla Bano's father goes one step further, arranging an "emergency" marriage for his daughter to another Muslim. But Shekhar and Bano's love will not be denied. They elope to Bombay, where, estranged from both of their families, they start a new life.
Three lavish musical numbers highlight BOMBAY's first half, as Shekhar and Bano sing about their love for each other and their happiness at having children. These songs, penned by A.R. Rehman, set the film's initial tone, which is one of soaring joy and passion. And, while the music isn't exactly of the toe-tapping variety, it's stronger and more memorable than most songs in American movies over the past year or two.
Just when you're starting to feel comfortable with BOMBAY, everything changes -- and the unexpected shift in tone hits like a punch to the gut. Gone is the fun and frivolity, as death and violence suddenly fill up the screen. Now we understand the full extent of Rothnam's purpose in the first half -- he was setting us up to like these characters so that when tragedy strikes, we can feel the pain and hopelessness of their situation. It's melodramatic and manipulative, to be sure, but it works.
On December 6, 1992, Hindus destroyed a mosque in the northern Indian city of Ayodha. This led to a wave of Hindu/Muslim riots in Bombay that left thousands dead. BOMBAY's second half takes place during this time period. Shekhar and Bano have been living in the city for six years. They have twin boys and are beginning to repair relations with their parents when the riots begin. Suddenly, their world is turned upside down. While the religious division in their family puts both Shekhar and Bano at risk from extremists on both sides, their children, who don't have a fixed faith, are in constant danger. At one point, radical Hindus douse the boys in gasoline and prepare to set them on fire.
Cinematographer Rajiv Menon captures the chaos of the riots. Cameras move relentlessly through mobs of men hacking at each other with machetes, lobbing bombs at houses, and trampling helpless children underfoot. It's grim and terrifying, and, at times, difficult to watch. The second half of BOMBAY is as dark and harrowing as the first half is light and gay.
BOMBAY is a gripping indictment of racial hatred. The emotions that fueled the Bombay riots are the same ones that ripped apart the former Yugoslavia (the film VUKOVAR uses a similar ROMEO AND JULIET story to even better effect for the Serb/Croatian war). The reasons given by both Hindus and Muslims for fighting sound suspiciously like those used by Hitler when justifying his Final Solution. Shekhar's cry that "we are all Indians first of all!" isn't heeded. The only response is echoed many times over: "The divide will never heal."
BOMBAY ends on a hopeful note, but not before etching a series of wrenching images in the minds of viewers. Director Rathnam has shown great courage in making this picture (bombs were thrown at his house after it opened in India), which speaks with a voice that many will not wish to hear. BOMBAY recalls how forceful a motion picture can be. It also reminds us of the maxim that those who don't learn from history are doomed to repeat it. Hopefully, some day, humankind will understand the lesson that Rathnam is teaching here.
- James Berardinelli e-mail<EMAIL_ADDRESS>web: http://www.cybernex.net/~berardin
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


{{ section.content }}
Unfortunately, we can't offer support for Wunder carpool app here. Please go to our dedicated help area at help.wunder.org.
Your message has been sent. We'll be in touch!
Press Contact
E-mail: daniel.hoelzer@wundermobility.com


{% extends "main/base_template.html" %} {% block title %}Roo.me - Contacts{% endblock %} {% block content %}
{{connection.seeker.about}}
You can approve or decline this connection
This connection is in progress


Improve your grades
Assistance on online classes
Work at your own pace
Help with any assignments
Wisers AI Lab is dedicated to the research and development of innovative AI technologies for analysing diversified real-word open-domain big data, to create and power intelligent enterprise solutions.
Earned his bachelor degree in Accounting at the University of Texas at Dallas. After graduation he began working full time at a major hotel resort as one of their analyst. While not busy managing the books, he spends his time mentoring students and playing guitar hero.
Graduated top of his class with a bachelor degree in finance at the University of Texas at Dallas. A whiz when it comes to math and fiance, Shane has offered his talents tutoring young students for local companies and independently.


{% extends 'xsd_trips/base.html' %} {% load markdown %} {% load widget_tweaks %} {% block trips_content %}
Styling with Markdown is supported.


On the path to outlaw privacy anything
Monero? Dead, and remains are traceable
Pirate? Only for pirates. Trace it? lol gfy
2
Just convert everything to pirate
“Where’d this come from?”


{{betObj.name1}} V.S. {{betObj.name2}} {{betObj.title}}Bet Amount: {{betObj.betAmount}} Expected End Date: {{betObj.expectedEndDate}} Bet Conditions:
{{cond.name}} bets on {{cond.bet}}Confirmed On:
{{confirm.confirmed}} by {{confirm.name}}
Bet State:
Congragulations {{betObj.winner}}! {{betObj.winner}} has won the {{betObj.title}} bet against: {{betObj.loser}} {{betObj.winner}} has won {{betObj.betAmount}}
Paid On:
{{paid.date}} by {{paid.name}}
Bet State: