spring.spring-selenium-analytics.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:ctx="http://www.springframework.org/schema/context" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> <bean id="helper" class="org.jspringbot.keyword.selenium.SeleniumHelper"> <constructor-arg ref="webdriver"/> <property name="jqueryLink" value="${selenium.jquery.link:https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js}"/> <property name="screenCaptureDir" value="${selenium.screenshot.folder}"/> <property name="autoZoomIn" value="${selenium.browser.auto.zoom.in:0}"/> <property name="autoZoomOut" value="${selenium.browser.auto.zoom.out:0}"/> <property name="implicitWaitInSeconds" value="${selenium.implicit.wait:30}"/> </bean> <bean id="debugger" class="org.jspringbot.keyword.selenium.OmnitureDebugger"> <property name="autoZoomIn" value="${selenium.browser.auto.zoom.in:0}"/> <property name="autoZoomOut" value="${selenium.browser.auto.zoom.out:0}"/> <property name="implicitWaitInSeconds" value="${selenium.implicit.wait:30}"/> </bean> <bean class="org.jspringbot.keyword.selenium.OmnitureDebuggerBean"> <constructor-arg ref="debugger"/> <property name="omnitureDebuggerLocation" value="${omniture.debugger.location:http://sitecatalyst.omniture.com/sc_tools/stats_debugger.html}"/> <property name="omnitureDebuggerWaitTimeInMillis" value="${omniture.debugger.wait.time.in.millis:3000}"/> <property name="omnitureDebuggerPreviousPageClickEventWaitTimeInMillis" value="${omniture.debugger.previous.page.click.event.wait.time.in.millis:800}"/> </bean> <!-- Scan components --> <ctx:component-scan base-package="org.jspringbot.keyword.selenium.analytics"/> <ctx:annotation-config/> </beans>