No change for your script. Sent from my iPhone
On Aug 23, 2011, at 12:14 AM, QA_new <[email protected]> wrote: > Please explain where i need to do changes so that testscript can > execute in IE also.. > > Thanks > > On Aug 16, 7:39 pm, Jian Fang <[email protected]> wrote: >> Profile is used for Firefox to pass firewall. For windows, you can set >> OS level proxy if you are behind firewall. Please empty your profile >> option. >> >> On Tue, Aug 16, 2011 at 6:10 AM, QA_new <[email protected]> wrote: >>> This is my TelluriumConfig.Groovy script: >> >>> /** >>> * For configuring Tellurium >>> */ >> >>> 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 = true >>> //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 = true >>> //interactive mode >>> interactive = true >>> //an integer number of seconds before we should give up >>> timeoutInSeconds = 30 >>> //profile location >>> // profile = "/home/jiafan1/.mozilla/firefox/ >>> 820j3ca9.default" >>> profile = "C:\\Program Files\\Internet Explorer\\iexplore.exe" >>> //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 = true >>> } >>> //data accessor >>> accessor { >>> //whether we should check if the UI element is presented >>> checkElement = true >>> } >>> //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 = "http://vmw080/supplierportal" >>> //server port number the client needs to connect >>> port = "4444" >>> //base URL >>> baseUrl = "http://vmw080/supplierportal/login.aspx" >>> //Browser setting, valid options are >>> // *firefox [absolute path] >>> // *iexplore [absolute path] >>> // *chrome >>> // *iehta >> >>> // browser = "*chrome" >>> browser = " *iexplore" >>> //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, preferable way is to comment out this section >>> i18n { >>> //locale = "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" >>> } >>> } >>> 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 = "" >>> } >>> } >>> } >> >>> Thanks >> >>> -- >>> 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 >>> athttp://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. > -- 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.
