/** snapshot */
 public void screenShot(String shotName) {
   try {
     ScreenShot.shoot(WXPageActivity.wxPageActivityInstance, shotName);
   } catch (IOException e) {
     e.printStackTrace();
   }
 }
  public void testDowngrade() {

    for (final View caseView : mCaseListIndexView) {
      if (((TextView) caseView).getText().toString().equals("TC_Downgrade")) {
        Log.e(TAG, "TC_Downgrade find");

        final TextView inputView = (TextView) caseView;
        mInstrumentation.runOnMainSync(
            new Runnable() {
              @Override
              public void run() {
                inputView.requestFocus();
                inputView.performClick();
              }
            });

        sleep(2000);

        setActivity(WXPageActivity.wxPageActivityInstance);
        Activity activity2 = getActivity();

        ViewGroup myGroup = (ViewGroup) (activity2.findViewById(R.id.container));
        ArrayList<View> inputListView = new ArrayList<View>();
        myGroup.findViewsWithText(
            inputListView, "TC_Downgrade_osV_True", View.FIND_VIEWS_WITH_TEXT);

        Log.e(TAG, "TC_Downgrade_osV_True== " + inputListView.size());

        if (inputListView.size() != 0) {
          final TextView inputTypeView = (TextView) inputListView.get(0);

          mInstrumentation.runOnMainSync(
              new Runnable() {
                @Override
                public void run() {
                  inputTypeView.requestFocus();
                  inputTypeView.performClick();
                  Log.e(TAG, "TC_Downgrade_osV_True clcik!");
                }
              });

          sleep(2000);
          Log.e(TAG, "TC_Downgrade_osV_True snap!");
          //                   screenShot("TC_Downgrade_appV_True");
          ScreenShot.takeScreenShotIncludeDialog(getActivity(), "TC_Downgrade_osV_True");

          sleep(2000);
        }
      }
    }
  }