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

AspNetHost

6 Answers 102 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marius Grigoriu
Top achievements
Rank 1
Marius Grigoriu asked on 02 May 2011, 10:06 PM
My goal is to run as many tests using the in process server as possible for execution speed while having an IE window open to run javascript-dependent tests and switching between the two browsers as necessary.

I am having trouble getting the in process host to work and it appears that even the samples have the same issue. After LaunchNewBrowser ActiveBrowser remains null and the following appears in the log:
ActiveBrowser was changed and set to LastOrDefault. Current active was either invisible or disconnected
ActiveBrowser was changed and set to LastOrDefault. Current active was either invisible or disconnected

Unable to find anything in the documentation, I am hoping that someone here can help.
Thanks!

6 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 06 May 2011, 11:09 PM
Hello Marius Grigoriu,

I am sorry to report this is a known problem with our 2011.1.502 release. Hopefully we can fix this shortly. I have logged this bug here.

In the meantime you should be able to use our 2010.3.1607 version which is still available for download.

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
Lukasz Zwozniak
Top achievements
Rank 1
answered on 12 May 2011, 09:38 AM

I have a very similar problem.

while performing the following code


Element findEle = manager.ActiveBrowser.Find.ByContent("text");
actions.Click(findEle);


I get message:


- FindParam used: [Find logic: Use 'Content' where content is 'text' of type 'TextContent' and (none) ]
- Start Element: [Element: '#comment#:-1']

ActiveBrowser was changed and set to LastOrDefault. Current active was either invisible or disconnected


How select a button?

0
Cody
Telerik team
answered on 17 May 2011, 10:29 PM
Hi Lukasz Zwozniak,

I am sorry to report this is caused by the same bug. This is scheduled to be fixed and released in about two weeks. You can track this here.

All the best,
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
Tim
Top achievements
Rank 1
answered on 20 May 2011, 04:30 PM
Hi,

Any idea to what this could be related (e.g. Browser / OS, etc.) so that I can try to work around it?


Thanks,
0
Cody
Telerik team
answered on 25 May 2011, 05:53 PM
Hi Tim,

Unfortunately there is no work around. When we made changes to support WPF application testing we fatally broke the AspNetInProcHost option. The only "workaround" is to fall back to a build older than 2011.1.502, such as 2010.3.1421. At the moment we haven't had time to fix this bug. We will soon however.

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
Cody
Telerik team
answered on 22 Jun 2011, 08:52 PM
Hi Tim,

I am happy to report this bug has been fixed in our latest public release

Best wishes,
Cody
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

Have you looked at the new Online User Guide for Telerik Test Studio?
Tags
General Discussions
Asked by
Marius Grigoriu
Top achievements
Rank 1
Answers by
Cody
Telerik team
Lukasz Zwozniak
Top achievements
Rank 1
Tim
Top achievements
Rank 1
Share this question
or