Or could you send your simple Google Search example project to my person email john.jian.fang at gmail dot com. I can test it directly.
Thanks, Jian On Mon, Oct 11, 2010 at 11:48 AM, Jian Fang <[email protected]>wrote: > Hi Yves, > > Sorry for the delay. I tried on the trunk/core but couldn't reproduce the > problem. > > I will try to create a total new project to see if I can reproduce the > problem. For the time being, please > switch back to 0.7.0. > > Thanks, > > Jian > > > On Mon, Oct 11, 2010 at 11:12 AM, yca <[email protected]> wrote: > >> Jian, >> >> Did you see if you could reproduce the problem? >> >> Many thanks, >> >> Yves. >> >> On 7 oct, 22:53, Jian Fang <[email protected]> wrote: >> > Ok, I will create a test tonight to see if I can reproduce the problem. >> > >> > Thanks, >> > >> > Jian >> > >> > >> > >> > On Thu, Oct 7, 2010 at 4:32 PM, yca <[email protected]> wrote: >> > > Jian, >> > >> > > I tried on a clean environment with a simple Google Search example and >> > > got the same problem. It works with 0.7.0-RC2 but not with 0.8.0- >> > > SNAPSHOT. >> > >> > > useAbortOnException(false) doesn't help. >> > >> > > Here are my classpath and TelluriumConfig. I don't know if there is >> > > any other change from 0.7.0 to 0.8.0 I would have missed. >> > >> > > Thank you, >> > >> > > Yves. >> > >> > > --- >> > > >> /org.codehaus.gmaven.feature/gmaven-feature-api/jars/gmaven-feature- >> > > api-1.2.jar"/> >> > > /bouncycastle/bcprov-jdk15/jars/bcprov-jdk15-140.jar"/> >> > > >> /org.codehaus.gmaven.runtime/gmaven-runtime-api/jars/gmaven-runtime- >> > > api-1.2.jar"/> >> > > /org.codehaus.gmaven.runtime/gmaven-runtime-1.6/jars/gmaven- >> > > runtime-1.6-1.2.jar"/> >> > > /org.seleniumhq.selenium.server/selenium-server/jars/selenium- >> > > server-1.0.1-te4-SNAPSHOT.jar"/> >> > > >> /org.stringtree/stringtree-json/jars/stringtree-json-2.0.10.jar"/> >> > > /org.slf4j/slf4j-api/jars/slf4j-api-1.5.10.jar"/> >> > > /log4j/log4j/jars/log4j-1.2.13.jar"/> >> > > /caja/json_simple/jars/json_simple-r1.jar"/> >> > > /jline/jline/jars/jline-0.9.94.jar"/> >> > > /org.apache.poi/poi/jars/poi-3.0.1-FINAL.jar"/> >> > > /org.antlr/antlr-runtime/jars/antlr-runtime-3.1.3.jar"/> >> > > >> /org.seleniumhq.selenium.client-drivers/selenium-java-client-driver/ >> > > jars/selenium-java-client-driver-1.0.1.jar"/> >> > > /org.sonatype.gossip/gossip/jars/gossip-1.2.jar"/> >> > > /org.telluriumsource/tellurium-udl/jars/tellurium-udl-0.8.0- >> > > SNAPSHOT.jar"/> >> > > /org.telluriumsource/tellurium-core/jars/tellurium-core-0.8.0- >> > > SNAPSHOT.jar"/> >> > > >> /org.codehaus.gmaven.runtime/gmaven-runtime-support/jars/gmaven- >> > > runtime-support-1.2.jar"/> >> > > /org.sonatype.gshell/gshell-io/jars/gshell-io-2.0.jar"/> >> > > /org.antlr/stringtemplate/jars/stringtemplate-3.2.jar"/> >> > > /antlr/antlr/jars/antlr-2.7.7.jar"/> >> > > >> /commons-logging/commons-logging/jars/commons-logging-1.1.jar"/> >> > > /junit/junit/jars/junit-4.5.jar"/> >> > > >> /org.codehaus.plexus/plexus-utils/jars/plexus-utils-1.5.5.jar"/> >> > > /org.antlr/antlr/jars/antlr-3.1.3.jar"/> >> > > /org.codehaus.groovy/groovy-all/jars/groovy-all-1.7.4.jar"/> >> > > /com.thoughtworks.qdox/qdox/jars/qdox-1.8.jar" /> >> > > >> /org.codehaus.gmaven.feature/gmaven-feature-support/jars/gmaven- >> > > feature-support-1.2.jar"/> >> > >> > > --- >> > > /** >> > > * The global place to Tellurium configuration >> > > * >> > > * @author Jian Fang ([email protected]) >> > > * >> > > * Date: Aug 2, 2008 >> > > * >> > > */ >> > >> > > tellurium{ >> > > //embedded selenium server configuration >> > > embeddedserver { >> > > //port number >> > > port = "4444" >> > > //whether to use multiple windows >> > > useMultiWindows = false >> > > //whether to trust all SSL certs, i.e., option "- >> > > trustAllSSLCertificates" >> > > trustAllSSLCertificates = true >> > > //whether to run the embedded selenium server. If false, you >> > > need to manually set up a selenium server >> > > runInternally = false >> > > //By default, Selenium proxies every browser request; set this >> > > flag to make the browser use proxy only for URLs containing >> '/selenium- >> > > server' >> > > avoidProxy = false >> > > //stops re-initialization and spawning of the browser between >> > > tests >> > > browserSessionReuse = false >> > > //enabling this option will cause all user cookies to be >> > > archived before launching IE, and restored after IE is closed. >> > > ensureCleanSession = false >> > > //debug mode, with more trace information and diagnostics on the >> > > console >> > > debugMode = false >> > > //interactive mode >> > > interactive = false >> > > //an integer number of seconds before we should give up >> > > timeoutInSeconds = 60 >> > > //profile location >> > > profile = "" >> > > //user-extension.js file >> > > userExtension = "" >> > > } >> > > //event handler >> > > eventhandler{ >> > > //whether we should check if the UI element is presented >> > > checkElement = false >> > > //wether we add additional events like "mouse over" >> > > extraEvent = false >> > > } >> > > //data accessor >> > > accessor{ >> > > //whether we should check if the UI element is presented >> > > checkElement = false >> > > } >> > > //the bundling tier >> > > bundle{ >> > > maxMacroCmd = 5 >> > > useMacroCommand = false >> > > } >> > > //the configuration for the connector that connects the selenium >> > > client to the selenium server >> > > connector{ >> > > //selenium server host >> > > //please change the host if you run the Selenium server >> > > remotely >> > > serverHost = "localhost" >> > > //server port number the client needs to connect >> > > port = "4444" >> > > //base URL >> > > baseUrl = "http://localhost:8080" >> > > //Browser setting, valid options are >> > > // *firefox [absolute path] >> > > // *iexplore [absolute path] >> > > // *chrome >> > > // *iehta >> > > browser = "*safari" >> > >> > > //user's class to hold custom selenium methods associated with >> > > user-extensions.js >> > > //should in full class name, for instance, >> > > "org.telluriumsource.test.MyCommand" >> > > customClass = "" >> > > //browser options such as >> > > // options = "captureNetworkTraffic=true, >> > > addCustomRequestHeader=true" >> > > options = "" >> > > } >> > > datadriven{ >> > > dataprovider{ >> > > //specify which data reader you like the data provider to >> > > use >> > > //the valid options include "PipeFileReader", >> > > "CVSFileReader" at this point >> > > reader = "PipeFileReader" >> > > } >> > > } >> > > //this section allows users to define the internationalization >> > > required >> > > //if this section is removed, we take the default locale >> > > //from the system >> > > //enter only one locale at a time, and use this only if you want >> > > to explicitly >> > > //set the locale, preferrable way is to comment out this section >> > > i18n{ >> > > //locales = "fr_FR" >> > > locale = "en_US" >> > > } >> > > test{ >> > > execution{ >> > > //whether to trace the execution timing >> > > trace = false >> > > } >> > > //at current stage, the result report is only for tellurium >> > > data driven testing >> > > //we may add the result report for regular tellurium test case >> > > result{ >> > > //specify what result reporter used for the test result >> > > //valid options include "SimpleResultReporter", >> > > "XMLResultReporter", and "StreamXMLResultReporter" >> > > reporter = "XMLResultReporter" >> > > //the output of the result >> > > //valid options include "Console", "File" at this point >> > > //if the option is "File", you need to specify the file >> > > name, other wise it will use the default >> > > //file name "TestResults.output" >> > > output = "Console" >> > > //test result output file name >> > > filename = "TestResult.output" >> > > } >> > > exception{ >> > > //whether Tellurium captures the screenshot when exception >> > > occurs. >> > > //Note that the exception is the one thrown by Selenium >> > > Server >> > > //we do not care the test logic errors here >> > > captureScreenshot = true >> > > //we may have a series of screenshots, specify the file >> > > name pattern here >> > > //Here the ? will be replaced by the timestamp and you >> > > might also want to put >> > > //file path in the file name pattern >> > > filenamePattern = "Screenshot?.png" >> > > bugReport = true >> > > } >> > > } >> > > uiobject{ >> > > builder{ >> > > //user can specify custom UI objects here by define the >> > > builder for each UI object >> > > //the custom UI object builder must extend UiObjectBuilder >> > > class >> > > //and implement the following method: >> > > // >> > > // public build(Map map, Closure c) >> > > // >> > > //For container type UI object, the builder is a bit more >> > > complicated, please >> > > //take the TableBuilder or ListBuilder as an example >> > >> > > //example: >> > > // Icon="org.telluriumsource.ui.builder.IconBuilder" >> > >> > > } >> > > } >> > > widget{ >> > > module{ >> > > //define your widget modules here, for example Dojo or >> > > ExtJs >> > > // included="dojo, extjs" >> > > included="" >> > > } >> > > } >> > > } >> > >> > > ---- >> > >> > > On Oct 7, 3:13 pm, Jian Fang <[email protected]> wrote: >> > > > Sorry for the confusion. selenium-server-1.0.1-te4 is the custom >> selenium >> > > > server, which includes >> > > > Tellurium Engine. >> > >> > > > The popups might be the cause for skipping tests. What if you set >> not to >> > > > skip on exceptions by calling >> > >> > > > useAbortOnException(false) >> > >> > > > Thanks, >> > >> > > > Jian >> > >> > > > On Thu, Oct 7, 2010 at 6:07 AM, yca <[email protected]> >> wrote: >> > > > > Jian, >> > >> > > > > What do you mean by custom? We are using selenium-server-1.0.1- >> > > > > te4-20100722.002043-8.jar (we use gradle to download the >> > > > > dependencies). Externally starting it doesn't help. >> > >> > > > > I must say that we currently have some browser popups for security >> > > > > warnings. I don't know if this trigger an exception that makes the >> > > > > tests skipped. >> > >> > > > > Regards, >> > >> > > > > Yves >> > >> > > > > On 6 oct, 16:09, Jian Fang <[email protected]> wrote: >> > > > > > Please make sure the custom selenium server is running. Try to >> use >> > > > > external >> > > > > > selenium server by >> > > > > > manually running the following command >> > >> > > > > > java -jar selenium-server.jar >> > >> > > > > > and set >> > >> > > > > > runInternally = false >> > >> > > > > > in the configuration file. >> > >> > > > > > Thanks, >> > >> > > > > > Jian >> > >> > > > > > On Wed, Oct 6, 2010 at 9:33 AM, yca <[email protected]> >> > > wrote: >> > > > > > > Hi Jian, >> > >> > > > > > > It is not working for us. >> > >> > > > > > > After having upgraded to the latest 0.8.0 snapshot and added a >> > > > > > > bugReport field in the TelluriumConfig.groovy file, we have >> the >> > > > > > > following >> > >> > ... >> > >> > plus de détails »- Masquer le texte des messages précédents - >> > >> > - Afficher le texte des messages précédents - >> >> -- >> You received this message because you are subscribed to the Google Groups >> "tellurium-users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<tellurium-users%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/tellurium-users?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en.
