When I navigate to a page, sometimes I receive this message "The requested resource is in use".
What does it mean?
And How can I manage this error?
This does not look like it is affecting the test.
Is that a message generated by TestComplete or by your application under test?
Can you share the code that you are executing that is generating that message?
basically I loop multiple time through a login on a web page to test performance and stability of the code that I have written. I had so much stability issue with the test pc because of the 2 explorer 32 and 64 bit.
Right now I am not at work. (Working from home) And the problem is not reproduced on this laptop. Only on the test machine had this issue.
It could happen once out of 30. Sometime not. So... I am trying to understand how to make stable code. And right now that is the only stick in the wheel of the machine! ;-)
I am getting there! :-)
IP = "10.37.85.12" Log.Message("iCAdminLogin to " + IP) #Login.navigateToPage(IP) Browsers.Item[btIExplorer].Navigate("http://" + IP + "/",10000) propStr = ["Visible", "VisibleOnScreen", "URL"] valueStr = [True, True, "http://" + IP + "/"] #Find Current page while not Sys.Browser("iexplore").Find(propStr, valueStr,60,True).Exists: Log.Warning("Login Page was not ready") aqUtils.Delay(100) Login.clickLogin() Login.setLoginUserName() Login.setLoginPassword() #Verify if login is a success result = Login.verifyLoginStatus() #Logout propStr = ["namePropStr", "Visible", "VisibleOnScreen", "ObjectType"] valueStr = ["logout.jsp", True, True, "Link"] adminPageLogoutObj = Sys.Browser("iexplore").Find(propStr, valueStr,60,True) adminPageLogoutObj.Click() Log.Message("Login result: " + str(result)) return result def t2(): while True: t()