public String getClientName (Client client) {
    StringBuilder name = new StringBuilder();
    BrowserSpecs specs = client.getBrowserSpecs();
    name.append(specs.getPlatform().name(), 0, 3);
    if (!client.isApp()) {
      name.append("_").append(specs.getBrowserName(), 0, 2);
      if (specs.getVersion() != null) {
        String version = specs.getVersion().split(" ").length > 1 ? specs.getVersion().split(" ")[1] : specs.getVersion();
        name.append("_").append(version);
      }
    } else {
      name.append("_").append(specs.getDeviceName(), 0, 2);
    }
    return name.toString();
  }
Generate test case name string.

@return the string
KITE-Framework/src/main/java/org/webrtc/kite/tests/KiteBaseTest.java