Skip to main content
summaryrefslogtreecommitdiffstats
blob: 58ed22b42efa666ee3ddd0393350954195a4f696 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!-- 
  Copyright (c) 2014 BREDEX GmbH.
  All rights reserved. This program and the accompanying materials
  are made available under the terms of the Eclipse Public License v1.0
  which accompanies this distribution, and is available at
  http://www.eclipse.org/legal/epl-v10.html
-->

<section xml:id="actionCheckXPathCount" version="5.0" xmlns="http://docbook.org/ns/docbook"
                                                     xmlns:xi="http://www.w3.org/2001/XInclude"
                                                     xmlns:xl="http://www.w3.org/1999/xlink" >
  
  <title>Check XPath Count</title>
 
     <itemizedlist>
      <listitem>
        <para>
          Use this action to check how many elements with a certain XPath locator 
          are found. You can compare the amount found with a value you specify.
        </para>
      </listitem>
      <listitem>
        <para>
        The action requires no component name and no object mapping. You enter the 
        Xpath locator (without the xpath prefix) as the locator. 
        </para>
      </listitem>
      <listitem>
        <para>
        You can find out the locator for 
        your element using website inspection tools.
        </para>
      </listitem>
      <listitem>
        <para>
          Parameters:
          
          <itemizedlist>
            <listitem>
              <para>
                <xref linkend="xpath" xrefstyle="template:%t"/>
              </para>
            </listitem>
            <listitem>
              <para>
                <xref linkend="comparison_method" xrefstyle="template:%t"/>
              </para>
            </listitem>
            <listitem>
              <para>
                <xref linkend="count" xrefstyle="template:%t"/>
              </para>
            </listitem>
          </itemizedlist>
        </para>
      </listitem>
    </itemizedlist>
</section>

Back to the top