Locked No Status Code Found Error

  • Thursday, May 24, 2012 4:59 AM
     
     
    Hi ,

    I am getting below error very frequently while running coded UI test cases. Any idea on what could be the issue? or how to debug it.

    Thanks.

All Replies

  • Thursday, May 24, 2012 8:47 PM
     
     
    Just a suggestion, please check your browser proxy settings.
  • Monday, May 28, 2012 11:57 AM
    Moderator
     
     

    Hi AkshayGarg,

    I would like to know if this error shows up while browsing this page without Coded UI?

    Best Regards,


    Tony Xiao [MSFT]
    MSDN Community Support | Feedback to us

  • Monday, May 28, 2012 12:24 PM
     
     
        You are trying to open a page which is not in reach…. May be due to proxy or can be a local one…

    Ankit Verma

  • Wednesday, May 30, 2012 4:30 AM
     
     

    Thanks for suggestions, Please find my comments.

    Deepak and Ankit,

    I checked the proxy setting and it has been set to "Automatically detect settings". Same settings is used across all machines. In our web application we have around 20 pages and this error shows only on two or three pages.

    Also error appears while we are in between some operation on that page like exporting records in excel or filtering the records or sorting records by any column.

    One time it appears on exporting, another time it may come while filtering. No fixed repro steps.

    Tony,

    This error shows up only with coded UI.

    Also I would like to add that error shows up when coded UI is executed on VM. Not when I execute them on my local machine.

    I checked the event logs but no error there.

  • Wednesday, May 30, 2012 4:41 AM
     
     

    Hi Akshay,

    When you get this error don't close the browser or the IDE and check the proxy settings of the browser. 

    I recall something similar we came across more than a year ago but am not able to recall the cause or resolution. Only thing I can remember is that the proxy setting was automatically changing during execution. Share your observation and in the meanwhile I will try to recall if it was a similar issue or how it got resolved.

    Also try installing the Service Pack 1 and Feature Pack 2 for VSTS, if not done already.

    Regards,

    Pankaj


    Utility to run CUIT Ordered Tests for multiple iterations @ http://cuitbatchrunner.codeplex.com/

  • Wednesday, May 30, 2012 4:47 AM
     
     

    Hi Akshay,

    Here is the thread where I had posted a similar issue. It seems removing and adding the references(testing related Dlls like UITest, UITesting etc.) again did the trick for me. (See the second-last post in the mentioned thread)

    Regards,

    Pankaj


    Utility to run CUIT Ordered Tests for multiple iterations @ http://cuitbatchrunner.codeplex.com/


    • Edited by pankaj.nith Wednesday, May 30, 2012 4:48 AM
    •  
  • Friday, June 01, 2012 9:12 AM
     
     

    Thanks Pankaj.

    I am still not sure what the cause was. However I got rid of this by changing the sequence of steps within the test case.

    Say earlier I was performing step 1 -> step 2 -> step 3 (all being independent)

    Now I am doing step 1-> step 3 -> step 2.

    Thanks everyone for your help.