Web Test Tutorial - Part 1: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
Zeile 14: Zeile 14:
* Has a Firefox window opened in the background?
* Has a Firefox window opened in the background?


= 3. First steps with the recorder =
== First steps with the recorder ==
* Start recorder
* Recording a login sequence
** Switch the mode
** Insert text
** Insert passwort
** Press the submit button
* Convert workspace in an action block
* Prepare action block for execution
** Leave GuiBrowser
** Open network tab
** Correlate the connection with the action block, insert action block for this
** Move and rearrange action blocks
** Add TriggerInput to first SendKeys action block
** Add values to the "Reuse or Start Session" action block
*** name: http://expeccoalm-demo.exept.de (any name)
*** startURL: http://expeccoalm-demo.exept.de
*** browserType: Firefox (select in drop-down menu)
* Execute action blocks
** Press "Execute" (the green arrow)
** When the test is finished, Firefox opens in the front.
** expecco should look like this now:
** The detailed execution of action blocks is visible in the network tab.

= 4. Convert workspace in a action block =
= 4. Convert workspace in a action block =
= 5. Prepare action block for execution =
= 5. Prepare action block for execution =

Version vom 29. Juni 2018, 09:00 Uhr

Webtest Tutorial[Bearbeiten]

Preconditions[Bearbeiten]

Requirements:

  • Is the Selenium WebDriver installed?
  • Is Firefox installed? Alternatively, Chrome and Safari also work.
  • Internet connection available?
  • Start expecco
  • Select "New Testsuite"
  • Undo button to remove existing demos

2. Create a connection[Bearbeiten]

  • Open the Gui-Browser
  • Connect to the test website
  • Has a Firefox window opened in the background?

First steps with the recorder[Bearbeiten]

  • Start recorder
  • Recording a login sequence
    • Switch the mode
    • Insert text
    • Insert passwort
    • Press the submit button
  • Convert workspace in an action block
  • Prepare action block for execution
    • Leave GuiBrowser
    • Open network tab
    • Correlate the connection with the action block, insert action block for this
    • Move and rearrange action blocks
    • Add TriggerInput to first SendKeys action block
    • Add values to the "Reuse or Start Session" action block
  • Execute action blocks
    • Press "Execute" (the green arrow)
    • When the test is finished, Firefox opens in the front.
    • expecco should look like this now:
    • The detailed execution of action blocks is visible in the network tab.

4. Convert workspace in a action block[Bearbeiten]

5. Prepare action block for execution[Bearbeiten]



Copyright © 2014-2024 eXept Software AG