System.out.println("****************Device*************" + device_udid);
if (System.getProperty("os.name").toLowerCase().contains("mac")) {
getDeviceCategory();
} else {
category = androidDevice.getDeviceModel(device_udid);
<BUG>}
System.out.println("******" + tag.isEmpty() + "::::" + tag);
ExtentTest extentTest = tag.isEmpty()
? createParentNodeExtent(methodName, "", category

+ device_udid.replaceAll("\\W", "_")) :
createParentNodeExtent(methodName, "", category
+ device_udid.replaceAll("\\W", "_")).assignCategory(tag);
</BUG>
AppiumServiceBuilder appiumServiceBuilder = checkOSAndStartServer(methodName);

System.out.println("****************Device*************" + device_udid);
if (System.getProperty("os.name").toLowerCase().contains("mac")) {
getDeviceCategory();
} else {
category = androidDevice.getDeviceModel(device_udid);
}
System.out.println("******Tags::::" + Arrays.toString(tags));
ExtentTest extentTest = createParentNodeExtent(methodName, "", category
+ device_udid.replaceAll("\\W", "_")).assignCategory(tags);
AppiumServiceBuilder appiumServiceBuilder = checkOSAndStartServer(methodName);
