This is a migrated thread and some comments may be shown as answers.

Running Test Scripts in IE6

1 Answer 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
RockinB
Top achievements
Rank 1
RockinB asked on 21 Jan 2011, 01:27 AM

On this page:
http://www.telerik.com/automated-testing-tools/products/webui-test-studio-qa-edition/features/test-maintenance.aspx

Breadcrumb path:
Home > Automated Testing Tools > Products > QA Edition > WebUI QA Features > Test Maintenance

This page says you can run your scripts using IE6 IE7 and IE8, as well as FF Safari and Chrome.  The web application that I am testing is in a corporate environment and it must work on IE6.

I successfully recorded a few scripts in IE 7, which I was able to play back in IE7.  I then uninstalled IE7 and returned to IE6 and tried running the scripts again, and the test fails.  IE6 launches as expected, but it just sits there idling.  The way that I am trying to run them is by loading the Telerik WebUI Test Studio and selecting the scripts I recorded and hitting Execute in the menu bar.

The test case then fails because it can't seem to detect that IE6 is working.

Has anybody been able to get test scripts to run on IE6?  Am I launching the test scripts incorrectly?

Thanks for your help.

If it helps, this is the stack trace that I'm getting:

------------------------------------------------------------
'1/20/2011 4:11:02 PM' - Starting execution....
'1/20/2011 4:11:08 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'1/20/2011 4:11:08 PM' - System.ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. ---> System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Int32 timeout)
   at ArtOfTest.Common.Win32.WindowManager.Attach(IntPtr& handle, Boolean findTabWindow, Boolean loadClr, IntPtr& hookId)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.Initialize(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'1/20/2011 4:11:08 PM' - Test completed!

 

1 Answer, 1 is accepted

Sort by
0
Keaegan
Telerik team
answered on 24 Jan 2011, 07:46 PM

Hi Blake,

The version of WebUI Test Studio you are using is no longer compatible with IE6. As of the Q3 release of WebUI Test Studio, the system requirements have changed:

With the caveat that you can still playback a test in IE6 that you recorded in IE7 or later. However, when you are regressing your version of IE back to 6, you are breaking the link/install of WebUI. The items that are changed will not be updated unless you uninstall WebUI and then reinstall it.

The setup you are looking for we would recommend having a 2nd machine that is setup for running IE6 and then install WebUI Run-Time edition so that you can execute the tests on the additional machine.

I apologize that we are still in the process of updating all references/documentation for our tools, and it looks like the page you have referenced is still showing the data that is true for the older releases of WebUI Test Studio. In order to do what you want on the machine you are using you would need to regress IE, then uninstall WebUI, then reinstall WebUI so that our application is able to execute the tests. This is the reason for the above suggested method as this would require a great deal of additional work each time you want to test on IE6.

I have added requests to have all of these references to IE6 updated to reflect that you can now only playback in IE6 and not record. Thank you for bringing this to our attention.

Kind regards,
Keaegan
the Telerik team

Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Tags
General Discussions
Asked by
RockinB
Top achievements
Rank 1
Answers by
Keaegan
Telerik team
Share this question
or