[Tex/LaTex] Change Table Cell width

tableswidth

enter image description here

I want to replicate this in latex, where the cell of the bottom row is not as wide as the others on top, so far my code and output is:

\begin{center}
\begin{tabular}{|l | p{13cm}|}
\hline
    {Tested By} & {SQA Team}\\    
\hline
    {Test Type} & {Acceptance Test}\\    
\hline
    {Test Case Number} & {TC-1.1 Create a client successfully}\\    
\hline
    {Test Case Description} & {This test case is used to check if a visitor can create a client with the system}\\    
\hline
    \multicolumn{2}{|c|}{Item(s) to be tested}\\
\hline
    {1.} & {SRS 3.1.1.1}\\    
\hline


\end{tabular}
\end{center}

resulting in:

enter image description here

Best Answer

One way :

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[frenchb]{babel}
\usepackage{array}
\usepackage[table,x11names]{xcolor}
\usepackage{colortbl}
\usepackage[a4paper, margin={1cm,1cm}]{geometry}

\begin{document}
\begin{center}
\begin{tabular}{|ll| p{13cm}|}
\hline
\multicolumn{2}{|l|}{\cellcolor{Gray0}Tested By} & {SQA Team}\\
\hline
\multicolumn{2}{|l|}{\cellcolor{Gray0}Test Type} & {Acceptance Test}\\    
\hline
\multicolumn{2}{|l|}{\cellcolor{Gray0}Test Case Number} & {TC-1.1 Create a client successfully}\\    
\hline
  \multicolumn{2}{|l|}{\cellcolor{Gray0}Test Case Description} & {This test case is used to check if a visitor can create a client with the system}\\    
\hline
  \multicolumn{3}{|c|}{\cellcolor{Gray0}Item(s) to be tested}\\
\hline
1.\hspace{1cm} & \multicolumn{2}{|l|}{\fcolorbox{white}{DeepSkyBlue1}{SRS 3.1.1.1}}\\    
\hline


\end{tabular}
\end{center}
\end{document}

enter image description here

Related Question