AspNetHost

7 posts, 0 answers
  1. Marius Grigoriu
    Marius Grigoriu avatar
    1 posts
    Member since:
    Nov 2009

    Posted 02 May 2011 Link to this post

    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!
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 06 May 2011 Link to this post

    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
  3. Lukasz Zwozniak
    Lukasz Zwozniak avatar
    1 posts
    Member since:
    May 2010

    Posted 12 May 2011 Link to this post

    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?

  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 17 May 2011 Link to this post

    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
  5. Tim
    Tim avatar
    2 posts
    Member since:
    Nov 2008

    Posted 20 May 2011 Link to this post

    Hi,

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


    Thanks,
  6. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 25 May 2011 Link to this post

    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
  7. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 22 Jun 2011 Link to this post

    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?
Back to Top