COM Objects (maybe OT)

E

Emiliano

Hi everibody,
does anyone know ho to simulate the pressure of "yes" Button in message
boxes appearing in client certificate-based authentication of Internet
Explorer ?

I have this code....

def aspetta(ie):
"Dato un oggetto IE , aspetto finche' l'oggetto è pronto per l'input."
#print "\tIE Occupato"
while ie.Busy:
print "\t->",
time.sleep(1)
doc = ie.Document
while doc.ReadyState != 'complete':
print "\t->.",
time.sleep(0.2)
#print "\tIE Completato"
return doc

ie = win32com.client.Dispatch("InternetExplorer.Application")

## NEED CODE HERE TO CLICK ON YES BUTTO OF CERTIFICATE BASED
AUTHENTICATION ...

aspetta(ie)
etc etc etc....

Do you know ho to solve this problem?


Bye.
Emil.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top