|
via Udemy |
Go to Course: https://www.udemy.com/course/testng-made-easy-for-beginners-detailed-course/
This course covers TestNG in-depth by covering all its concepts and topics, along with practical demonstration.TestNG is explained from scratch and in a step by step manner.TestNG is the backbone for building Selenium Test Automation Frameworks, hence it is required to learn in depth and detail.This course ends your search for finding a course, which covers in and out about TestNG.The following are the different TestNG topics which are covered in this course: What is TestNGInstalling TestNG and using in ProjectsAuto-generating TestNG Classes with a Test Method in Eclipse IDEUsing TestNG Testing Framework for Selenium AutomationUsing TestNG Testing Framework with Rest Assured Framework for Automating API TestsUsing priority attributeUsing testng xml file for batch executionAssertions in TestNGHard Assertions versus Soft Assertions TestNG AnnotationsParameters in TestNGOptional Parameters in TestNGEnable Disable Test Cases using enabled attribute in testng xml fileEnable Disable Test Methods using enabled attribute and @Ignore annotationEnable Disable Test Methods at Classs level using @Ignore annotationEnable Disable Test Methods at Package level using @Ignore annotationGrouping Tests in TestNG using multiple testng xml filesGrouping Tests in TestNG using groups attributeMeta Groups in TestNGPartial Groups in TestNGSub Category Groups in TestNG and using regular expressionsTest Dependency in TestNG using dependsOnMethods attributealwaysRun attributeignoreMissingDependencies attributedependsOnGroups attributeGroups Depending on Groups using dependencies tag and depends-on attributeExecuting Tests at Package LevelTestNG Parameterization - Data Driven Testing, DataProvider annotation and dataProvider attributeNaming DataProvider method using name attributeParameterizing Test method with Array parameterSeparating DataProvider method into a separate Class using dataProviderClass attributeMultiple DataProvider methodsMultiple DataProvider methods in multiple classesWhy we have to use Object array to return dataDifferent return types of DataProviderJagged Arrays and DataProvidersPartially passing the data from Data Provider method using indices attributeReading Data from Excel files using POI APIReading Data from Excel files into DataProvider method using POI API Executing tests in parallel by specifying parallel attribute in DataProvider methodControlling parallel tests thread count invoked by DataProvider using data-provider-thread-counttimeOut attributeexpectedExceptions attributeParallel Execution of Tests in TestNG using parallel and thread-count attributesparallel=tests in TestNG Parallel executionparallel=tests can only be mentioned at suite tag level and not at test tag levelparallel=classes in TestNG Parallel Executionparallel=methods in TestNG Parallel Execution Multiple test tags, but only few test tags enabled for parallel executionparallel=none in TestNG Parallel Executionparallel=false in TestNG Parallel Executionparallel=tests but thread-count=1Can we provide thread-count as negative value for Parallel ExecutionMore threads and less number of tests parallel=classes or parallel=methods specified at suite tag levelDefault thread-count when parallel attribute is only mentionedinvocationCount attributeinvocationTimeOut attributthreadPoolSize attributeWhat are ListenersList of different Listeners available in TestNG LibraryUsing ITestListner Listener Implementing Listeners at Class Level @Listeners annotation Implementing Listeners at Suite Level in testng xml filonStart() and onFinish() ITestListener methodsDifference between listeners and annotationsUsing TestListnerAdapter class in place of ITestListener interface Taking screenshots for Failed Tests using ListenersAvoiding Screenshot OverridingRetrieving Test Tag name along with Test NameTaking screenshots for Failed Tests using Dependency InjectionDefault TestNG Reports and their real time usageUninstalling TestNG from Eclipse IDTestNG verbose attribute - testng xml file TestNG Retry using IRetryAnalyzer and IAnnotationTransformerTestNG verbose attribute - testng xml file