├── README.md └── RealTimeReportTestNG ├── .classpath ├── .project ├── pom.xml └── src ├── main ├── java │ └── report │ │ └── realtime │ │ ├── datahandler │ │ ├── DataMap.java │ │ ├── DataPreparator.java │ │ └── DataSuite.java │ │ ├── filehandler │ │ ├── CDATAContentHandler.java │ │ ├── CreateFiles.java │ │ ├── CreateHTML.java │ │ ├── CreateXML.java │ │ └── FileNameConstants.java │ │ ├── listener │ │ └── RealTimeTestResultListener.java │ │ ├── result │ │ ├── ConsolidatedResult.java │ │ ├── ExMethodResultDTO.java │ │ ├── MethodResultDTO.java │ │ ├── SuiteResultDTO.java │ │ └── TestResultDTO.java │ │ └── xmlhandler │ │ └── XMLGenerator.java └── resources │ └── html-rsc │ ├── css │ ├── bootstrap.min.css │ ├── font-awesome.min.css │ └── new-style.css │ ├── fonts │ ├── FontAwesome.otf │ ├── Linearicons-Free.eot │ ├── Linearicons-Free.svg │ ├── Linearicons-Free.ttf │ ├── Linearicons-Free.woff │ ├── Linearicons-Free.woff2 │ ├── WeatherIcons-Regular.otf │ ├── digital-7-webfont.eot │ ├── digital-7-webfont.svg │ ├── digital-7-webfont.ttf │ ├── digital-7-webfont.woff │ ├── digital-7_italic-webfont.eot │ ├── digital-7_italic-webfont.svg │ ├── digital-7_italic-webfont.ttf │ ├── digital-7_italic-webfont.woff │ ├── digital-7_mono-webfont.eot │ ├── digital-7_mono-webfont.svg │ ├── digital-7_mono-webfont.ttf │ ├── digital-7_mono-webfont.woff │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ ├── glyphicons-halflings-regular.woff2 │ ├── weathericons-regular-webfont.eot │ ├── weathericons-regular-webfont.svg │ ├── weathericons-regular-webfont.ttf │ └── weathericons-regular-webfont.woff │ ├── image │ └── bg1.gif │ ├── js │ ├── Chart2.0.js │ ├── bootstrap.min.js │ ├── jquery-1.10.2.min.js │ └── moment.js │ └── xsl │ └── dashboard.xsl └── test ├── java └── report │ └── test │ └── google │ ├── TestDataPro.java │ └── VerifyGoogleHome.java └── resources ├── data └── testdata.properties └── testngXML └── testng.xml /README.md: -------------------------------------------------------------------------------- 1 | # RealTimeReport 2 | The wait is over!! Now you don't need to wait until end of the test for the report. This project help you to get the test report at **RunTime** using TestNG. You can intigrate this report with an existing project or can incorporate with new testNG project. Specality of this report is that - you don't need to change your existing codebase, only adding our pre-defined listner in user's **testng.xml** file can generate this report under *target/RealtimeReport* directory within your existing project structure. The *index.html* file holds the link of all test suites' results detail page. 3 | The index.html file looks like: 4 | 5 | ![index](https://user-images.githubusercontent.com/20871486/83250309-8d54de00-a1c5-11ea-90c1-89f507f5a5ad.png) 6 | 7 | To get the details of any perticular suite user need to click the perticular suite button. Suite details report page looks like: 8 | 9 | ![suiteresult](https://user-images.githubusercontent.com/20871486/83250340-99d93680-a1c5-11ea-9991-d2fb2b1f5c9a.png) 10 | 11 | ## Getting Started 12 | 13 | Include **realtime-report-vx.x.jar** into your project classpath. *We've released our latest package at [Releases](https://github.com/startingwithseleniumwebdriver/RealTimeReport/releases)*. 14 | 15 | You need to add the **RealTimeTestResultListener** class as *listener* to create this realtime report for any TestNg test. 16 | 17 | 18 | 19 | 20 | 21 | #### So Easy !! 22 | 23 | ## Credits 24 | 25 | 1. Santu Saha (saha.santu@gmail.com) 26 | 2. Rohan Ghosh (ghoshrohan07@gmail.com) 27 | 3. Arjun Ray (arjunray12@gmail.com) 28 | 4. Dipankar Rana (dipankar_6612@yahoo.co.in) 29 | 5. Ananta Bose (anantabose29@gmail.com) 30 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | RealTimeReportTestNG 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | com.startingwithseleniumwebdriver.automation 6 | realtime-report 7 | v2.0 8 | RealTimeReportTestNG 9 | Real Time Reporting With TestNG 10 | 11 | 12 | 13 | org.testng 14 | testng 15 | 7.1.0 16 | 17 | 18 | 19 | org.seleniumhq.selenium 20 | selenium-java 21 | 3.141.59 22 | 23 | 24 | 25 | javax.xml 26 | jaxb-impl 27 | 2.1 28 | 29 | 30 | 31 | io.github.bonigarcia 32 | webdrivermanager 33 | 4.0.0 34 | 35 | 36 | org.uncommons 37 | reportng 38 | 1.1.4 39 | 40 | 41 | 42 | commons-io 43 | commons-io 44 | 2.6 45 | 46 | 47 | 48 | 49 | 50 | org.apache.maven.plugins 51 | maven-surefire-plugin 52 | 2.21.0 53 | 54 | 55 | ./src/test/resources/testNGXML/testng.xml/ 56 | 57 | 58 | 59 | 60 | org.apache.maven.plugins 61 | maven-compiler-plugin 62 | 3.5.1 63 | 64 | 1.8 65 | 1.8 66 | 67 | 68 | 69 | org.apache.maven.plugins 70 | maven-source-plugin 71 | 72 | 73 | attach-sources 74 | 75 | jar 76 | 77 | 78 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/datahandler/DataMap.java: -------------------------------------------------------------------------------- 1 | package report.realtime.datahandler; 2 | 3 | import java.util.HashMap; 4 | import java.util.Map; 5 | import java.util.Set; 6 | import java.util.concurrent.ConcurrentSkipListSet; 7 | 8 | import org.testng.IClass; 9 | import org.testng.ISuite; 10 | 11 | public class DataMap { 12 | 13 | volatile public static Map suiteMap = new HashMap(); 14 | 15 | volatile public static Map testClassMap = new HashMap(); 16 | 17 | volatile public static Set suiteSet = new ConcurrentSkipListSet<>(); 18 | } 19 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/datahandler/DataPreparator.java: -------------------------------------------------------------------------------- 1 | package report.realtime.datahandler; 2 | 3 | import java.lang.reflect.InvocationTargetException; 4 | import java.lang.reflect.Method; 5 | import java.text.DateFormat; 6 | import java.text.SimpleDateFormat; 7 | import java.util.ArrayList; 8 | import java.util.Arrays; 9 | import java.util.Collection; 10 | import java.util.Date; 11 | import java.util.List; 12 | import java.util.Map; 13 | import java.util.Random; 14 | import java.util.Set; 15 | import java.util.concurrent.ConcurrentSkipListSet; 16 | 17 | import org.testng.IInvokedMethod; 18 | import org.testng.ISuite; 19 | import org.testng.ITestNGMethod; 20 | import org.testng.ITestResult; 21 | import org.testng.annotations.DataProvider; 22 | import org.testng.annotations.Test; 23 | import org.testng.xml.XmlSuite; 24 | 25 | import report.realtime.result.ExMethodResultDTO; 26 | import report.realtime.result.MethodResultDTO; 27 | 28 | public class DataPreparator { 29 | 30 | synchronized public static String prepareSuiteName(ISuite suite) { 31 | return suite.getName(); 32 | } 33 | 34 | synchronized public static Set prepareSuiteNameList(ISuite suite) { 35 | XmlSuite xSuite = suite.getXmlSuite(); 36 | listSuitesName(xSuite); 37 | return suiteNames; 38 | } 39 | 40 | private static Set suiteNames = new ConcurrentSkipListSet<>(); 41 | 42 | private static void listSuitesName(XmlSuite suite) { 43 | if (suite.getParentSuite() != null) { 44 | for (XmlSuite childSuite : suite.getParentSuite().getChildSuites()) { 45 | if (childSuite.getChildSuites().size() != 0) { 46 | listSuitesName(childSuite); 47 | } else { 48 | suiteNames.add(childSuite.getName()); 49 | } 50 | } 51 | } 52 | } 53 | 54 | synchronized public static String prepareRemoteHost(ISuite suite) { 55 | return suite.getHost(); 56 | } 57 | 58 | synchronized public static List prepareExcludedMethodList(ISuite suite) { 59 | List exMethods = new ArrayList(); 60 | for (ITestNGMethod testngMethod : suite.getExcludedMethods()) { 61 | exMethods.add(testngMethod.getMethodName()); 62 | } 63 | return (exMethods.isEmpty()) ? null : exMethods; 64 | } 65 | 66 | synchronized public static String pepareSuiteRunState(ISuite suite) { 67 | return (suite.getSuiteState().isFailed()) ? "Fail" : "Pass"; 68 | } 69 | 70 | synchronized public static String prepareReportOutputDirectory(ISuite suite) { 71 | return suite.getOutputDirectory(); 72 | } 73 | 74 | synchronized public static String prepareParallelTestFor(ISuite suite) { 75 | return suite.getParallel(); 76 | } 77 | 78 | synchronized public static List prepareTestMethodList(ISuite suite) { 79 | List testMethods = new ArrayList(); 80 | for (ITestNGMethod testNGMethod : suite.getAllMethods()) { 81 | testMethods.add(testNGMethod.getMethodName()); 82 | } 83 | return (testMethods.isEmpty()) ? null : testMethods; 84 | } 85 | 86 | synchronized public static List prepareInvokedMethodList(ISuite suite) { 87 | List invokedMethods = new ArrayList(); 88 | for (IInvokedMethod invokedMethod : suite.getAllInvokedMethods()) { 89 | invokedMethods.add(invokedMethod.getTestMethod().getMethodName()); 90 | } 91 | return (invokedMethods.isEmpty()) ? null : invokedMethods; 92 | } 93 | 94 | synchronized public static int getDataProvider(ITestNGMethod testNGMethod) { 95 | int dp = 1; 96 | Method testMethod = testNGMethod.getConstructorOrMethod().getMethod(); 97 | if (testMethod.isAnnotationPresent(Test.class)) {// && 98 | // testMethod.isAnnotationPresent(Count.class)) 99 | // { 100 | Test testMethodTestAnnotation = testMethod.getAnnotation(Test.class); 101 | String dataProviderName = testMethodTestAnnotation.dataProvider(); 102 | if (dataProviderName != null && !dataProviderName.isEmpty()) { 103 | Object instance = null; 104 | Class dataProviderClass = testMethodTestAnnotation.dataProviderClass(); // my 105 | if (!dataProviderClass.isInstance(testNGMethod.getInstance())) { // check 106 | // if dataprovider class is test class itself 107 | } else { 108 | dataProviderClass = testNGMethod.getInstance().getClass(); 109 | } 110 | try { 111 | instance = dataProviderClass.newInstance(); 112 | } catch (InstantiationException | IllegalAccessException e1) { 113 | e1.getStackTrace(); 114 | } 115 | Method[] allTestClassMethods = dataProviderClass.getMethods(); 116 | for (Method m : allTestClassMethods) { 117 | if (m.isAnnotationPresent(DataProvider.class)) { 118 | DataProvider dataProviderAnnotation = m.getAnnotation(DataProvider.class); 119 | String dataProviderMethodName = m.getName(); // my 120 | String thisDataProviderName = dataProviderAnnotation.name(); 121 | if (dataProviderName.equals(thisDataProviderName) 122 | || dataProviderName.equals(dataProviderMethodName)) { 123 | try { 124 | Object[][] theData = (Object[][]) m.invoke(instance); 125 | Integer numberOfDataProviderRows = theData.length; 126 | dp = numberOfDataProviderRows; 127 | } catch (IllegalAccessException e) { 128 | e.printStackTrace(); 129 | } catch (InvocationTargetException e) { 130 | e.printStackTrace(); 131 | } 132 | } 133 | } 134 | } 135 | } else { 136 | } 137 | } else { 138 | } 139 | return dp; 140 | } 141 | 142 | synchronized public static List prepareTestMethod(ISuite suite) { 143 | List resultDTOs = new ArrayList(); 144 | MethodResultDTO dto; 145 | for (ITestNGMethod iTestNGMethod : suite.getAllMethods()) { 146 | dto = new MethodResultDTO(); 147 | dto.setDataProvider(getDataProvider(iTestNGMethod)); 148 | dto.setTestMethod(iTestNGMethod.getMethodName()); 149 | resultDTOs.add(dto); 150 | } 151 | return resultDTOs; 152 | } 153 | 154 | synchronized public static List prepareExcludedTestMethod(ISuite suite) { 155 | List resultDTOs = new ArrayList(); 156 | ExMethodResultDTO dto; 157 | for (ITestNGMethod iTestNGMethod : suite.getExcludedMethods()) { 158 | if(iTestNGMethod.isTest()){ 159 | dto = new ExMethodResultDTO(); 160 | dto.setDataProvider(getDataProvider(iTestNGMethod)); 161 | dto.setExcludedMethod(iTestNGMethod.getMethodName()); 162 | resultDTOs.add(dto); 163 | } 164 | } 165 | return resultDTOs; 166 | } 167 | 168 | synchronized public static List prepareMethodGroupSet(ISuite suite) { 169 | List groupSet = new ArrayList(); 170 | Map> methodMap = suite.getMethodsByGroups(); 171 | if (!methodMap.isEmpty()) { 172 | groupSet.addAll(methodMap.keySet()); 173 | } 174 | return groupSet; 175 | } 176 | 177 | synchronized public static String prepareId(ITestResult tr) { 178 | String id = ""; 179 | for (String grp : prepareContextGroupList(tr)) { 180 | if (grp.contains(" ")) { 181 | grp = grp.replaceAll(" ", "-"); 182 | } 183 | id = id + "_" + grp; 184 | } 185 | for (String grp : prepareMethodGroupList(tr)) { 186 | if (grp.contains(" ")) { 187 | grp = grp.replaceAll(" ", "-"); 188 | } 189 | id = id + "_" + grp; 190 | } 191 | if (DataMap.testClassMap.containsKey(tr.getTestClass())) { 192 | id = id + "@" + DataMap.testClassMap.get(tr.getTestClass()); 193 | } else { 194 | int classId = generateRandomInt(); 195 | DataMap.testClassMap.put(tr.getTestClass(), classId); 196 | id = id + "@" + classId; 197 | } 198 | return id; 199 | } 200 | 201 | synchronized public static String prepareSuiteName(ITestResult tr) { 202 | return tr.getTestContext().getSuite().getName(); 203 | } 204 | 205 | synchronized public static String prepareClassName(ITestResult tr) { 206 | return tr.getTestClass().getName(); // might be same as tr.getTestName() 207 | } 208 | 209 | synchronized public static String prepareContext(ITestResult tr) { 210 | return tr.getTestContext().toString(); 211 | } 212 | 213 | synchronized public static String prepareLatestSuiteState(ITestResult tr) { 214 | return (tr.getTestContext().getSuite().getSuiteState().isFailed()) ? "Fail" : "Pass"; 215 | } 216 | 217 | synchronized public static String prepareInstance(ITestResult tr) { 218 | return tr.getInstanceName(); // might be same as 219 | // tr.getInstance().toString() 220 | } 221 | 222 | synchronized public static List prepareContextGroupList(ITestResult tr) { 223 | return Arrays.asList(tr.getTestContext().getIncludedGroups()); 224 | } 225 | 226 | synchronized public static String prepareMethodName(ITestResult tr) { 227 | return tr.getMethod().getMethodName(); 228 | } 229 | 230 | synchronized public static List prepareMethodParameterList(ITestResult tr) { 231 | List params = new ArrayList(); 232 | for (Object param : tr.getParameters()) { 233 | params.add(param.toString()); 234 | } 235 | return (params.isEmpty()) ? null : params; 236 | } 237 | 238 | synchronized public static List prepareMethodGroupList(ITestResult tr) { 239 | return Arrays.asList(tr.getMethod().getGroups()); 240 | } 241 | 242 | synchronized public static int prepareMethodInvocationTotalCount(ITestResult tr) { 243 | return tr.getMethod().getInvocationCount(); 244 | } 245 | 246 | synchronized public static int prepareThreadCount(ITestResult tr) { 247 | return tr.getMethod().getThreadPoolSize(); 248 | } 249 | 250 | synchronized public static int prepareCurrentInvocationCount(ITestResult tr) { 251 | return tr.getMethod().getCurrentInvocationCount(); 252 | } 253 | 254 | synchronized public static String prepareMethodStatus(ITestResult tr) { 255 | int status_int = 0; 256 | String status = null; 257 | status_int = tr.getStatus(); 258 | switch (status_int) { 259 | case 1: 260 | status = "PASS"; 261 | break; 262 | case 2: 263 | status = "FAIL"; 264 | break; 265 | default: 266 | status = "SKIP"; 267 | break; 268 | } 269 | return status; 270 | } 271 | 272 | synchronized public static String prepareMethodStartTime(ITestResult tr) { 273 | return convertMilisecondsToTimeString(tr.getStartMillis()); 274 | } 275 | 276 | synchronized public static String prepareMethodEndTime(ITestResult tr) { 277 | return convertMilisecondsToTimeString(tr.getEndMillis()); 278 | } 279 | 280 | synchronized public static long prepareMethodExecutionTime(ITestResult tr) { 281 | long time = tr.getEndMillis() - tr.getStartMillis(); 282 | return time; 283 | } 284 | 285 | synchronized public static String prepareErrorCause(ITestResult tr) { 286 | String error = null; 287 | if (tr.getThrowable() != null) { 288 | error = getStackStraceInformation(tr.getThrowable()); 289 | } 290 | return error; 291 | } 292 | 293 | /* 294 | * synchronized public static String prepareScreenshotFile(ITestResult tr){ 295 | * String path = null; ITestContext key = tr.getTestContext(); 296 | * if(ScreenshotDataMap.dataMap.containsKey(key)){ path = 297 | * ScreenshotDataMap.dataMap.get(key); } return path; } 298 | */ 299 | 300 | private static String convertMilisecondsToTimeString(long miliseconds) { 301 | String time = null; 302 | Date date = new Date(miliseconds); 303 | DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss"); 304 | time = dateFormat.format(date); 305 | return time; 306 | } 307 | 308 | private static String getStackStraceInformation(Throwable th){ 309 | String stack = null; 310 | StringBuilder sb = new StringBuilder(); 311 | String message = th.getMessage(); 312 | if(message != null){ 313 | sb.append(message+"\n"); 314 | } 315 | for (StackTraceElement iTestStackTrace : th.getStackTrace()) { 316 | sb.append("\t\t\t\t\t\t"+iTestStackTrace.toString()+"\n"); 317 | } 318 | stack = sb.toString(); 319 | return stack; 320 | } 321 | 322 | /* 323 | * private static String formatedTimeDuration(long duration) { int hrs = 324 | * (int) TimeUnit.MILLISECONDS.toHours(duration) % 24; int min = (int) 325 | * TimeUnit.MILLISECONDS.toMinutes(duration) % 60; int sec = (int) 326 | * TimeUnit.MILLISECONDS.toSeconds(duration) % 60; int milli = (int) 327 | * TimeUnit.MILLISECONDS.toMillis(duration)%1000; return 328 | * String.format("%02d:%02d:%02d.%02d", hrs, min, sec, milli); } 329 | */ 330 | 331 | public static int generateRandomInt() { 332 | int otp = 10000; 333 | Random r = new Random(System.currentTimeMillis()); 334 | otp = (1 + r.nextInt(2)) * 10000 + r.nextInt(10000); 335 | return otp; 336 | } 337 | 338 | synchronized public static String prepareAnnoatationName(ITestResult tr) { 339 | String annoatationName = null; 340 | if (tr.getMethod().isAfterClassConfiguration()) 341 | annoatationName = "AfterClassConfiguration_Method"; 342 | else if (tr.getMethod().isAfterGroupsConfiguration()) 343 | annoatationName = "AfterClassConfiguration_Method"; 344 | else if (tr.getMethod().isAfterGroupsConfiguration()) 345 | annoatationName = "AfterClassConfiguration_Method"; 346 | else if (tr.getMethod().isAfterSuiteConfiguration()) 347 | annoatationName = "AfterSuiteConfiguration_Method"; 348 | else if (tr.getMethod().isAfterTestConfiguration()) 349 | annoatationName = "AfterTestConfiguration_Method"; 350 | else if (tr.getMethod().isBeforeClassConfiguration()) 351 | annoatationName = "BeforeClassConfiguration_Method"; 352 | else if (tr.getMethod().isBeforeGroupsConfiguration()) 353 | annoatationName = "BeforeGroupsConfiguration_Method"; 354 | else if (tr.getMethod().isBeforeMethodConfiguration()) 355 | annoatationName = "BeforeMethodConfiguration_Method"; 356 | else if (tr.getMethod().isBeforeSuiteConfiguration()) 357 | annoatationName = "BeforeSuiteConfiguration_Method"; 358 | else if (tr.getMethod().isBeforeTestConfiguration()) 359 | annoatationName = "BeforeTestConfiguration_Method"; 360 | else if (tr.getMethod().isTest()) 361 | annoatationName = "Test_Method"; 362 | else 363 | annoatationName = "Unknown"; 364 | 365 | return annoatationName; 366 | } 367 | } 368 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/datahandler/DataSuite.java: -------------------------------------------------------------------------------- 1 | package report.realtime.datahandler; 2 | 3 | public class DataSuite implements Comparable { 4 | 5 | private int suiteIndex = 0; 6 | private String suiteName = null; 7 | private String suiteHTMLPath = null; 8 | 9 | public DataSuite(int suiteIndex, String suiteName, String suiteHTMLPath) { 10 | this.suiteIndex = suiteIndex; 11 | this.suiteName = suiteName; 12 | this.suiteHTMLPath = suiteHTMLPath; 13 | } 14 | 15 | public int getSuiteIndex() { 16 | return suiteIndex; 17 | } 18 | 19 | public void setSuiteIndex(int suiteIndex) { 20 | this.suiteIndex = suiteIndex; 21 | } 22 | 23 | public String getSuiteName() { 24 | return suiteName; 25 | } 26 | 27 | public void setSuiteName(String suiteName) { 28 | this.suiteName = suiteName; 29 | } 30 | 31 | public String getSuiteHTMLPath() { 32 | return suiteHTMLPath; 33 | } 34 | 35 | public void setSuiteHTMLPath(String suiteHTMLPath) { 36 | this.suiteHTMLPath = suiteHTMLPath; 37 | } 38 | 39 | @Override 40 | public int compareTo(DataSuite ds) { 41 | return this.getSuiteHTMLPath().compareTo(ds.getSuiteHTMLPath()); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/filehandler/CDATAContentHandler.java: -------------------------------------------------------------------------------- 1 | package report.realtime.filehandler; 2 | 3 | import java.io.IOException; 4 | import java.io.Writer; 5 | import java.util.regex.Pattern; 6 | 7 | import org.xml.sax.SAXException; 8 | 9 | import com.sun.xml.txw2.output.XMLWriter; 10 | 11 | public class CDATAContentHandler extends XMLWriter { 12 | public CDATAContentHandler(Writer writer, String encoding) throws IOException { 13 | super(writer, encoding); 14 | } 15 | 16 | // see http://www.w3.org/TR/xml/#syntax 17 | private static final Pattern XML_CHARS = Pattern.compile("[<>&]"); 18 | 19 | public void characters(char[] ch, int start, int length) throws SAXException { 20 | boolean useCData = XML_CHARS.matcher(new String(ch, start, length)).find(); 21 | if (useCData) { 22 | super.startCDATA(); 23 | } 24 | super.characters(ch, start, length); 25 | if (useCData) { 26 | super.endCDATA(); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/filehandler/CreateFiles.java: -------------------------------------------------------------------------------- 1 | package report.realtime.filehandler; 2 | 3 | import java.io.BufferedReader; 4 | import java.io.File; 5 | import java.io.FileNotFoundException; 6 | import java.io.FileOutputStream; 7 | import java.io.IOException; 8 | import java.io.InputStream; 9 | import java.io.InputStreamReader; 10 | import java.io.OutputStream; 11 | import java.io.PrintWriter; 12 | import java.net.URISyntaxException; 13 | import java.net.URL; 14 | import java.nio.charset.StandardCharsets; 15 | import java.nio.file.Files; 16 | import java.nio.file.Paths; 17 | import java.nio.file.StandardCopyOption; 18 | import java.util.ArrayList; 19 | import java.util.Enumeration; 20 | import java.util.List; 21 | import java.util.jar.JarEntry; 22 | import java.util.jar.JarFile; 23 | 24 | import org.testng.ISuite; 25 | 26 | import report.realtime.datahandler.DataMap; 27 | import report.realtime.datahandler.DataPreparator; 28 | import report.realtime.datahandler.DataSuite; 29 | 30 | public class CreateFiles { 31 | 32 | private static String REPORT_DIR; 33 | private static String HTML_RESOURCE_DIR; 34 | 35 | static{ 36 | REPORT_DIR = FileNameConstants.PROJECT_DIR + File.separator + FileNameConstants.TARGET_FOLDER + 37 | File.separator + FileNameConstants.ROOT_FOLDER + File.separator; 38 | HTML_RESOURCE_DIR = FileNameConstants.RESOURCE_FOLDER + File.separator; 39 | } 40 | 41 | synchronized public static void createRequiredFolders(ISuite iSuite) { 42 | /* 43 | * STEP 1: If RootResult folder, i.e - 'RealtimeReport', does not exist, 44 | * create it 45 | */ 46 | ; 47 | if (!new File(REPORT_DIR).exists()) { 48 | new File(REPORT_DIR).mkdir(); 49 | } 50 | /* 51 | * STEP 2: create css, fonts, image, js folders under RootResult folder, 52 | * i.e - 'RealtimeReport' 53 | */ 54 | createFolderUnder(REPORT_DIR + FileNameConstants.CSS_FOLDER); 55 | createFolderUnder(REPORT_DIR + FileNameConstants.FONT_FOLDER); 56 | createFolderUnder(REPORT_DIR + FileNameConstants.IMAGE_FOLDER); 57 | createFolderUnder(REPORT_DIR + FileNameConstants.JS_FOLDER); 58 | createFolderUnder(REPORT_DIR + FileNameConstants.XSL_FOLDER); 59 | 60 | /* 61 | * STEP 3: get all the resource files from 'html-rsc' folder 62 | */ 63 | 64 | String[] css_files = getFilesUnder(HTML_RESOURCE_DIR + FileNameConstants.CSS_FOLDER); 65 | String[] font_files = getFilesUnder(HTML_RESOURCE_DIR + FileNameConstants.FONT_FOLDER); 66 | String[] img_files = getFilesUnder(HTML_RESOURCE_DIR + FileNameConstants.IMAGE_FOLDER); 67 | String[] js_files = getFilesUnder(HTML_RESOURCE_DIR + FileNameConstants.JS_FOLDER); 68 | String[] xsl = getFilesUnder(HTML_RESOURCE_DIR + FileNameConstants.XSL_FOLDER); 69 | /* 70 | * STEP 4: put all the resource files to the respective folders under 71 | * RootResult folder, i.e - 'RealtimeReport' which is already created at 72 | * step 2. 73 | */ 74 | 75 | copyFilesToDestination(css_files, REPORT_DIR + FileNameConstants.CSS_FOLDER); 76 | copyFilesToDestination(font_files, REPORT_DIR + FileNameConstants.FONT_FOLDER); 77 | copyFilesToDestination(img_files, REPORT_DIR + FileNameConstants.IMAGE_FOLDER); 78 | copyFilesToDestination(js_files, REPORT_DIR + FileNameConstants.JS_FOLDER); 79 | copyFilesToDestination(xsl, REPORT_DIR + FileNameConstants.XSL_FOLDER); 80 | /* 81 | * STEP 5: Put values related to current suite at a set, 'suiteSet' 82 | */ 83 | if (DataMap.suiteMap.containsKey(iSuite)) { 84 | int suiteIndex = DataMap.suiteMap.get(iSuite); 85 | String suiteName = DataPreparator.prepareSuiteName(iSuite); 86 | DataSuite ds = new DataSuite(suiteIndex, suiteName, FileNameConstants.DASHBOARD_HTML + "-" + suiteIndex + ".html"); 87 | DataMap.suiteSet.add(ds); 88 | } 89 | 90 | /* 91 | * STEP 6: Finally create index.html page and one dashboard.html page per suite 92 | */ 93 | createIndexPage(); 94 | createBlankDashboardPage(); 95 | } 96 | 97 | synchronized private static void copyFilesToDestination(String[] files, String destDirPath) { 98 | if (files.length > 0) { 99 | ClassLoader classLoader = CreateFiles.class.getClassLoader(); 100 | if (classLoader.getResource(HTML_RESOURCE_DIR).getProtocol().contains("jar")) { 101 | URL jar = CreateFiles.class.getProtectionDomain().getCodeSource().getLocation(); 102 | try(JarFile jarFile = new JarFile(new File(jar.toURI()))){ 103 | final Enumeration entries = jarFile.entries(); 104 | while (entries.hasMoreElements()) { 105 | final JarEntry entry = entries.nextElement(); 106 | for (String file : files) { 107 | if (entry.getName().startsWith(file) && !entry.isDirectory()) { 108 | final File dest = new File(REPORT_DIR, entry.getName().substring(file.indexOf(File.separator)+1, file.length())); 109 | final File parent = dest.getParentFile(); 110 | if (parent != null) { 111 | parent.mkdirs(); 112 | } 113 | writeToFile(jarFile.getInputStream(entry), dest); 114 | } 115 | } 116 | } 117 | } catch (URISyntaxException | IOException e) { 118 | e.printStackTrace(); 119 | } 120 | } else { 121 | for (int i = 0; i < files.length; i++) { 122 | try { 123 | Files.copy(Paths.get(files[i]), 124 | Paths.get(destDirPath + files[i].substring(files[i].lastIndexOf(File.separator))), 125 | StandardCopyOption.REPLACE_EXISTING); 126 | } catch (IOException e) { 127 | e.printStackTrace(); 128 | } 129 | } 130 | } 131 | } 132 | } 133 | 134 | synchronized private static void createFolderUnder(String dirPath) { 135 | if (!new File(dirPath).exists()) { 136 | new File(dirPath).mkdir(); 137 | } 138 | } 139 | 140 | synchronized private static String[] getFilesUnder(String dirPath) { 141 | String[] files = null; 142 | ClassLoader classLoader = CreateFiles.class.getClassLoader(); 143 | List fileList = new ArrayList(); 144 | if (classLoader.getResource(dirPath).getProtocol().contains("jar")) { 145 | URL jar = CreateFiles.class.getProtectionDomain().getCodeSource().getLocation(); 146 | try(JarFile jarFile = new JarFile(new File(jar.toURI()))) { 147 | final Enumeration entries = jarFile.entries(); 148 | while (entries.hasMoreElements()) { 149 | final JarEntry entry = entries.nextElement(); 150 | if (entry.getName().startsWith(dirPath) && !entry.isDirectory()) { 151 | fileList.add(entry.getName()); 152 | } 153 | } 154 | } catch (URISyntaxException | IOException e) { 155 | e.printStackTrace(); 156 | } 157 | } else { 158 | try(BufferedReader bufferedReader = new BufferedReader( 159 | new InputStreamReader(CreateFiles.class.getClassLoader().getResourceAsStream(dirPath), StandardCharsets.UTF_8))) { 160 | String line = bufferedReader.readLine(); 161 | while(line != null) { 162 | String filePath = dirPath + File.separator + line; 163 | URL url = CreateFiles.class.getClassLoader().getResource(filePath); 164 | File file = Paths.get(url.toURI()).toFile(); 165 | fileList.add(file.toString()); 166 | line = bufferedReader.readLine(); 167 | } 168 | 169 | } catch (URISyntaxException | IOException e) { 170 | e.printStackTrace(); 171 | } 172 | } 173 | files = fileList.toArray(new String[0]); 174 | return files; 175 | } 176 | 177 | synchronized private static void createIndexPage() { 178 | String index_HTML = REPORT_DIR + FileNameConstants.INDEX_HTML; 179 | if (new File(index_HTML).exists()) { 180 | new File(index_HTML).delete(); 181 | } 182 | PrintWriter pw = null; 183 | try { 184 | pw = new PrintWriter(new FileOutputStream(new File(index_HTML), false)); 185 | } catch (FileNotFoundException e) { 186 | } 187 | if (pw != null) { 188 | pw.write(FileNameConstants.INDEX_HEADER); 189 | pw.write(FileNameConstants.INDEX_BODY_PRE); 190 | for (DataSuite ds : DataMap.suiteSet) { 191 | pw.write(" " + ds.getSuiteName() 193 | + "
"); 194 | } 195 | pw.write(FileNameConstants.INDEX_BODY_POST); 196 | pw.flush(); 197 | pw.close(); 198 | } 199 | } 200 | 201 | /** 202 | * Method will create a dashboard.html page per suite. This page 203 | * will contain only one line - "You are too quick. Please Wait for at least 1 test to end..." 204 | * and will set to auto refresh in every 3sec. 205 | */ 206 | synchronized private static void createBlankDashboardPage(){ 207 | for (DataSuite ds : DataMap.suiteSet){ 208 | String dashboradHtml = REPORT_DIR + ds.getSuiteHTMLPath(); 209 | if (new File(dashboradHtml).exists()) { 210 | new File(dashboradHtml).delete(); 211 | } 212 | PrintWriter pw = null; 213 | try { 214 | pw = new PrintWriter(new FileOutputStream( 215 | new File(dashboradHtml), false)); 216 | } catch (FileNotFoundException e) { 217 | } 218 | if (pw != null) { 219 | pw.write("" + "" + "" + "Dashboard" 220 | + "" 221 | + "" + "" 222 | + "" + "
" 223 | + "You are too quick. Please Wait for at least 1 test to end...
" 224 | + "" + ""); 225 | pw.flush(); 226 | pw.close(); 227 | 228 | } 229 | } 230 | } 231 | 232 | synchronized private static void writeToFile(final InputStream input, final File target){ 233 | try(OutputStream output = Files.newOutputStream(target.toPath())){ 234 | byte[] buffer = new byte[8 * 1024]; 235 | int length = input.read(buffer); 236 | while (length > 0) { 237 | output.write(buffer, 0, length); 238 | length = input.read(buffer); 239 | } 240 | input.close(); 241 | } catch (IOException e) { 242 | e.printStackTrace(); 243 | } 244 | } 245 | } -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/filehandler/CreateHTML.java: -------------------------------------------------------------------------------- 1 | package report.realtime.filehandler; 2 | 3 | import java.io.File; 4 | import java.io.FileNotFoundException; 5 | import java.io.FileOutputStream; 6 | import java.io.OutputStream; 7 | 8 | import javax.xml.transform.Source; 9 | import javax.xml.transform.Transformer; 10 | import javax.xml.transform.TransformerException; 11 | import javax.xml.transform.TransformerFactory; 12 | import javax.xml.transform.stream.StreamResult; 13 | import javax.xml.transform.stream.StreamSource; 14 | 15 | import org.testng.ISuite; 16 | import org.testng.ITestResult; 17 | 18 | import report.realtime.datahandler.DataMap; 19 | 20 | public class CreateHTML extends CreateFiles { 21 | 22 | private static final String DASHBOARD_XSL_PATH = FileNameConstants.PROJECT_DIR + File.separator + 23 | FileNameConstants.TARGET_FOLDER + File.separator + 24 | FileNameConstants.ROOT_FOLDER + File.separator + 25 | FileNameConstants.XSL_FOLDER + File.separator + 26 | FileNameConstants.DASHBOARD_XSL; 27 | private static String XML_PATH = null; 28 | 29 | synchronized public static void createHtmlFiles(ITestResult tr) { 30 | ISuite iSuite = tr.getTestContext().getSuite(); 31 | int suiteIndex = 0; 32 | String rootfolder = System.getProperty("user.dir") + "/target/"+ FileNameConstants.ROOT_FOLDER + "/"; 33 | if (DataMap.suiteMap.containsKey(iSuite)) { 34 | suiteIndex = DataMap.suiteMap.get(iSuite); 35 | XML_PATH = FileNameConstants.PROJECT_DIR + File.separator + 36 | FileNameConstants.TARGET_FOLDER + File.separator + 37 | FileNameConstants.ROOT_FOLDER + File.separator + 38 | FileNameConstants.XML_FILE_NAME + "-" + suiteIndex + ".xml"; 39 | String dashboardHtmlPath = rootfolder + FileNameConstants.DASHBOARD_HTML + "-" + suiteIndex + ".html"; 40 | createHTML(dashboardHtmlPath); 41 | } else { 42 | // log error 43 | } 44 | } 45 | 46 | synchronized private static void createHTML(String htmlPath) { 47 | TransformerFactory tFactory = TransformerFactory.newInstance(); 48 | Source xslDoc = new StreamSource(DASHBOARD_XSL_PATH); 49 | Source xmlDoc = new StreamSource(XML_PATH); 50 | Transformer transformer = null; 51 | OutputStream htmlFile = null; 52 | try { 53 | htmlFile = new FileOutputStream(htmlPath); 54 | } catch (FileNotFoundException e) { 55 | e.printStackTrace(); 56 | } 57 | try { 58 | transformer = tFactory.newTransformer(xslDoc); 59 | transformer.transform(xmlDoc, new StreamResult(htmlFile)); 60 | } catch (TransformerException te) { 61 | te.printStackTrace(); 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/filehandler/CreateXML.java: -------------------------------------------------------------------------------- 1 | package report.realtime.filehandler; 2 | 3 | import java.io.BufferedWriter; 4 | import java.io.File; 5 | import java.io.FileOutputStream; 6 | import java.io.IOException; 7 | import java.io.OutputStreamWriter; 8 | import java.io.StringWriter; 9 | import java.nio.charset.StandardCharsets; 10 | 11 | import javax.xml.bind.JAXBContext; 12 | import javax.xml.bind.JAXBException; 13 | import javax.xml.bind.Marshaller; 14 | 15 | import org.testng.ISuite; 16 | import org.testng.ITestResult; 17 | 18 | 19 | import report.realtime.datahandler.DataMap; 20 | import report.realtime.result.ConsolidatedResult; 21 | 22 | public class CreateXML { 23 | 24 | synchronized public static void writeXML(ISuite iSuite, ConsolidatedResult result) { 25 | String rootFolder = FileNameConstants.PROJECT_DIR + File.separator + 26 | FileNameConstants.TARGET_FOLDER + File.separator + 27 | FileNameConstants.ROOT_FOLDER; 28 | if (!new File(rootFolder).exists()) { 29 | new File(rootFolder).mkdir(); 30 | } 31 | int suiteIndex = 0; 32 | if (DataMap.suiteMap.containsKey(iSuite)) { 33 | suiteIndex = DataMap.suiteMap.get(iSuite); 34 | } 35 | String xmlFilePath = FileNameConstants.PROJECT_DIR + File.separator + 36 | FileNameConstants.TARGET_FOLDER + File.separator + 37 | FileNameConstants.ROOT_FOLDER + File.separator + 38 | FileNameConstants.XML_FILE_NAME + "-" + suiteIndex + ".xml"; 39 | if (new File(xmlFilePath).exists()) { 40 | new File(xmlFilePath).delete(); 41 | } 42 | JAXBContext jaxbContext; 43 | try(BufferedWriter bufferWriter = new BufferedWriter( 44 | new OutputStreamWriter(new FileOutputStream(xmlFilePath, false), StandardCharsets.UTF_8))) { 45 | jaxbContext = JAXBContext.newInstance(ConsolidatedResult.class); 46 | Marshaller jaxbMarshaller = jaxbContext.createMarshaller(); 47 | StringWriter sw = new StringWriter(); 48 | CDATAContentHandler cDataContentHandler = new CDATAContentHandler(sw, StandardCharsets.UTF_8.name()); 49 | jaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); 50 | jaxbMarshaller.marshal(result, cDataContentHandler); 51 | bufferWriter.write(sw.toString()); 52 | } catch (JAXBException | IOException e) { 53 | e.printStackTrace(); 54 | } 55 | } 56 | 57 | synchronized public static void writeXML(ITestResult tr, ConsolidatedResult result) { 58 | ISuite iSuite = tr.getTestContext().getSuite(); 59 | writeXML(iSuite, result); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/filehandler/FileNameConstants.java: -------------------------------------------------------------------------------- 1 | package report.realtime.filehandler; 2 | 3 | public class FileNameConstants { 4 | 5 | /* 6 | * Folder name constants 7 | */ 8 | 9 | public static final String PROJECT_DIR = System.getProperty("user.dir"); 10 | 11 | public static final String ROOT_FOLDER = "RealtimeReport"; 12 | 13 | public static final String TARGET_FOLDER = "target"; 14 | 15 | public static final String SUITE_FOLDER_PREFIX = "Suite"; 16 | 17 | public static final String SUITE_FOLDER_SUFFIX = "_Report"; 18 | 19 | public static final String HYPHEN = "-"; 20 | 21 | public static final String CSS_FOLDER = "css"; 22 | 23 | public static final String JS_FOLDER = "js"; 24 | 25 | public static final String FONT_FOLDER = "fonts"; 26 | 27 | public static final String IMAGE_FOLDER = "image"; 28 | 29 | public static final String XML_FOLDER = "xml"; 30 | 31 | public static final String XSL_FOLDER = "xsl"; 32 | 33 | public static final String RESOURCE_FOLDER = "html-rsc"; 34 | 35 | /* 36 | * XML file name used in CreateXML class 37 | */ 38 | 39 | public static final String XML_FILE_NAME = "realTimeResults"; 40 | 41 | /* 42 | * XSL file name used in CreateHTML class 43 | */ 44 | 45 | public static final String DASHBOARD_XSL = "dashboard.xsl"; 46 | 47 | /* 48 | * public static final String GROUP_PAGE_XSL = "group-page.xsl"; 49 | * 50 | * public static final String CLASS_PAGE_XSL = "class-page.xsl"; 51 | */ 52 | 53 | public static final String DASHBOARD_HTML = "dashboard"; 54 | 55 | public static final String INDEX_HTML = "index.html"; 56 | 57 | /* 58 | * public static final String GROUP_PAGE_HTML = "bygroup.html"; 59 | * 60 | * public static final String CLASS_PAGE_HTML = "byclass.html"; 61 | */ 62 | 63 | /* 64 | * index.html static content 65 | */ 66 | 67 | public static final String INDEX_HEADER = "" + "" + "" + "Real Time Report" 68 | + "" 69 | + "" 70 | + "" 71 | + "" 72 | + "" 73 | + "" + "" 74 | + ""; 75 | 76 | public static final String INDEX_BODY_PRE = "" + "
" 77 | + "
" + "
" + "
" 78 | + "
" + "

Real Time Report

" 79 | + "
"; 80 | 81 | public static final String INDEX_BODY_POST = "
" + "
" + "
" + "
" + "
" + "" 82 | + ""; 83 | } 84 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/listener/RealTimeTestResultListener.java: -------------------------------------------------------------------------------- 1 | package report.realtime.listener; 2 | 3 | import org.testng.ISuite; 4 | import org.testng.ISuiteListener; 5 | import org.testng.ITestResult; 6 | import org.testng.TestListenerAdapter; 7 | 8 | import report.realtime.datahandler.DataMap; 9 | import report.realtime.filehandler.CreateFiles; 10 | import report.realtime.filehandler.CreateHTML; 11 | import report.realtime.filehandler.CreateXML; 12 | import report.realtime.result.ConsolidatedResult; 13 | import report.realtime.xmlhandler.XMLGenerator; 14 | 15 | /** 16 | * A simple wrapper class of TestListenerAdapter which implements ISuiteListener of TestNG. 17 | * It helps to gather all the Test Results onTestSuccess, onTestFailure, onTestSkipped 18 | * and onConfigurationFailure. This class also trigger the generation of html file 19 | * through which the test report will be displayed. 20 | * 21 | */ 22 | public class RealTimeTestResultListener extends TestListenerAdapter implements ISuiteListener { 23 | 24 | private ConsolidatedResult consolidatedResult; 25 | 26 | private int suiteIndex = 0; 27 | 28 | @Override 29 | public void onFinish(ISuite arg0) { 30 | } 31 | 32 | /** 33 | * Checks whether current xml-suite has any child suites, depending on 34 | * which the related Result folders will be created. i.e - If there are 35 | * 2 testng.xml files and they are being called by another parent xml 36 | * file, only 2 subsequent result folders will be generated under 37 | * "RealtimeReport" folder. 38 | */ 39 | @Override 40 | public void onStart(ISuite suite) { 41 | if (suite.getXmlSuite().getChildSuites().size() == 0) { 42 | if (!DataMap.suiteMap.containsKey(suite)) { 43 | suiteIndex++; 44 | DataMap.suiteMap.put(suite, suiteIndex); 45 | consolidatedResult = new ConsolidatedResult(); 46 | } 47 | CreateFiles.createRequiredFolders(suite); 48 | XMLGenerator.generateResultXML(suite, consolidatedResult); 49 | CreateXML.writeXML(suite, consolidatedResult); 50 | } 51 | } 52 | 53 | @Override 54 | public void onTestStart(ITestResult result) { 55 | super.onTestStart(result); 56 | } 57 | 58 | @Override 59 | public void onTestSuccess(ITestResult tr) { 60 | XMLGenerator.generateResultXML(tr, consolidatedResult); 61 | CreateXML.writeXML(tr, consolidatedResult); 62 | CreateHTML.createHtmlFiles(tr); 63 | super.onTestSuccess(tr); 64 | } 65 | 66 | @Override 67 | public void onTestFailure(ITestResult tr) { 68 | XMLGenerator.generateResultXML(tr, consolidatedResult); 69 | CreateXML.writeXML(tr, consolidatedResult); 70 | CreateHTML.createHtmlFiles(tr); 71 | super.onTestFailure(tr); 72 | } 73 | 74 | @Override 75 | public void onTestSkipped(ITestResult tr) { 76 | XMLGenerator.generateResultXML(tr, consolidatedResult); 77 | CreateXML.writeXML(tr, consolidatedResult); 78 | CreateHTML.createHtmlFiles(tr); 79 | super.onTestSkipped(tr); 80 | } 81 | 82 | @Override 83 | public void onConfigurationFailure(ITestResult itr) { 84 | XMLGenerator.generateResultXML(itr, consolidatedResult); 85 | CreateXML.writeXML(itr, consolidatedResult); 86 | CreateHTML.createHtmlFiles(itr); 87 | super.onConfigurationFailure(itr); 88 | } 89 | } -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/result/ConsolidatedResult.java: -------------------------------------------------------------------------------- 1 | package report.realtime.result; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | import java.util.Set; 6 | import java.util.concurrent.ConcurrentSkipListSet; 7 | 8 | import javax.xml.bind.annotation.XmlAccessType; 9 | import javax.xml.bind.annotation.XmlAccessorType; 10 | import javax.xml.bind.annotation.XmlElement; 11 | import javax.xml.bind.annotation.XmlRootElement; 12 | 13 | @XmlRootElement(name = "testResults") 14 | @XmlAccessorType(XmlAccessType.FIELD) 15 | public class ConsolidatedResult { 16 | 17 | @XmlElement(name = "testResult") 18 | public List testResults = new ArrayList<>(); 19 | 20 | @XmlElement(name = "configurationMethod") 21 | public List configurationMethods = new ArrayList<>(); 22 | 23 | @XmlElement(name = "suites") 24 | public Set suites = new ConcurrentSkipListSet<>(); 25 | 26 | public List getTestResults() { 27 | return testResults; 28 | } 29 | 30 | public void setTestResults(List testResults) { 31 | this.testResults = testResults; 32 | } 33 | 34 | public List getConfigurationMethods() { 35 | return configurationMethods; 36 | } 37 | 38 | public void setConfigurationMethods(List configurationMethods) { 39 | this.configurationMethods = configurationMethods; 40 | } 41 | 42 | public Set getSuites() { 43 | return suites; 44 | } 45 | 46 | public void setSuites(Set suites) { 47 | this.suites = suites; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/result/ExMethodResultDTO.java: -------------------------------------------------------------------------------- 1 | package report.realtime.result; 2 | 3 | import javax.xml.bind.annotation.XmlAccessType; 4 | import javax.xml.bind.annotation.XmlAccessorType; 5 | import javax.xml.bind.annotation.XmlAttribute; 6 | import javax.xml.bind.annotation.XmlElement; 7 | 8 | @XmlAccessorType(XmlAccessType.FIELD) 9 | public class ExMethodResultDTO { 10 | 11 | @XmlAttribute(name = "dataProvider") 12 | private int dataProvider = 1; 13 | 14 | @XmlElement(name = "excludedMethod") 15 | private String excludedMethod = null; 16 | 17 | public int getDataProvider() { 18 | return dataProvider; 19 | } 20 | 21 | public void setDataProvider(int dataProvider) { 22 | this.dataProvider = dataProvider; 23 | } 24 | 25 | public String getExcludedMethod() { 26 | return excludedMethod; 27 | } 28 | 29 | public void setExcludedMethod(String excludedMethod) { 30 | this.excludedMethod = excludedMethod; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/result/MethodResultDTO.java: -------------------------------------------------------------------------------- 1 | package report.realtime.result; 2 | 3 | import javax.xml.bind.annotation.XmlAccessType; 4 | import javax.xml.bind.annotation.XmlAccessorType; 5 | import javax.xml.bind.annotation.XmlAttribute; 6 | import javax.xml.bind.annotation.XmlElement; 7 | 8 | @XmlAccessorType(XmlAccessType.FIELD) 9 | public class MethodResultDTO { 10 | 11 | @XmlAttribute(name = "dataProvider") 12 | private int dataProvider = 1; 13 | 14 | @XmlElement(name = "testMethod") 15 | private String testMethod = null; 16 | 17 | public int getDataProvider() { 18 | return dataProvider; 19 | } 20 | 21 | public void setDataProvider(int dataProvider) { 22 | this.dataProvider = dataProvider; 23 | } 24 | 25 | public String getTestMethod() { 26 | return testMethod; 27 | } 28 | 29 | public void setTestMethod(String testMethod) { 30 | this.testMethod = testMethod; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/result/SuiteResultDTO.java: -------------------------------------------------------------------------------- 1 | package report.realtime.result; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | import java.util.Set; 6 | 7 | import javax.xml.bind.annotation.XmlAccessType; 8 | import javax.xml.bind.annotation.XmlAccessorType; 9 | import javax.xml.bind.annotation.XmlElement; 10 | import javax.xml.bind.annotation.XmlElementWrapper; 11 | 12 | @XmlAccessorType(XmlAccessType.FIELD) 13 | public class SuiteResultDTO implements Comparable { 14 | 15 | @XmlElementWrapper(name = "suiteNames") 16 | @XmlElement(name = "suiteName") 17 | private Set suiteNames = null; 18 | private String currentSuiteName = null; 19 | private String remoteHost = null; 20 | 21 | @XmlElement(name = "excludedMethods") 22 | private List excludedMethods = new ArrayList(); 23 | 24 | @XmlElementWrapper(name = "groups") 25 | @XmlElement(name = "group") 26 | private List groups = new ArrayList(); 27 | private String parallel = null; 28 | 29 | @XmlElement(name = "testMethods") 30 | private List testMethods = new ArrayList(); 31 | 32 | @XmlElementWrapper(name = "invokedMethods") 33 | @XmlElement(name = "invokedMethod") 34 | private List invokedMethods = null; 35 | 36 | public Set getSuiteNames() { 37 | return suiteNames; 38 | } 39 | 40 | public void setSuiteNames(Set suiteNames) { 41 | this.suiteNames = suiteNames; 42 | } 43 | 44 | public String getCurrentSuiteName() { 45 | return currentSuiteName; 46 | } 47 | 48 | public void setCurrentSuiteName(String currentSuiteName) { 49 | this.currentSuiteName = currentSuiteName; 50 | } 51 | 52 | public String getRemoteHost() { 53 | return remoteHost; 54 | } 55 | 56 | public void setRemoteHost(String remoteHost) { 57 | this.remoteHost = remoteHost; 58 | } 59 | 60 | public List getExcludedMethods() { 61 | return excludedMethods; 62 | } 63 | 64 | public void setExcludedMethods(List excludedMethods) { 65 | this.excludedMethods = excludedMethods; 66 | } 67 | 68 | public List getGroups() { 69 | return groups; 70 | } 71 | 72 | public void setGroups(List groups) { 73 | this.groups = groups; 74 | } 75 | 76 | public String getParallel() { 77 | return parallel; 78 | } 79 | 80 | public void setParallel(String parallel) { 81 | this.parallel = parallel; 82 | } 83 | 84 | public List getTestMethods() { 85 | return testMethods; 86 | } 87 | 88 | public void setTestMethods(List testMethods) { 89 | this.testMethods = testMethods; 90 | } 91 | 92 | public List getInvokedMethods() { 93 | return invokedMethods; 94 | } 95 | 96 | public void setInvokedMethods(List invokedMethods) { 97 | this.invokedMethods = invokedMethods; 98 | } 99 | 100 | @Override 101 | public int compareTo(SuiteResultDTO o) { 102 | return this.getCurrentSuiteName().compareTo(o.getCurrentSuiteName()); 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/result/TestResultDTO.java: -------------------------------------------------------------------------------- 1 | package report.realtime.result; 2 | 3 | import java.util.List; 4 | 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlElementWrapper; 9 | 10 | @XmlAccessorType(XmlAccessType.FIELD) 11 | public class TestResultDTO { 12 | private String id = null; 13 | private String suiteName = null; 14 | private String className = null; 15 | private String context = null; 16 | private String instance = null; 17 | 18 | @XmlElementWrapper(name = "contextGroups") 19 | @XmlElement(name = "contextGroup") 20 | private List contextGroups = null; 21 | private String methodName = null; 22 | 23 | @XmlElementWrapper(name = "methodParameters") 24 | @XmlElement(name = "methodParameter") 25 | private List methodParameters = null; 26 | 27 | @XmlElementWrapper(name = "methodGroups") 28 | @XmlElement(name = "methodGroup") 29 | private List methodGroups = null; 30 | private int methodInvocationTotalCount; 31 | private int methodThreadCount; 32 | private int methodCurrentInvocationCount; 33 | private String methodStatus = null; 34 | private String methodExecutionStartTime = null; 35 | private String methodExecutionEndTime = null; 36 | private long methodExecutionTotalTime; 37 | private String methodErrorCause = null; 38 | private String screenshotFile = null; 39 | private String annotation = null; 40 | 41 | public String getId() { 42 | return id; 43 | } 44 | 45 | public void setId(String id) { 46 | this.id = id; 47 | } 48 | 49 | public String getSuiteName() { 50 | return suiteName; 51 | } 52 | 53 | public void setSuiteName(String suiteName) { 54 | this.suiteName = suiteName; 55 | } 56 | 57 | public String getClassName() { 58 | return className; 59 | } 60 | 61 | public void setClassName(String className) { 62 | this.className = className; 63 | } 64 | 65 | public String getContext() { 66 | return context; 67 | } 68 | 69 | public void setContext(String context) { 70 | this.context = context; 71 | } 72 | 73 | public String getInstance() { 74 | return instance; 75 | } 76 | 77 | public void setInstance(String instance) { 78 | this.instance = instance; 79 | } 80 | 81 | public List getContextGroups() { 82 | return contextGroups; 83 | } 84 | 85 | public void setContextGroups(List contextGroups) { 86 | this.contextGroups = contextGroups; 87 | } 88 | 89 | public String getMethodName() { 90 | return methodName; 91 | } 92 | 93 | public void setMethodName(String methodName) { 94 | this.methodName = methodName; 95 | } 96 | 97 | public List getMethodParameteres() { 98 | return methodParameters; 99 | } 100 | 101 | public void setMethodParameteres(List methodParameters) { 102 | this.methodParameters = methodParameters; 103 | } 104 | 105 | public List getMethodGroups() { 106 | return methodGroups; 107 | } 108 | 109 | public void setMethodGroups(List methodGroups) { 110 | this.methodGroups = methodGroups; 111 | } 112 | 113 | public int getMethodInvocationTotalCount() { 114 | return methodInvocationTotalCount; 115 | } 116 | 117 | public void setMethodInvocationTotalCount(int methodInvocationTotalCount) { 118 | this.methodInvocationTotalCount = methodInvocationTotalCount; 119 | } 120 | 121 | public int getMethodThreadCount() { 122 | return methodThreadCount; 123 | } 124 | 125 | public void setMethodThreadCount(int methodThreadCount) { 126 | this.methodThreadCount = methodThreadCount; 127 | } 128 | 129 | public int getMethodCurrentInvocationCount() { 130 | return methodCurrentInvocationCount; 131 | } 132 | 133 | public void setMethodCurrentInvocationCount(int methodCurrentInvocationCount) { 134 | this.methodCurrentInvocationCount = methodCurrentInvocationCount; 135 | } 136 | 137 | public String getMethodStatus() { 138 | return methodStatus; 139 | } 140 | 141 | public void setMethodStatus(String methodStatus) { 142 | this.methodStatus = methodStatus; 143 | } 144 | 145 | public String getMethodExecutionStartTime() { 146 | return methodExecutionStartTime; 147 | } 148 | 149 | public void setMethodExecutionStartTime(String methodExecutionStartTime) { 150 | this.methodExecutionStartTime = methodExecutionStartTime; 151 | } 152 | 153 | public String getMethodExecutionEndTime() { 154 | return methodExecutionEndTime; 155 | } 156 | 157 | public void setMethodExecutionEndTime(String methodExecutionEndTime) { 158 | this.methodExecutionEndTime = methodExecutionEndTime; 159 | } 160 | 161 | public long getMethodExecutionTotalTime() { 162 | return methodExecutionTotalTime; 163 | } 164 | 165 | public void setMethodExecutionTotalTime(long methodExecutionTotalTime) { 166 | this.methodExecutionTotalTime = methodExecutionTotalTime; 167 | } 168 | 169 | public String getMethodErrorCause() { 170 | return methodErrorCause; 171 | } 172 | 173 | public void setMethodErrorCause(String methodErrorCause) { 174 | this.methodErrorCause = methodErrorCause; 175 | } 176 | 177 | public String getScreenshotFile() { 178 | return screenshotFile; 179 | } 180 | 181 | public void setScreenshotFile(String screenshotFile) { 182 | this.screenshotFile = screenshotFile; 183 | } 184 | 185 | public String getAnnotation() { 186 | return annotation; 187 | } 188 | 189 | public void setAnnotation(String annotation) { 190 | this.annotation = annotation; 191 | } 192 | } 193 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/java/report/realtime/xmlhandler/XMLGenerator.java: -------------------------------------------------------------------------------- 1 | package report.realtime.xmlhandler; 2 | 3 | import org.testng.ISuite; 4 | import org.testng.ITestResult; 5 | 6 | import report.realtime.datahandler.DataPreparator; 7 | import report.realtime.result.ConsolidatedResult; 8 | import report.realtime.result.SuiteResultDTO; 9 | import report.realtime.result.TestResultDTO; 10 | 11 | public class XMLGenerator { 12 | 13 | synchronized public static void generateResultXML(ISuite iSuite, ConsolidatedResult consolidatedResult) { 14 | SuiteResultDTO suiteResultDTO = new SuiteResultDTO(); 15 | suiteResultDTO.setTestMethods(DataPreparator.prepareTestMethod(iSuite)); 16 | suiteResultDTO.setSuiteNames(DataPreparator.prepareSuiteNameList(iSuite)); 17 | suiteResultDTO.setExcludedMethods(DataPreparator.prepareExcludedTestMethod(iSuite)); 18 | suiteResultDTO.setGroups(DataPreparator.prepareMethodGroupSet(iSuite)); 19 | suiteResultDTO.setInvokedMethods(DataPreparator.prepareInvokedMethodList(iSuite)); 20 | suiteResultDTO.setParallel(DataPreparator.prepareParallelTestFor(iSuite)); 21 | suiteResultDTO.setRemoteHost(DataPreparator.prepareRemoteHost(iSuite)); 22 | suiteResultDTO.setCurrentSuiteName(DataPreparator.prepareSuiteName(iSuite)); 23 | // suiteResultDTO.setSuiteState(DataPreparator.pepareSuiteRunState(iSuite)); 24 | consolidatedResult.getSuites().add(suiteResultDTO); 25 | } 26 | 27 | synchronized public static void generateResultXML(ITestResult iTestResult, ConsolidatedResult consolidatedResult) { 28 | TestResultDTO testResultDTO = new TestResultDTO(); 29 | testResultDTO.setId(DataPreparator.prepareId(iTestResult)); 30 | testResultDTO.setClassName(DataPreparator.prepareClassName(iTestResult)); 31 | testResultDTO.setContext(DataPreparator.prepareContext(iTestResult)); 32 | testResultDTO.setContextGroups(DataPreparator.prepareContextGroupList(iTestResult)); 33 | testResultDTO.setInstance(DataPreparator.prepareInstance(iTestResult)); 34 | testResultDTO.setMethodCurrentInvocationCount(DataPreparator.prepareCurrentInvocationCount(iTestResult)); 35 | testResultDTO.setMethodErrorCause(DataPreparator.prepareErrorCause(iTestResult)); 36 | testResultDTO.setMethodExecutionEndTime(DataPreparator.prepareMethodEndTime(iTestResult)); 37 | testResultDTO.setMethodExecutionStartTime(DataPreparator.prepareMethodStartTime(iTestResult)); 38 | testResultDTO.setMethodExecutionTotalTime(DataPreparator.prepareMethodExecutionTime(iTestResult)); 39 | testResultDTO.setMethodGroups(DataPreparator.prepareMethodGroupList(iTestResult)); 40 | testResultDTO.setMethodInvocationTotalCount(DataPreparator.prepareMethodInvocationTotalCount(iTestResult)); 41 | testResultDTO.setMethodName(DataPreparator.prepareMethodName(iTestResult)); 42 | testResultDTO.setMethodParameteres(DataPreparator.prepareMethodParameterList(iTestResult)); 43 | testResultDTO.setMethodStatus(DataPreparator.prepareMethodStatus(iTestResult)); 44 | // testResultDTO.setSuiteState(DataPreparator.prepareLatestSuiteState(iTestResult)); 45 | testResultDTO.setMethodThreadCount(DataPreparator.prepareThreadCount(iTestResult)); 46 | testResultDTO.setSuiteName(DataPreparator.prepareSuiteName(iTestResult)); 47 | // TO DO = 48 | // testResultDTO.setScreenshotFile(DataPreparator.prepareScreenshotFile(iTestResult)); 49 | testResultDTO.setAnnotation(DataPreparator.prepareAnnoatationName(iTestResult)); 50 | if (iTestResult.getMethod().isTest()) { 51 | consolidatedResult.getTestResults().add(testResultDTO); 52 | } else { 53 | consolidatedResult.getConfigurationMethods().add(testResultDTO); 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/css/font-awesome.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.5.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"} 5 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/css/new-style.css: -------------------------------------------------------------------------------- 1 | .header-title{ 2 | color:#226065; 3 | } 4 | .gap-top-small{ 5 | padding-top: 20px; 6 | } 7 | .refresh{ 8 | color:#fff; 9 | float:right; 10 | } 11 | .time{ 12 | font-size:14px; 13 | color:#226065; 14 | padding-bottom:5px; 15 | } 16 | .int-rep{ 17 | text-align:right; 18 | padding-right:20px; 19 | padding-top:15px; 20 | vertical-align:middle; 21 | } 22 | .int-rep a{ 23 | color:#226065; 24 | text-decoration:none; 25 | } 26 | .head-colr { 27 | /*background-color: #f8f8f8;*/ 28 | background-color: #fff; 29 | border-color: #e7e7e7; 30 | } 31 | .bdy-clr{ 32 | background-color: #f8f8f8; 33 | } 34 | .complete-text{ 35 | font-size: 18px; 36 | color:#458B00; 37 | padding-left: 10px; 38 | } 39 | .rotator { 40 | font-size: 18px; 41 | color:#458B00; 42 | } 43 | .r3_counter_box { 44 | background: #ffffff none repeat scroll 0 0; 45 | min-height: 100px; 46 | position: relative; 47 | text-align: center; 48 | box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2); 49 | } 50 | .highlight{ 51 | color: #fff; 52 | } 53 | .highlight .title{ 54 | font-size: 16px; 55 | padding: 6px 5px 0.5px; 56 | } 57 | .left{ 58 | text-align: left; 59 | } 60 | .right{ 61 | text-align: right; 62 | } 63 | .panel-heading i.pass{ 64 | float: right; 65 | font-size: 22px; 66 | } 67 | .highlight p.number{ 68 | position: relative; 69 | top: -10; 70 | font-size: 65px; 71 | bottom: 0; 72 | float: right; 73 | right: -5px; 74 | } 75 | .font-800 { 76 | font-weight: 800; 77 | } 78 | .font-600 { 79 | font-weight: 600; 80 | } 81 | .blue{ 82 | background-color: #3598dc; 83 | } 84 | .red{ 85 | background-color: #e7505a; 86 | } 87 | .green{ 88 | background-color: #32c5d2; 89 | } 90 | .purple{ 91 | background-color: #8e44ad; 92 | } 93 | .gap-below { 94 | padding-bottom: 15px; 95 | } 96 | .fix-height { 97 | padding-right: 0px; 98 | height: 135px; 99 | } 100 | .gap-top{ 101 | margin-top:100px; 102 | } 103 | #stickyLeftBar ul li a{ 104 | color:#fff; 105 | } 106 | #stickyLeftBar ul li > a:hover{ 107 | color:#8BC34A; 108 | font-size: 28px; 109 | } 110 | .shortHand{ 111 | overflow:visible !important; 112 | } 113 | .gap-left-stick{ 114 | padding-left:52px; 115 | } 116 | .gap-small-bottom{ 117 | padding-bottom:5px; 118 | } 119 | form input[type="radio"]{ 120 | margin: 4px 10px 0; 121 | } 122 | form i{ 123 | margin: 4px 5px 0; 124 | } 125 | .mgr-left{ 126 | float: right; 127 | margin-right: 52px; 128 | position: absolute; 129 | } 130 | .left-side{ 131 | top:0; 132 | width:52px; 133 | background:#226065; 134 | position:fixed; 135 | overflow:visible !important; 136 | height:100%; 137 | } 138 | .left-side .gap-top{ 139 | text-align: center; 140 | } 141 | .left-side .gap-top ul{ 142 | margin:0 5px 2px; 143 | padding:0; 144 | list-style: outside none none; 145 | } 146 | .left-side .gap-top ul li{ 147 | color:#fff; 148 | font-size:20px; 149 | padding-bottom:50px; 150 | } 151 | .stats { 152 | background: #f9f9f9 none repeat scroll 0 0; 153 | border-top: 1px solid #ddd; 154 | overflow: hidden; 155 | padding: 1.8em; 156 | } 157 | .stats span { 158 | font-size: 13px; 159 | } 160 | .r3_counter_box.for .stats span { 161 | font-size: 16px !important; 162 | } 163 | .r3_counter_box h5{ 164 | font-size:2.2em; 165 | } 166 | .large.fa { 167 | font-size: 3.5em; 168 | height: 130px; 169 | line-height: 105px; 170 | margin-right: 0; 171 | text-align: center; 172 | width: 66px; 173 | font-size: 3em; 174 | } 175 | .fa-check { 176 | color:#8BC34A; 177 | } 178 | .fa-times { 179 | color:#F44336; 180 | } 181 | .fa-forward{ 182 | color:#FFCA28; 183 | } 184 | span.fa-spin{ 185 | font-size:8px; 186 | } 187 | .grow{ 188 | position: absolute; 189 | top:47%; 190 | left:40%; 191 | background:#8BC34A; 192 | width: 70px; 193 | height: 30px; 194 | padding: .4em 0 0; 195 | } 196 | .grow1 { 197 | background: #F44336; 198 | } 199 | .grow2 { 200 | background:#FFCA28; 201 | } 202 | .grow p{ 203 | color: #fff; 204 | margin: 0; 205 | font-size: 11px; 206 | text-transform: uppercase; 207 | } 208 | .grow a{ 209 | color: #fff; 210 | } 211 | .white-box-title { 212 | font-family: 'Myriad Pro', Helvetica, Arial, sans-serif; 213 | font-size:15px; 214 | line-height:43px; 215 | color:#303c49; 216 | letter-spacing:0.031em; 217 | text-transform:uppercase; 218 | border-bottom:2px #edede7 solid; 219 | } 220 | .graphical{ 221 | padding: 2% 5% 2% 5%; 222 | } 223 | 224 | .inner-gap{ 225 | padding: 2em; 226 | text-align: left; 227 | } 228 | footer { 229 | background: #fff none repeat scroll 0 0; 230 | border-top: 1px solid #eff0f4; 231 | bottom: 0; 232 | padding: 12px; 233 | margin-top:20px; 234 | text-align: center; 235 | width: 100%; 236 | 237 | } 238 | 239 | 240 | /*==================== New Added CSS =============================*/ 241 | 242 | 243 | 244 | .accordian-panel-heading 245 | { 246 | background-color: #efefef; 247 | border:none; 248 | color: #333; 249 | } 250 | .panel-body-new 251 | { 252 | background-color: #fff; 253 | } 254 | .accordian-top-margin 255 | { 256 | margin-top:50px; 257 | } 258 | .nw-page-title, .nw-page-title a 259 | { 260 | font-size:14px; 261 | padding-left:10px; 262 | color:#000; 263 | text-decoration:none; 264 | cursor:pointer; 265 | } 266 | .panel_text { 267 | font-size: 14px; 268 | color: #211b1b; 269 | line-height: 1.8em; 270 | } 271 | .pa_italic .fa-chevron-up{ 272 | display: none; 273 | } 274 | body a{ 275 | transition: all 0.5s ease 0s; 276 | } 277 | .fa-chevron-down, .fa-chevron-up, 278 | .fa-flag-checkered, .fa-calculator, 279 | .fa-clock-o{ 280 | padding-right: 5px; 281 | } 282 | i.fa-filter{ 283 | color:#226065; 284 | font-size:28px; 285 | } 286 | .imp-text{ 287 | padding-top:30px; 288 | padding-left:40px; 289 | padding-right:40px; 290 | font-size:20px; 291 | text-align:left; 292 | height:170px; 293 | } 294 | .imp-text p{ 295 | color:#226065; 296 | } 297 | .lbl-right{ 298 | float:right; 299 | font-size:20px; 300 | } 301 | .filter-area{ 302 | padding-top:15px; 303 | color:#090909; 304 | } 305 | .filter-area div.col-md-1{ 306 | text-align:right; 307 | } 308 | .breaker{ 309 | content: '\a' ; 310 | white-space: pre-wrap; 311 | word-wrap: break-word; 312 | } 313 | 314 | /*==================== index page CSS =============================*/ 315 | 316 | .body-w-bg{ 317 | /* position: relative; */ 318 | z-index: 1; 319 | } 320 | .body-w-bg:before{ 321 | background:url(../image/bg1.gif) repeat scroll 0 0; 322 | position: absolute; 323 | content: ""; 324 | opacity: 0.4; 325 | z-index: -1; 326 | width: 100%; 327 | height: 100%; 328 | } 329 | .body-w-bg h1{ 330 | font-family: 'Myriad Pro', Helvetica, Arial, sans-serif; 331 | font-size: 60px; 332 | color: #fcfcfc; 333 | } 334 | .center{ 335 | text-align: center; 336 | } 337 | .hazy{ 338 | position: relative; 339 | z-index: 1; 340 | margin-top: 15%; 341 | } 342 | .hazy .txt{ 343 | position: absolute; 344 | height: 100%; 345 | width: 95%; 346 | z-index: -1; 347 | opacity: 0.5; 348 | background: #000; 349 | border-radius: 4px; 350 | } 351 | .hazy p{ 352 | padding-left: 5px; 353 | color: #fcfcfc; 354 | text-align: left; 355 | font-size: 24px; 356 | } 357 | .hazy a:hover{ 358 | color: #fcfcfc; 359 | text-decoration: none; 360 | border-color: #000; 361 | } 362 | .btn-link{ 363 | color: #fcfcfc; 364 | border-color: #fff; 365 | border-radius: 2px; 366 | margin-top: 5px; 367 | } -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/Linearicons-Free.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/Linearicons-Free.eot -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/Linearicons-Free.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/Linearicons-Free.ttf -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/Linearicons-Free.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/Linearicons-Free.woff -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/Linearicons-Free.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/Linearicons-Free.woff2 -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/WeatherIcons-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/WeatherIcons-Regular.otf -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7-webfont.eot -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7-webfont.ttf -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7-webfont.woff -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_italic-webfont.eot -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_italic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_italic-webfont.ttf -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_italic-webfont.woff -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_mono-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_mono-webfont.eot -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_mono-webfont.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is a custom SVG webfont generated by Font Squirrel. 6 | Copyright : Created by Sizenko Alexander 2008 Style7 All rights reserved 7 | Designer : Sizenko Alexander 8 | Foundry : Created by Sizenko Alexander 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_mono-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_mono-webfont.ttf -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_mono-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/digital-7_mono-webfont.woff -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/weathericons-regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/weathericons-regular-webfont.eot -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/weathericons-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/weathericons-regular-webfont.ttf -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/fonts/weathericons-regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/fonts/weathericons-regular-webfont.woff -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/image/bg1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/startingwithseleniumwebdriver/RealTimeReport/0215054cc1ccf56d82752f154d7b41da0b219279/RealTimeReportTestNG/src/main/resources/html-rsc/image/bg1.gif -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.4 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.4",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.4",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.4",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.4",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.4",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c&&c.$tip&&c.$tip.is(":visible")?void(c.hoverState="in"):(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.options.container?a(this.options.container):this.$element.parent(),p=this.getPosition(o);h="bottom"==h&&k.bottom+m>p.bottom?"top":"top"==h&&k.top-mp.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type)})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.4",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.4",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.4",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=a(document.body).height();"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); -------------------------------------------------------------------------------- /RealTimeReportTestNG/src/main/resources/html-rsc/xsl/dashboard.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | <xsl:value-of select="$pageTitle" /> 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 |
233 |
234 |
235 |
236 | 237 |
238 |
239 |
240 |
241 |
242 |
243 | 244 |
245 |
%
246 |
247 |

Pass

248 |
249 |
250 |
251 |
252 |
253 |
254 | 255 |
256 |
%
257 |
258 |

Fail

259 |
260 |
261 |
262 |
263 |
264 |
265 | 266 |
267 |
%
268 |
269 |

Skip

270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 | Result 280 |
281 |
282 | 283 |
284 |
285 |
286 | 315 |
316 |
317 |
318 |

Suite

319 |

320 | 321 | 322 | 323 | 324 | 1 325 | 326 |

327 |
328 |
329 |
330 |
331 |

Executable Test Methods

332 |

333 |
334 |
335 |
336 |
337 |

Running Parallel

338 |

339 |
340 |
341 |
342 |
343 |

Suite Execution Time

344 |

345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |

Details

353 |
354 |
355 |

Filter By : 356 |

357 | Group 358 | Test Class 359 | Verdict 360 | Failed Configuration Methods 361 |
362 |

363 | 368 | 374 | 380 |
381 |
382 | Showing results 383 |
384 |
385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 517 | 518 |
519 |
520 |
521 |
522 |
523 |
524 |
525 | 526 | 527 |
528 |

Design by 'startingwithseleniumwebdriver' team

529 |
530 | 531 |
532 |
-------------------------------------------------------------------------------- /RealTimeReportTestNG/src/test/java/report/test/google/TestDataPro.java: -------------------------------------------------------------------------------- 1 | package report.test.google; 2 | 3 | import java.io.FileInputStream; 4 | import java.io.IOException; 5 | import java.util.ArrayList; 6 | import java.util.Arrays; 7 | import java.util.List; 8 | import java.util.Properties; 9 | 10 | import org.testng.annotations.DataProvider; 11 | 12 | public class TestDataPro { 13 | 14 | private static Properties testMataDataProp = new Properties(); 15 | 16 | static{ 17 | try { 18 | testMataDataProp.load(new FileInputStream(System.getProperty("user.dir")+"/src/test/resources/data/testdata.properties")); 19 | } catch (IOException e) { 20 | //logger.error("Error occured while loading test-metadata.properties",e); 21 | } 22 | } 23 | 24 | @DataProvider 25 | public static Object[][] getdata(){ 26 | String data = testMataDataProp.getProperty("SEARCH"); 27 | List dataList = new ArrayList(); 28 | dataList = Arrays.asList(data.split(",")); 29 | Object[][] loc = new Object[dataList.size()][1]; 30 | for(int i=0;i 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | --------------------------------------------------------------------------------