473,549 Members | 3,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python/COM scale problem with Internet Explorer

Hi!

For a regression test setup on web interfaces, I use a test tool which
in a very heavywight fashion uses the COM interface to the Internet
Explorer (of course, from Python, ver 2.3.4, win32com build 163,
Windows XP, IExp ver 6.0.2800). During a session, many COM controls
are installed in order to trace actions inside the Internet Explorer.

After a certain amount (100?) of sessions (each about 2 until 5
minutes), allocating a new InternetExplore r control is not possible
any more, throwing an exception. The code snippet

[...]
try:
iexp = InternetExplore r()
except pythoncom_error :
...
[...]

(where InternetExplore r is the COM class materialized by makepy) then
leads to the except branch.

This "denial" state persists until a certain amount of time (may be
half an hour) has passed.

Its worth noting that each session is carried out sequentially in a
distinct process. I also made certain assurance tests on free memory
and CPU resources - there is definitvly no bottleneck. The issue
therefore seems to be a COM scale problem.

Has anyone experience with a comparable scale problem and knows how to
cirumvent it?

Any suggestion welcomed.
Thanks & Greetings
Florian Haftmann
Jul 18 '05 #1
0 1283

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1499
by: Cameron Laird | last post by:
QOTW: "Rule of thumb: if you can't find it, it's in section 2 of the library docs." John J. Lee http://groups.google.com/groups?selm=87he1wxfxs.fsf%40pobox.com "Monte Carlo sampling is no way to understand code." Gordon McMillan http://groups.google.com/groups?selm=90C65699Dgmcmhypernetcom%40199.171.54.194 Alan Kennedy introduces use...
3
3627
by: calfdog | last post by:
Hello, I have been doing some experimenting with Automating Internet Explorer for testing. I would like to read from Excel and use the data to set the values of my text boxes on my web forms. I have been running into problems with Unicode as I can see others have too. I have seemed to find a simple solution when printing
1
2468
by: Florian Fredegar Haftmann | last post by:
Hi! I'm working on a tool which helps in testing applications with web-frontends (on Windows) On thing I would like to test ist the occurence of JavaScript errors; the idea is that the test tool does many request and actions on the Internet Explorer and collects all errors (including JavaScript errors) together into a report. I've setted...
8
3029
by: Andreas Røsdal | last post by:
Hi, Is there such a thing as python applets for web browsers? (eg. such as java applets?) I think that could be useful. Andreas R.
2
1465
by: Michael Foord | last post by:
I've been looking at a couple of Internet Explorer plugins. E.g. http://www.cheztabor.com/SourceTree/index.htm *or* http://www.blunck.info/iehttpheaders_workings.html . I wondered if anyone had done anything like this using COM and Mark Hammonds extensions ? Anyone got any example code ? Regards,
114
9698
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
10
3669
by: Andrew Dalke | last post by:
Is there an author index for the new version of the Python cookbook? As a contributor I got my comp version delivered today and my ego wanted some gratification. I couldn't find my entries. Andrew dalke@dalkescientific.com
23
2522
by: anton.vredegoor | last post by:
Here's my situation: I'm typing this in a public library on a computer with OS windows 2000 server. I can run Internet explorer, word, excel and powerpoint, that's it. Maybe java, but it seems to be flaky. I want to run python scripts from this computer. At home I have a multi-computer network (from better times) but no internet access...
267
10573
by: Xah Lee | last post by:
Python, Lambda, and Guido van Rossum Xah Lee, 2006-05-05 In this post, i'd like to deconstruct one of Guido's recent blog about lambda in Python. In Guido's blog written in 2006-02-10 at http://www.artima.com/weblogs/viewpost.jsp?thread=147358
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7718
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7956
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6041
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1058
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.