-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial: Use mass test data
-
Open file "./sysnat.natural.language.executable.examples/ExecutableExamples/GoogleSearch/WebPageCheck.nlxx".
-
Dublicate an existing executable example and give the new executable example the name "Parametrized Web Page Check".
-
Replace line 'TestData: GoogleSearchSysNat' by the new line 'Test-Parameter: GoogleSearchMassData'.
-
Create new Excel file "./sysnat.natural.language.executable.examples/testdata/GoogleSearch/GoogleSearchMassData.xlsx".
-
Open excel file and enter at an arbritrary position the following data:
|root cell |SearchText |ExpectedSearchResultText1 |ExpectedSearchResultText2 | |GoogleSearchMassData1|SysNat |https://github.com/iks-github/SysNat|Operate your software system | |GoogleSearchMassData2|IKS GmbH |https://www.iks-gmbh.com |IKS GmbH: Individuelle Softwareentwicklung und IT-Beratung | |GoogleSearchMassData3|Clean Coding Cosmos|clean-coding-cosmos.de/ |Clean Coding Cosmos | mit Jörg Vollmer und Dr. Reik Oberrath|
-
Start SysNat and check test report.
-
Delete Excel file and create new the new file "./sysnat.natural.language.executable.examples/testdata/GoogleSearch/GoogleSearchMassData.dat" with following content:
SearchText=SysNat ExpectedSearchResultText1=https://github.com/iks-github/SysNat ExpectedSearchResultText2=Operate your software system - SearchText=IKS GmbH ExpectedSearchResultText1=https://www.iks-gmbh.com/unternehmen/ ExpectedSearchResultText2=Unternehmen | IKS GmbH - Hilden - SearchText=Clean Coding Cosmos ExpectedSearchResultText1=clean-coding-cosmos.de/ ExpectedSearchResultText2=Clean Coding Cosmos | mit Jörg Vollmer und Dr. Reik Oberrath
-
Start SysNat and check test report for the same results.