Sahi Pro Cheat-Sheet · Screenshot APIs...
Transcript of Sahi Pro Cheat-Sheet · Screenshot APIs...
Screenshot APIs_takeScreenShot/takeScreenShots/takePageScreen-Shot/assertSnapShot/compareImages_sahi.SKIP_SCREENSHOTS/sahi.SKIP_ASSERT_SNAP-SHOTS
Include APIs_include/includeOnce/resource
Browser Detection APIs_userAgent/getScreen-Size/isIE/isIE9/isIE10/isEdge/isFF/isSafari
Generic Attribute Fetching Mechanism_fetch/set/condition/collect/count/collectAttri-butes/collectElementsInfo
Logging APIs_log/logException/logExceptionAsFailure_logImage/logOutput/artifact
Debug Helper APIs_debug/debugToErr/debugToFile/pause/alert_con�rm/prompt/highlight
Database APIs_getDB/SahiDB.select/SahiDB.selectWithHeader/Sa-hiDB.update
Script Synchronization_lock/unlock/lockWindow/unlockWindow
Callback Functions_onScriptFailure/onScriptError/onScriptEnd
Fetch APIs_getValue/getText/getOptions/getCellText/getSe-lectedText/getAttribute_exists/areEqual/isVisible/containsText/containsHT-ML/contains/title_getTableContents/style/position/positionNa-tive/getSelectionText
Script Execution Control APIs_wait/setXHRReadyStatesToWaitFor_byPassWaitMechanism/setStrictVisibilityCheck_setSpeed/stopOnError/continueonError_runUnitTests/fail/stop/stopTestCase
Script/Suite Info APIs_scriptName/scriptPath/scriptStartTime/scriptStatus_userDataDir/userDataPath/resolvePath/sessionInfo_suiteInfo/addToSuiteInfo/testcasesInfo/isData-Passed
File APIs_readFile/writeFile/deleteFile_�leExists/renameFile/copyFile_readCSVFile/writeCSVFile_readExcelFile/getExcel
Masking Logs_maskLogs/unmaskLogs_disableInfoLogging/enableInfoLogging_disableDefaultErrorLogging/enableDefaultError-Logging
Assertion APIs_assert/assertNotTrue/assertFalse/assertNull/assert-NotNull/assertExists/_assertVisible/assertNotVisible/assertNotExists/as-sertEqual/assertNotEqual/_assertContainsText/assertNotContainsText
Mouse APIs_xy/click/doubleClick/rightClick_mouseDown/mouseUp/mouseOver_check/uncheck/setSelected/dragDrop/dragDropXY
Touch Events_tap/touch/swipe_touchStart/touchEnd/touchCancel/touchMove
File Upload and Download_setFile/setFile2/_lastDownloadedFileName/saveDownloadedAs/-clearLastDownloadedFileName_sendHTMLResponseAfterFileDownload/addToSes-sion
Window Open/Close APIs_closeWindow/closeBrowser/openBrowser_call/eval
Keyboard Events_setValue/keyDown/keyUp/keyPress/type
Focus Events_focus/removeFocus/blur
Text Selection_selectRange/selectTextRange
Page Navigation_navigateTo/wait
Native Elements_typeNative/typeKeyCodeNative/focusWindow/win-dowAction_clickNative/rightClickNative/doubleClickNative/-clickNativeXY_mouseOverNative/dragDropNative/dragDropNa-tiveXY
Form Input Elements_password/textbox/hidden/textarea_datebox/datetimebox/datetimelocalbox/timebox_emailbox/monthbox/numberbox/rangebox_searchbox/telephonebox/urlbox/weekbox
Button Like Elements_button/checkbox/radio/_submit/reset/imageSubmitButton
Dropdowns_select/option
File Uploads_�le
Table Elements_table/row/cell_tableHeader
Relation APIs_near/in/startLookInside/stopLookInside_rightOf/leftOf/leftOfOrRightOf/under/above/abo-veOrUnder_parentNode/parentCell/parentRow/parentTable
Other HTML Tags_link/image/label_listItem/list/div/span_�eldset/heading1/2/3/4/5/6_area/map/paragraph/italic/empha-sis/bold/strong/preformatted_code/blockquote/canvas/abbr/hr/iframe/frame/ob-ject_embed/dList/dTerm/dDesc/font_svg_rect/tspan/circle/ellipse/line/polygon/polyline_svg_path/text/
Sahi Pro Cheat-Sheet
Email: [email protected]
/sahi.software
@sahipro