2016-12-30

Litmus and epsilon harmony Testing Tutorial

In this blog we will learn

  •   How to do testing in Litmus.
  •   How to trigger mail / Prof
  •   How to do testing in epsilon


2016-12-26

How to get all red text from excel cell in vba string in a HTML format

Private Sub CommandButton1_Click()

Dim val As String
val = Cells(5, "G").Value

Dim fast As Boolean
fast = True
Dim last As Boolean
last = False
Dim values As String
values = ""
Dim lent As Integer
lent = Len(val)

Dim result As String
result = ""

For i = 1 To lent
   If Cells(5, "G").Characters(Start:=i, Length:=1).Font.Color = vbRed Then
      If fast Then
        values = "<span style='color:#dd0062;'>" & "" & Mid(val, i, 1)
        fast = False
        last = True
      Else
       last = True
       values = values & "" & Mid(val, i, 1)
      End If

2016-12-02

System.out.println short cut keys on different IDEs

Different IDEs short cut key for System.out.println() in Netbeans, Eclipse, JDeveloper and intellij

Short cut on Eclipse
Type syso and press Ctrl+space

Short cut on Netbeans
Type sout and press Tab key

Short cut on intellij
Type sout and  press Tab key

Short cut on JDeveloper
Type sop and press Ctrl+Enter