Micro Focus QTP (UFT) Forums
Problem selecting client certificate from IE dialog - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Problem selecting client certificate from IE dialog (/Thread-Problem-selecting-client-certificate-from-IE-dialog)



Problem selecting client certificate from IE dialog - pumpkin - 10-05-2011

Hello everyone!

I encoutered a problem when writing tests in QTP for web aplication.
The situation is:
- Server demands a client certificate
- I have imported many client certificates in my personal cert. store
- QTP opens url of web app in IE and dialog pop-ups. This dialog shows all imported client certificates and user has to choose one of them.
- enviroment: win 7, QTP 11, IE 9

The problem is that QTP doesn't recognize the elements in dialog (meaning the list of imported certificates). When I click on some certificate from list, QTP only records mouse coordinates, and than OK button later.

I need to be able to select different cerificates from that dialog in various tests. I google for 2 days with no success. I tried some workaround with winAPI (wininet.dll, InternetSetOptionA), but I couldn't get it to work Sad Using "InternetExplorer.Application" com object was also dead end...

Is there some QTP/vbs guru that would help me, please?


RE: Problem selecting client certificate from IE dialog - Newbie2011 - 11-02-2011

Hi,

Were you able to solve this? I'm running to same issue. If you have found the solution, can you please share the info? Thanks