Skip to content
  • Downloads
  • Privacy Policy
  • Sitemap
  • Contact

SumTips

  • How To
  • Tips ‘n Tricks
  • Snippets
    • AutoHotkey Snippets
    • CSS Snippets
    • htaccess Snippets
    • JavaScript Snippets
    • PowerShell Snippets
    • WordPress Snippets
  • Software
    • Downloads
  • Web
  • Tools
    • Character Counter
    • chmod Calculator
    • Entities Encoder
    • Live HTML Editor
    • My IP
  • Search

SumTips

  • Search
  • How To
  • Tips ‘n Tricks
  • Snippets
    • AutoHotkey Snippets
    • CSS Snippets
    • htaccess Snippets
    • JavaScript Snippets
    • PowerShell Snippets
    • WordPress Snippets
  • Software
    • Downloads
  • Web
  • Tools
    • Character Counter
    • chmod Calculator
    • Entities Encoder
    • Live HTML Editor
    • My IP
Tips 'n Tricks

Convert Excel Cell Contents to Comments and vice-versa with VBA Code

In this post, we will see two sets of VBA code example for Excel: 1) Convert selected range of cell contents to comments, and 2) Convert selected range of comments to cell contents

  • Microsoft Excel
  • Office
  • Tips 'n Tricks
TestNG

TestNG: Introduction

TestNG is an open source automated testing framework that is inspired from JUnit(Java) and NUnit(C#). In this tutorial series, we will cover everything from installation to reporting in TestNG.

  • Eclipse
  • Introduction
  • TestNG
  • Tutorial
TestNG

Timeout in TestNG: How to Automatically Stop Running a Test Case if it Gets Stuck

Learn how to automatically stop executing a test with Timeout attribute if it gets stuck or takes longer than expected to complete. Timeouts can be set at test level and suite level.

  • Eclipse
  • TestNG
  • Tutorial
TestNG

Priority & preserve-order in TestNG: How to Execute Tests in a Custom Order

Learn how to use “Priority” parameter with @Test annotation to execute test cases in a sorted order. With “preserve-order” attribute set to false in in testng.xml file, you can make sure that test cases are executed in an alphabetically sorted order.

  • Eclipse
  • TestNG
  • Tutorial
TestNG

Dependency Testing in TestNG: How to Run a Test only if Dependent Test Method Has Passed

Learn how to use dependency testing in TestNG with dependOnMethods or dependsOnGroups annotations to make sure a particular method is run only if all the other dependent methods/groups have been successfully executed. If not, the method/group is skipped.

  • Eclipse
  • TestNG
  • Tutorial
TestNG

Groups in TestNG: How to Create a Group of Tests or a MetaGroups of Groups

By grouping tests in TestNG, you can separate different sections or features of a project you are working on. Tests can belong to a single or multiple groups. And again, you can have a group of different groups called MetaGroups.

  • Eclipse
  • TestNG
  • Tutorial
TestNG

@DataProvider in TestNG: How to Run a Test Case multiple times with different Values as Input

Learn how to use @DataProvider annotation for executing data driven testing in TestNG. With @DataProvider, testers can automatically run a test case multiple times, with different input and validation values. A good example of this is, suppose, you have to test thousands of forms using automation.

  • Eclipse
  • TestNG
  • Tutorial
TestNG

@Parameters in TestNG: How to Pass Value at Runtime from testng.xml

@Parameters annotation is used to pass different values to a method at runtime in TestNG. This allows us to run a test case multiple times with different values from testng.xml file. Let’s take a look at the code example to see how this works.

  • Eclipse
  • TestNG
  • Tutorial
TestNG

List of All Annotations in TestNG and their Code Examples

Annotations in TestNG makes code easier to read, understand, and they also allow test cases to be grouped for efficiency. In this post we’ll cover all the annotations available in the framework and also see code examples to understand their execution flow

  • Eclipse
  • TestNG
  • Tutorial
TestNG

First Test Case with TestNG

Learn how to write your first test in Eclipse IDE using TestNG annotations. We’ll open a URL in Google Chrome with WebDriver, verify and print page title in console, and close the browser.

  • Eclipse
  • TestNG
  • Tutorial

Recent Posts

  • Refreshing Excel Data Automatically Using PowerShell
  • Effortless File Organization: Automating File Copy with PowerShell and Excel
  • How to Add Custom File Types to Excel Open File Dialog
  • How to Protect Excel Cell Format, Formula, Content & Structure
  • Assign Keyboard Shortcut to Pin Tab in Browsers

Popular Posts

  • Get BIOS Information with PowerShell and Command Prompt
  • Download Office 2013 Offline Installer, 32-bit and 64-bit versions
  • Find Files Larger than a Specific Size with PowerShell & CMD
  • PowerShell: Automatically Cycle Through Tabs in Any Browser
  • Automatically Start and Close Programs at Specific Time

Categories

  • Blogging
  • Games
  • Google
  • How To?
  • Linux
  • Microsoft
    • Windows
  • Miscellaneous
  • Phone
  • Snippets
    • AutoHotkey Snippets
    • CSS Snippets
    • htaccess Snippets
    • JavaScript Snippets
    • PowerShell Snippets
    • WordPress Snippets
  • Social
  • Software
    • Browsers
  • Tips 'n Tricks
  • Tutorials
    • TestNG
  • Wallpapers
  • Web
Recent Posts
  • Refreshing Excel Data Automatically Using PowerShell
  • Effortless File Organization: Automating File Copy with PowerShell and Excel
  • How to Add Custom File Types to Excel Open File Dialog
  • How to Protect Excel Cell Format, Formula, Content & Structure
  • Assign Keyboard Shortcut to Pin Tab in Browsers
  • PowerShell Beautifier: Free Tool to Pretty Print .PS1 Script Files
Get updates via Email


Downloads
  • Dropbox Status Checker
  • Google Earth 7.3
  • Microsoft .NET Framework 4.0
  • Firefox for Mobile 63 Beta 9
  • Skype Offline Installer
  • LidLock
  • WEVS
  • Microsoft Virtual PC (32-bit)
  • Microsoft Office 365 Professional Plus
  • Ubuntu 16.04.4 (32-bit)

© 2023 SumTips – All rights reserved

Powered by WP – Designed with the Customizr theme