Review Selenium Commands and Results in AIQ
The
Review AlternativeSelenium To HP QuickTest Professional(tm) (QTP)
Many testers, developers,Commands and IT managers ask Appvance to compare HP QuickTest Professional (QTP) to AIQ with Selenium IDE. Appvance provides app performance test automation solutions for organizations needing to improve the reliability and reduce service interruptions in their Web applications, Rich Internet Applications (RIA, using Ajax, Flex, Flash,) Web services and Business Process Management services. Appvance is the app performance expert for dozens of tools. This comparison document helps organizations look for an inexpensive solution that works with their latest applications. Here is a high-level summary:
Category
HP QTP 10
Appvance Enterprise 7.0.1 with Selenium 1.0
Technical experience required to be successful
Web 1.0 Record/Playback
Rich Internet Application (RIA, Using Ajax) Support
Drill down to root cause of functional issues/crashes
Record Tests
MS IE 9,10
Firefox 3.6 or later
Playback Tests
MS IE 9,10
MS IE 9,10 Firefox 3.6 or later, Safari, Chrome
Data-driven Testing
Reusable Test Components
Agile software development lifecycle (SDLC) support
Add-ons available
Language Support
VBScript
Selenese, Java, Ruby, Perl, PHP, Python, C#, Groovy
Functional Testing, Load Testing, Service Monitoring from one test script
Run tests in the Cloud, in your QA lab, or both
Selenium Command Language Reference (Selenese)
Selenium implements a domain-specific language (DSL) named Selenese.
Appvance implements the SeleniumHtmlUnit object libraryResults in AIQ
Use Selenium command and result details when troubleshooting imported or integrated Selenium executions. This content is legacy-adjacent and should support maintenance of existing Selenium assets, while new functional automation should prefer current Scenario Editor guidance where appropriate.
What to operatereview
- Command
commandsnames,intargetHtmlUnitResults Analysislocators, andReportsvaluesforusedRootduringCauseexecution. - Failure
Analysis and MitigationAIQ records the time it takes to operate each step in a Selenium testmessages and theoverallfirsttimecommand that produced a meaningful error. - Screenshots, logs, or output attached to
processthetestexecution. - Differences
usebetweencase (transaction.) AQI's Results Analysis Engine summarizes the transaction logs into a set of charts and reports.Read Appvance Results AnalysisScalinglocal SeleniumTests in the Grid and CloudAIQ is a distributed test environment. AIQ runs Selenium tests on a Grid of your test equipment, in a Cloud Computing environment, or both. Read The Test Deployment GuideContinuous Integration and SeleniumAIQ is an ideal environment for automating Selenium test operations from a Continuous Integration environment. The CI platform starts a TestScenario testbehavior and AIQautomaticallyexecutionprovisionsbehavior.
Maintenance deploysnotes
- Update
tobrittlethelocatorsavailablebeforeTestNodesrerunninginunderyour own Gridload or in aCloudsuite. - Replace
Testingfixedenvironment.ReadsleepsThewithTestwaitsDeploymentthatGuideSelenium Command ReferenceThe following table summarizesprove thelist of implemented and unimplemented Selenese commands in SeleniumHtmlUnit.CommandWait CommandTargetValueSelenium ControlsetTimeoutmillisecondssetMouseSpeednumber of pixelssetMouseSpeedAndWaitsetSpeedmillisecondssetSpeedAndWaitaddLocationStrategystrategyNamefunctionDefaddLocationStrategyandWaitallowNativeXpathbooleanallowNativeXpathAndWaitignoreAttributesWithoutValuebooleanignoreAttributesWithoutValueAndWaitassignIdlocatoridentifierassignIdAndWaitcaptureEntirePageScreenShotfilename, kwargscaptureEntirePageScreenShotAndWaitechomessagepausemillisecondsrunScriptjavascriptrunScriptAndWaitwaitForConditionjavascriptmillisecondswaitForPageToLoadmillisecondswaitForPopUpwindowIDmillisecondsfireEventlocatoreventNamefireEventAndWaitBrowser OperationsopenurlopenAndWaitopenWindowurlwindowIDopenWindowAndWaitgoBackgoBackAndWaitrefreshrefreshAndWaitclosedeleteCookienamepathdeleteCookieandWaitdeleteAllVisibleCookiesdeleteAllVisibleCookiesAndWaitsetBrowserLogLevellogLevelsetBrowserLogLevelAndWaitCookie OperationscreateCookienameValuePairoptionStringcreateCookieAndWaitdeleteCookienameoptionStringdeleteCookieAndWaitdeleteAllVisibleCookiesdeleteAllVisibleCookiesAndWaitPopup Box OperationsanswerOnNextPromptansweranswerOnNextPromptAndWaitchooseCancelOnNextConfirmationchooseCancelOnNextConfirmationAndWaitchooseOkOnNextConfirmationchooseOkOnNextConfirmationAndWaitCheckbox & Radio ButtonschecklocatorcheckAndWaitunchecklocatoruncheckAndWaitLists & DropdownsaddSelectionlocatoroptionLocatoraddSelectionAndWaitremoveSelectionremoveSelectionAndWaitlocatoroptionLocatorremoveAllSelectionsremoveAllSelectionsAndWaitlocatorEdit FieldstypelocatorvaluetypeAndWaittypeKeyslocatorvaluetypeKeysAndWaitsetCursorPositionlocatorpositionsetCursorPositionAndWaitKeyboard OperationskeyDownlocatorkeySequencekeyDownAndWaitkeyPresslocatorkeySequencekeyPressAndWaitkeyUplocatorkeySequencekeyUpAndWaitaltKeyDownaltKeyDownAndWaitaltKeyUpaltKeyUpAndWaitcontrolKeyDowncontrolKeyDownAndWaitcontrolKeyUpcontrolKeyUpAndWaitmetaKeyDownmetaKeyDownAndWaitmetaKeyUpmetaKeyUpAndWaitshiftKeyDownshiftKeyDownAndWaitshiftKeyUpshiftKeyUpAndWaitMouse OperationsclicklocatorclickAndWaitclickAtlocatorcoordStringclickAtAndWaitdoubleClicklocatordoubleClickAndWaitdoubleClickAtlocatorcoordStringdoubleClickAtAndWaitcontextMenulocatorcontextMenuAndWaitcontextMenuAtlocatorcoordStringcontextMenuAtAndWaitmouseDownlocatormouseDownAndWaitmouseDownAlocatorcoordStringmouseDownAtAndWaitmouseMovelocatormouseMoveAndWaitmouseMoveAtlocatorcoordStringmouseMoveAtAndWaitmouseOutlocatormouseOutAndWaitmouseOverlocatorcoordStringmouseOverAndWaitmouseUplocatormouseUpAndWaitmouseUpAtlocatorcoordStringmouseUpAtAndWaitdragAndDroplocatormovementStringdragAndDropAndWaitdragAndDropToObjectsourceLocatordestLocatordragAndDropToObjectAndWaitForm OperationssubmitformLocatorsubmitAndWaitWindows/Element SelectionselectlocatoroptionLocatorselect AndWaitselectFramelocatorselectWindowwindowIDfocuslocatorfocusAndWaithighlightlocatorhighlightAndWaitwindowFocuswindowFocus AndWaitwindowMaximizewindowMaximizeAndWaitSelenium AccessorsstoreexpressionvariableNamestoreAlertvariableNameassertAlertpatternassertNotAlertpatternverifyAlertpatternverifyNotAlertpatternwaitForAlertpatternwaitForNotAlertpatternstoreAlertPresentvariableNameassertAlertPresentpatternassertNotAlert PresentpatternverifyAlertPresentpatternverifyNotAlertPresentpatternwaitForAlertPresentpatternwaitForNotAlertPresentpatternstoreAllButtonsvariableNameassertAllButtonspatternassertNotAllButtonspatternverifyAllButtonspatternverifyNotAllButtonspatternwaitForAllButtonspatternwaitForNotAllButtonspatternstoreAllFieldsvariableNameassertAllFieldspatternassertNotAllFieldspatternverifyAllFieldspatternverifyNotAllFieldspatternwaitForAllFieldspatternwaitForNotAllFieldspatternstoreAllLinksvariableNameassertAllLinkspatternassertNotAllLinkspatternverifyAllLinkspatternverifyNotAllLinkspatternwaitForAllLinkspatternwaitForNotAllLinkspatternstoreAllWindowIdsvariableNameassertAllWindowIdspatternassertNotAllWindowIdspatternverifyAllWindowIdspatternverifyNotAllWindowIdspatternwaitForAllWindowIdspatternwaitForNotAllWindowIdspatternstoreAllWindowNamesvariableNameassertAllWindowNamespatternassertNotAllWindowNamespatternverifyAllWindowNamespatternverifyNotAllWindowNamespatternwaitForAllWindowNamespatternwaitForNotAllWindowNamespatternstoreAllWindowTitlesvariableNameassertAllWindowTitlespatternassertNotAllWindowTitlespatternverifyAllWindowTitlespatternverifyNotAllWindowTitlespatternwaitForAllWindowTitlespatternwaitForNotAllWindowTitlespatternstoreAttributeattributeLocatorvariableNameassertAttributeattributeLocatorpatternassertNotAttributeattributeLocatorpatternverifyAttributeattributeLocatorpatternverifyNotAttributeattributeLocatorpatternwaitForAttributeattributeLocatorpatternwaitForNotAttributeattributeLocatorpatternstoreAttributeFromAllWindowsattributeNamevariableNameassertAttributeFromAllWindowsattributeNamepatternassertNotAttributeFromAllWindowsattributeNamepatternverifyAttributeFromAllWindowsattributeNamepatternverifyNotAttributeFromAllWindowsattributeNamepatternwaitForAttributeFromAllWindowsattributeNamepatternwaitForNotAttributeFromAllWindowsattributeNamepatternstoreBodyTextvariableNameassertBodyTextpatternassertNotBodyTextpatternverifyBodyTextpatternverifyNotBodyTextpatternwaitForBodyTextpatternwaitForNotBodyTextpatternstoreCheckedvariableNameassertCheckedpatternassertNotCheckedpatternverifyCheckedpatternverifyNotCheckedpatternwaitForCheckedpatternUnimplemented Selenese CommandsSeleniumHTMLUnitapplication isanready. - Document
AIQ object library that translates Selenese commands on-to-fly and runswhether thecommandsassetusingremainsthemaintainedHTMLUnit headless browser. Some Selenese commands do not make sense in an AIQ context. For example, AIQ provides cookie management commands of its own. The followingor isabeinglistmigratedoftoSeleneseScenariocommands not implemented in SeleniumHTMLUnit. AIQ throws a Not Implemented exception when encountering one of the following commands:Editor.NotImplemented commandsaltKeyDowngetAlertgetTablemouseMoveAtaltKeyUpgetAllButtonsgetWhetherThisFrameMatchFrameExpressionmouseUpAtanswerOnNextPromptgetAllFieldsgetWhetherThisWindowMatchWindowExpressionopenWindowcaptureScreenshotgetAllLinksgetWhetherThisWindowMatchWindowExpressionrefreshchooseCancelOnNextConfirmationgetAllWindowIdsgetXpathCountsetBrowserLogLevelchooseOkOnNextConfirmationgetAllWindowNameshighlightsetContextclickAtgetAllWindowTitlesisAlertPresentsetCursorPositionclosegetAttributeFromAllWindowsisConfirmationPresentsetMouseSpeedcontrolKeyDowngetBodyTextisEditableshiftKeyDowncontrolKeyUpgetConfirmationisOrderedshiftKeyUpcontrolKeyUpgetCookieisPromptPresentstartcreateCookiegetCursorPositionkeyDownsubmitdeleteCookiegetElementHeightkeyPresstypeKeysdoubleClickgetElementIndexkeyUpwaitForFrameToLoaddoubleClickAtgetElementPositionLeftmetaKeyDownwaitForPopUpdragAndDropgetElementPositionTopmetaKeyUpwindowFocusdragAndDropToObjectgetElementWidthmouseDownAtwindowMaximizedragdropgetExpressionmouseMovefireEventgetLocationgetMouseSpeedgetPromptLast updated:
JuneSeptember26,8,20232026If you have any feedback on this topic, please contact us atdocumentation@appvance.ai