Technote (troubleshooting)
Problem(Abstract)
The Security Warning window is a confirmation window that is displayed when you try to Install a certificate in Trusted Root Certification Authorities.
Cause
The Security Warning window originates from a system process called CSRSS.exe. It is not possible to enable the CSRSS process due to access restrictions.
Diagnosing the problem
Use the Process Explorer tool to find out whether the Security Warning window is a CSRSS process.
Resolving the problem
Use scripting to playback controls in a CSRSS process window. For example, if the Security Warning window has two buttons, Yes and No , and you want to click No, you can use the following sample code to find the Window and click No.
//Get all the top windows
IWindow[] topWindows =getTopWindows();
for (int i = 0; i < topWindows.length; i++) {
//Search for the desired window
if(topWindows[i].getText().equalsIgnoreCase("Security Warning")){
//Get all the children of the Security Warning Window
IWindow[] children = topWindows[i].getChildren();
for (int j = 0; j < children.length; j++) {
//Search for the control to click
if (children[j].getText().equals("&No")) {
//perform action
children[j].click();
break;
}
}
break;
}
}
Product Alias/Synonym
RFT
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.