Web Test Tutorial - Part 2

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen

Preconditions[Bearbeiten]

  • Open the test suite of tutorial 1

Subdivision of the action block login[Bearbeiten]

  • Open action block Login


WTT 2 001 Öffnen Marked.png


  • Create a new compound block
  • Right click on "Reuse or Start Connection" block


WTT 2 002 Ausgliedern1.PNG

WTT 2 003 Ausgliedern2.PNG

WTT 2 004 Ausgliedern3.PNG

WTT 2 005 Ausgliedern4.PNG

WTT 2 005 Ausgliedern4 Marked.png

WTT 2 006 Ausgliedern5.PNG


  • Move action block "Start Connection" up one level


WTT 2 007 Ausgliedern6.PNG

WTT 2 008 Ausgliedern7.PNG

WTT 2 009 Ausgliedern8.PNG


  • Enter login data and move down


WTT 2 010 Ausgliedern9.PNG

WTT 2 010 Ausgliedern9 Marked.png

WTT 2 011 Ausgliedern10.PNG

WTT 2 012 Ausgliedern11.PNG


  • Assign parameters to action block


WTT 2 013 Ausgliedern12.PNG


  • Delete user name and password, connect to parameters, rename parameters


WTT 2 014 Ausgliedern13.PNG

WTT 2 015 Ausgliedern14.PNG

WTT 2 016 Ausgliedern15.PNG

WTT 2 017 Ausgliedern16.PNG


  • Now the parameters of the "Enter login data..." block are visible in the "Login" block.. Fill these with values.


WTT 2 018 Ausgliedern17.PNG

WTT 2 019 Ausgliedern18.PNG


  • Create a compound action block "Check login"


WTT 2 020 LoginÜberprüfenAusgliedern1.PNG

WTT 2 021 LoginÜberprüfenAusgliedern2.PNG

WTT 2 022 LoginÜberprüfenAusgliedern3.PNG

WTT 2 023 LoginÜberprüfenAusgliedern4.PNG


Create a Test Plan[Bearbeiten]

  • Delete action block "Start login"


WTT 2 100 Testplan anlegen1.PNG


  • Create test plan


WTT 2 101 Testplan anlegen2.PNG

WTT 2 102 Testplan anlegen3.PNG

WTT 2 103 Testplan anlegen4.PNG

WTT 2 104 Testplan anlegen5.PNG

WTT 2 105 Testplan anlegen6.PNG

WTT 2 106 Testplan anlegen7.PNG


  • Drag to the test plan precondition/postcondition action block


WTT 2 106 Testplan anlegen7 Marked.png

WTT 2 107 Testplan anlegen8.PNG

WTT 2 108 Testplan anlegen9.PNG


  • Before the test plan can be executed correctly, the postcondition of the "Login" action block must be deleted. Please click the red cross at the right side of the input field. Now the test plan can be executed.


WTT 2 109 Testplan ausgeführt.PNG


Creating Data for Several Users[Bearbeiten]

  • To check multiple user data, please log out after your login. To do this, record a new sequence in the GUI browser by clicking on the link "Logout".

Connect to the browser as described in Web Test 1 tutorial. Sign in an user in the remote-controlled browser (mmustermann / mm)

  • Start recorder


WTT 2 200 Logout aufnehmen1 Marked.png

WTT 2 201 Logout aufnehmen2.PNG


  • Click on the link "unsubscribe" in the recorder


WTT 2 201 Logout aufnehmen2 Marked.png

WTT 2 202 Logout aufnehmen3.PNG

WTT 2 202 Logout aufnehmen3 Marked.png

WTT 2 203 Logout aufnehmen4.PNG


  • Save sequence in action block "Log off"


WTT 2 203 Logout aufnehmen4 Marked.png

WTT 2 204 Logout aufnehmen5.PNG


  • Go back to the start page with the action block "Get"
    • Create new action block


WTT 2 205 GetStartseite1.PNG

WTT 2 206 GetStartseite2.PNG

WTT 2 207 GetStartseite3.PNG


  • Insert "Get" action block


WTT 2 208 GetStartseite4.PNG

WTT 2 209 GetStartseite5.PNG


  • Specify start page URL as "url" parameter


WTT 2 210 GetStartseite6.PNG

WTT 2 211 GetStartseite7.PNG


  • Insert the action blocks "Logout" and "Get Start Page" into the test plan "Website Test"


WTT 2 212 GetStartseite8.PNG


  • If you add more login action blocks with other users to the test plan, they would also be tested


WTT 2 213 GetStartseite9.PNG



Copyright © 2014-2024 eXept Software AG