JFormattedTextFieldProxy

這個 JFormattedTextFieldProxy 範例說明如何建立新的 Proxy 類別,以及新增控制項內容和控制項資料。該範例會使用「測試中應用程式」(AUT) 範例。
需要時間:15 分鐘
必備項目:您必須從 Rational® Functional Tester 開啟說明,將範例匯入您的工作區。
匯入範例
  1. 如果要將範例匯入 Eclipse 工作區,請按一下「取得範例」。您必須將這裡提供的所有範例都匯入您的工作區。
  2. 開啟 Java 視景以檢視匯入的樣本。
    Proxy 範例包含下列檔案:
    • Proxy 原始檔
      • JFormattedTextFieldProxy\src\sdk\samples\jfc\JFormattedTextFieldProxy.java
      • JFormattedTextFieldProxy\JFormattedTextFieldProxy.rftcust
    • Eclipse 專案檔
      • JFormattedTextFieldProxy\.project
    • Proxy 二進位檔
      • JFormattedTextFieldProxy\JFormattedTextFieldProxy.jar
      • JFormattedTextFieldProxy\JFormattedTextFieldProxy.rftcust

    AUT 範例包含下列檔案:

    • Eclipse 專案檔
      • JFormattedTextFieldApp\.project
    • 測試中應用程式檔
      • JFormattedTextFieldApp\JFormattedTextFieldApp.java
      • JFormattedTextFieldApp\JFormattedTextFieldApp.class
  3. 測試 JFormattedTextField Proxy 範例

意見