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

Have to open second instance of IE 8 for tests to run

7 Answers 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joe Santa
Top achievements
Rank 1
Joe Santa asked on 20 Apr 2010, 08:17 PM
Hi all,

After upgrading to WebUI Test Studio 2010.1 (from Design Canvas 2.0), I now have to open a second instance of IE for the test to run. When it runs, all is well. Anyone have any ideas?

Running :
XP sp3
IE 8 - configured per video and plugins are enabled

ArtOfTest.WebAii.Design : 2010.1.4.12
ArtOfTest.WebAii : 2010.1.4.12
ArtOfTest.Common : 2010.1.4.12

Thanks,
Joe

7 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 20 Apr 2010, 10:03 PM
Hello Joe Santa,

I'm not sure I understand what the problem is exactly. Can you clarify what is happening, the sequence of events that you feel is not working right?

In WebUI Test Studio 2010.1 we got rid of the browser hosted inside of Visual Studio for recording. It is normal to launch an external instance of IE for recording.

During playback of tests, the process was not significantly changed. The test normally launches a new instance of the browser to run the test in and then closes it when the test finishes (pass or fail). Is this not happening that way for you?

Basically I need clarification what you mean by your statement "I now have to open a second instance of IE for the test to run".

Kind regards,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Joe Santa
Top achievements
Rank 1
answered on 20 Apr 2010, 10:16 PM
Hi Cody,

If I select a test in the test view, right click and select 'run selection', it opens a new instance of IE 8. It opens to 'About:Blank' and sits there until it times out. However, if while waiting, I open another instance of IE, by clicking on the quick launch button, WebAii sees this instance and begins the tests and all is well. I tried uninstalling and reinstalling. Still no go. I tried installing on a server 2003 box and the same thing happened. 

Also, if the new WebUI interface finds new tests that have been added by 'discovering' the files in the tests directory (added through source control), it will only show those new tests in the 'Test View' until you restart Visual Studio. With the restart, all the tests show up.

Thanks,
Joe
0
Joe Santa
Top achievements
Rank 1
answered on 21 Apr 2010, 03:46 PM
Hi Cody,

Update: The tests run fine when I use 'Quick Execute'. Still no go if I right click on a test and select 'Run Selection'.

Thanks,
Joe
0
Cody
Telerik team
answered on 21 Apr 2010, 05:51 PM
Hi Joe Santa,

I will admit that's a first for me. I talked to a couple of my co-workers and so far we can't figure out why WebUI Test Studio would behave that way. Do you have the ability to open an official support ticket for this issue? I'd like to start tracking it there if possible.

Either way what I'd really like to do next is look at this problem on your machine via GoToMeeting. Let me know what timezone you're in and when you're available and I'll setup the meeting.

Kind regards,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Accepted
Joe Santa
Top achievements
Rank 1
answered on 21 Apr 2010, 09:03 PM

Got it! Fix was (on a project that was updated from Design Canvas 2.0 to WebUI):

 

In LocalTestRun.testrunconfig, remove the old WebAiiTestRunConfig node under <TestTypeSpecific>.

0
Cody
Telerik team
answered on 21 Apr 2010, 09:53 PM
Hi Joe Santa,

Wonderful! Thanks for the update.

Best wishes,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Scott Henderson
Top achievements
Rank 1
answered on 03 May 2010, 10:19 PM
Hi Joe,

I had the same thing happening to new tests (not migrated ones) that were created entirely with the recorder.   The "fix" for me was to add a coded step that all it did was add an: 

ActiveBrowser.NavigateTo("http://myurltotest"); 

And that did it.

-Scott


Tags
General Discussions
Asked by
Joe Santa
Top achievements
Rank 1
Answers by
Cody
Telerik team
Joe Santa
Top achievements
Rank 1
Scott Henderson
Top achievements
Rank 1
Share this question
or