cancel
Showing results for 
Search instead for 
Did you mean: 

The requested resource is in use

Occasional Contributor

The requested resource is in use

Hi,

 

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.

 

Thanks

 

Stéphane.

4 REPLIES
Highlighted
Community Hero

Re: The requested resource is in use

Is that a message generated by TestComplete or by your application under test?


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.


I’ll be talking about “Hidden Treasures – TestComplete Script Extensions” at #SBConnect in October! Who’s joining me? Click here for tickets
Extensions available
Occasional Contributor

Re: The requested resource is in use

This is generated in tescomplete in the log 

Community Hero

Re: The requested resource is in use

Can you share the code that you are executing that is generating that message?


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.


I’ll be talking about “Hidden Treasures – TestComplete Script Extensions” at #SBConnect in October! Who’s joining me? Click here for tickets
Extensions available
Occasional Contributor

Re: The requested resource is in use

Hi

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! :-)

 

def t():
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()
Watch a Video Interview
Top Kudoed Authors
Are You In?

Meet the Community Leaders!

SmartBear Connect is an excellent opportunity for training, in-person support, and networking.

GET YOUR TICKET WITH $100 OFF