ModelWeb-GUI Toolset

MODEL EXTRACTOR, PRIORITISER and TESTER

Follow these steps to setup GUI Tool

1) Download 'ModelWeb-GUI from below Google Drive link.

In order to use our tool you need following things

- Python file location

- GeneratePriorityBDD.py file location

- GenerateFeatures.py file location

- GenerateSteps_Java.py file location

- test.py file location

3) open terminal

4) run following commands:

- pip install pymysql

- pip install openpyxl

5) Open ModelWeb Java Maven project in a IDE such as Eclipse

6) Open Gui3.java and Gui4.java

- The following java files are placed under the given path below;

- src/main/java/selenium_java/

7) Change Line 33 for Gui3 and Line 41 for Gui4 as

- pythonPath = "Your/Python/Location"

8) Change Line 34 for Gui3 and Line 42 for Gui4 as

- prioritiserPath = "Downloaded/GeneratePriority/Path"

9) Run Gui1.java

- src/main/java/selenium_java/


How to use GUI Tool

PRIORITISER

1) Choose file type of your click data. (csv, json etc.)

2) Then write click data file location. (You can download our click data sample: owa.csv - owa.json - owa.xlsx)

3) Then write the column/object id of clicks. (it is "dom_element_id" for our test data)

4) Then write BDD scenario file location. (You can download our BDD.txt)

5) Press run

6) You can find your prioritised file in the same locaiton as bdd_scenario file.

if you are trying to get your data from mysql connection enter appropriate information for connection

MODEL EXTRACTOR

1) Just enter your html file location

2) Press run

TEST WITH SELENIUM

1) Enter Functionality Name (Follow, Add2Cart, Like, SendMessage, UploadSubmission etc.)

2) Enter priority range

3) Select Scenario File