Skip to main content

The Rational Functional Tester Recorder does not record on Security Warning windows


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:

(0 users)Average rating

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.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational Functional Tester

Record / Author tests


Software version:
8.0, 8.0.0.1, 8.0.0.2, 8.0.0.3, 8.0.0.4, 8.1, 8.1.0.1, 8.1.0.2, 8.1.0.3, 8.1.1, 8.1.1.1, 8.1.1.2, 8.1.1.3, 8.2, 8.2.0.1, 8.2.0.2, 8.2.1, 8.2.1.1, 8.2.2, 8.2.2.1, 8.3


Operating system(s):
Windows


Reference #:
1613860


Modified date:
2012-11-13

Translate my page

Content navigation