Access password-protected resources in the Active Screen
When UFT One creates an Active Screen page for a Web-based application, it stores the path to images and other resources on the page, rather than downloading and storing the images with your test.
Storing the path to images and other resources ensures that the disk space used by the Active Screen pages captured with your test is not affected by the file size of the resources displayed on the page.
For this reason, a page in the Active Screen (or in your run results) may require a user name and password to access certain images or other resources within the page. If this is the case, a pop-up login window may open when you select a step corresponding to the page (see Active Screen Dialog Box), or you may note that images or other resources are missing from the page.
For example, the formatting of your page may look very different from the actual page on your Web site if the cascading style sheet (CSS) referenced in the page is password-protected, and therefore could not be downloaded to the Active Screen.
You may need to use one or both of the following methods to access your password-protected resources, depending on the password-protection mechanism used by your Web server:
Standard Authentication |
If your server uses a standard authentication mechanism, enter the login information in the Web Pane (Test/Business Component Settings Dialog Box / Application Area - Additional Settings Pane). UFT One saves this information with your test and automatically enters the login information each time you select to display an Active Screen page that requires the information. If you do not enter this information in the Web pane of the Test Settings dialog box and attempt to access the password-protected resources, the Active Screen Dialog Box opens. |
Advanced Authentication |
If your server uses a more complex authentication mechanism, you may need to log in to the Web site manually using the Advanced Authentication Dialog Box. This gives the Active Screen access to password-protected resources in your Active Screen pages for the duration of your UFT One session. When using this method, you must log in to your Web site in the Advanced Authentication dialog box each time you open the test in a new UFT One session. In most cases, the automatic login is sufficient. In some cases, you must use the manual login method. In rare cases, you may need to use both login mechanisms to enable access to all resources in your Active Screen pages. |
If your Web site is not password-protected, but you are still unable to view images or other resources on your Active Screen, you may not be connected to the Internet, the Web server may be down, or the source path that was captured with the Active Screen page may no longer be accurate.