Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandra Imrie2011-03-16 15:04:45 +0000
committerAlexandra Imrie2011-03-16 15:04:45 +0000
commitdf6a6e925028c1af7291c9c5cc5da5bdf38d20f9 (patch)
tree68ea1fdd83896d9b1dc468c8757a091ab6eef41a /org.eclipse.jubula.documentation
parent115f58e982d899cb75e6f1e6145f60438a441f9f (diff)
downloadorg.eclipse.jubula.core-df6a6e925028c1af7291c9c5cc5da5bdf38d20f9.tar.gz
org.eclipse.jubula.core-df6a6e925028c1af7291c9c5cc5da5bdf38d20f9.tar.xz
org.eclipse.jubula.core-df6a6e925028c1af7291c9c5cc5da5bdf38d20f9.zip
Added information on attribute name for HTML component recognition
Diffstat (limited to 'org.eclipse.jubula.documentation')
-rw-r--r--org.eclipse.jubula.documentation/manual/en/tex/Toolkit/Web/dft.tex11
1 files changed, 10 insertions, 1 deletions
diff --git a/org.eclipse.jubula.documentation/manual/en/tex/Toolkit/Web/dft.tex b/org.eclipse.jubula.documentation/manual/en/tex/Toolkit/Web/dft.tex
index 383a69984..3a418f598 100644
--- a/org.eclipse.jubula.documentation/manual/en/tex/Toolkit/Web/dft.tex
+++ b/org.eclipse.jubula.documentation/manual/en/tex/Toolkit/Web/dft.tex
@@ -2,4 +2,13 @@
\index{Design For Testability!Web}
\index{ID attribute name}
-Although \app{} does not require you to name components in your \gdaut{}, you neverthless make your \gdaut{} more testable by doing so. In HTML \gdauts{}, you can enter a name for your components in the id tag. You can also specify your own \bxname{ID attribute name} to be used as an identifier and enter this attribute name in the \gdaut{} configuration \bxpref{autconfigbasic} so that it is recognized as the component name for object recognition.
+Although \app{} does not require you to name components in your \gdaut{}, you neverthless make your \gdaut{} more testable by doing so.
+
+\begin{itemize}
+\item Each supported component in HTML \gdauts{} can have its own attribute used to identify it during test execution.
+\item In your \gdaut{} configuration \bxpref{autconfigbasic} , you can define an attribute name which should be used as an identifier for components.
+\item For example if your attribute name is \bxshell{testid} (e.g. \bxshell{<div testid=''Username''></div>}) then you would enter \bxname{testid} in the \gdaut{} configuration.
+\end{itemize}
+
+
+

Back to the top