Micro Focus QTP (UFT) Forums
not able to automate the sap gui security window - 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: not able to automate the sap gui security window (/Thread-not-able-to-automate-the-sap-gui-security-window)



not able to automate the sap gui security window - raja_aanji - 03-05-2015

hi All,
we are testing the SAP window based application by uft 12.1, i am facing below issues with UFT
1)while execute UFT getting hanging when specific SAP GUI security window(this window displayed for click allow button to download the docs) displayed once if i click the button “allow” manually then UFT start continue the execution
2)UFT could not able to identify the object to only this window
if i tried to identify the UFT getting hanging

see the below recorded code:
Code:
Window("Accelerated Document Downloade").Dialog("SAP GUI Security_2").WinButton("Allow").Click

i want to click the above button but UFT not able to click and freezing when the sap GUI window displayed


please help me out if any one have idea how to handle this issue

and please tell me any possible is there to handle by VBS because UFT hanging

thanks in advance


RE: not able to automate the sap gui security window - raja_aanji - 03-09-2015

hi guys,
i found the solution for this
Code:
Dialog("SAP GUI Security_2").WinButton("Allow").Click
above the code working instead of
Code:
Window("Accelerated Document Downloade").Dialog("SAP GUI Security_2").WinButton("Allow").Click
Smile