ok clickButton: Locating submit buttons and submitting the respective forms

Test started at Wed Apr 25 13:10:32 CEST 2012, lasting 4104 ms.
Source: /raid/volume1/opt/webtest/webtestCC/CanooFunctionalTesting/selftests/tests/clickButton.xml:12:
Base URL (used by invoke steps with a relative URL): http://localhost:19090/selftest/
Simulated browser: IE6

Expand/Collapse nested steps:show all nested steps in testspec  hide all nested steps in testspec

#ResultNameParameterDuration
  1okinvoke
buttonTest mode of the test servlet
Resulting page
-> complete urlhttp://localhost:19090/selftest/clickButton.jsp
urlclickButton.jsp
1490
  2okclickButton
No attribute specified -> first button
Resulting page
  116
  3okverifyInputField
namelastForm
valueform1
2
  4okclickButton
Locate an image button with unique name in the whole page (no locator)
Resulting page
nameimageButton0
120
  5okverifyInputField
namelastForm
valueform1
2
  6okclickButton
Locate an image button with non-unique name appearing in two forms
Resulting page
nameimageButton1
99
  7okclickButton
Locate an image button with non-unique name appearing twice in the same form
Resulting page
nameimageButton2
167
  8okclickButton
Locate an image button by label
Resulting page
labelsome image button text
178
  9okverifyInputField
namelastForm
valueform2
3
  10oksetInputField
namesomeInput1
value1
14
  11okclickButton
Locate an image button with non-unique name. Button exists once in this form
Resulting page
nameimageButton1
107
  12okverifyInputField
namelastForm
valueform1
7
  13oksetInputField
namesomeInput2
value2
10
  14okclickButton
Locate an image button with non-unique name. Button exists also once in this form
Resulting page
nameimageButton1
100
  15okverifyInputField
namelastForm
valueform2
10
  16oksetInputField
namesomeInput2
value2
10
  17okclickButton
Locate an image button with non-unique name (using a locator). Button exists twice!
Resulting page
nameimageButton2
107
  18okverifyInputField
namelastForm
valueform2
6
  19oksetInputField
namesomeInput1
value1
14
  20okclickButton
Locate an image button with non-unique name appearing twice in different forms using an index locator
Resulting page
nameimageButton0
173
  21okverifyInputField
namelastForm
valueform1
8
  22
Show/Hide all substeps
oknot
  9
  23oksetInputField
namesomeInput2
value2
9
  24okclickButton
Locate an image button with non-unique name appearing twice in different forms using an index locator
Resulting page
nameimageButton1
109
  25okverifyInputField
namelastForm
valueform2
6
  26okclickButton
Click first button with non-unique name appearing twice in different forms using an index locator
Resulting page
name2ButtonsWithSameName
96
  27okverifyInputField
namelastForm
valueform7
2
  28okverifyText
Verify that the first button has been clicked
text2ButtonsWithSameName: First button
11
  29okclickButton
Click 2nd button with non-unique name appearing twice in different forms using an index locator
Resulting page
fieldIndex1
name2ButtonsWithSameName
95
  30okverifyInputField
namelastForm
valueform7
2
  31okverifyText
Verify that the 2nd button has been clicked
text2ButtonsWithSameName: 2nd button
3
  32okclickButton
Click first button with non-unique name appearing twice
Resulting page
name2HtmlButtonsWithSameName
120
  33okverifyInputField
namelastForm
valueform8
4
  34okverifyText
Verify that the first button has been clicked
text2HtmlButtonsWithSameName: First button
7
  35okclickButton
Click 2nd button with non-unique name appearing twice
Resulting page
fieldIndex1
name2HtmlButtonsWithSameName
102
  36okverifyInputField
namelastForm
valueform8
52
  37okverifyText
Verify that the 2nd button has been clicked
text2HtmlButtonsWithSameName: 2nd button
2
  38okclickButton
Click second html button using value
Resulting page
labelHtmlButton2
name2HtmlButtonsWithSameName
101
  39okverifyInputField
namelastForm
valueform8
7
  40okverifyText
Verify that the 2nd button has been clicked
text2HtmlButtonsWithSameName: 2nd button
2
  41okclickButton
Click 3rd html button using id
Resulting page
htmlIdHtmlButtonWithId
79
  42okverifyInputField
namelastForm
valueform8
8
  43okverifyText
Verify that the 3rd button has been clicked
text3rdButton: 3rd button
11
  44okinvoke
Access button test page
Resulting page
-> complete urlhttp://localhost:19090/selftest/clickButton.jsp
urlclickButton.jsp
89
  45okclickButton
click the image button
Resulting page
nameimageButton0
x1
y2
99
  46okverifyText
textimageButton0.x: 1
2
  47okverifyText
textimageButton0.y: 2
7
  48okclickButton
click a submit button with click positions
Resulting page
namesubmitButton1
x1
y2
87
  49okclickButton
click the image button with negative coordinates, kind of strange ...
Resulting page
nameimageButton0
x-10
y-20
118
  50okinvoke
Access button test page
Resulting page
-> complete urlhttp://localhost:19090/selftest/clickButton.jsp
urlclickButton.jsp
48
  51okclickButton
click the button identified by its id
Resulting page
htmlidbuttonWithId
72
  52okverifyText
textbuttonWithIdName: ok
2

Back to Test Report Overview