Create an intaQt Project¶
1. Create an intaQt Project¶
Navigate to QiTASC/intaqt/projects/
and create a new directory called HowTo-IntaQtClient
.
Next, create a subfolder called Features
. This will contain the files you'll execute with intaQt Client.
Create four files in a text editor (for example: Sublime Text, TextEdit) and save them into the Features
subdirectory:
Feature1¶
Create a new file in your text editor, then save the file into your Features
directory with the name Feature1.feature
:
1 2 3 4 | @twoTag Feature: Feature1 Scenario: ScenarioName1 Then verify 1==1 |
Feature2¶
Create a new file in your text editor, then save the file into your Features
directory with the name Feature2.feature
:
1 2 3 4 | @test @oneTag @twoTag Feature: Feature2 Scenario: ScenarioName2 Then verify 1==1 |
Feature3¶
Create a new file in your text editor, then save the file into your Features
directory with the name Feature3.feature
:
1 2 3 4 5 6 7 | Feature: Feature3 Scenario: ScenarioName3 Given an Android phone as A Then A reboots And within 60 seconds, A's reboot completes |
Feature4¶
Create a new file in your text editor, then save the file into your Features
directory with the name Feature4.feature
:
1 2 3 4 5 6 | @someOtherTag Feature: Feature4 Scenario: ScenarioName4 Then verify 1==1 |
2. Configuration¶
Add the following configuration block into the Server.conf
, which is located in QiTASC/intaqt/config
:
1 2 3 4 5 | Intact2ApiAdapter = { projectsRootDir: "../projects", adapterPort: 36012 } |
intaQt's API Adapter is now configured to listen on port 36012 and the project root folder is configured to as intaqt/projects
.
3. Run intaQt¶
Run the following products to use intaQt Client:
-
adm
-
intaQt -- with adm
Note |
---|
The easiest way to do this is to open a Command Line/Terminal session and navigate to the QiTASC directory. |
Enter the following: Windows User
1 2 | qitasc start adm qitasc start intaqt -a |
Linux and Mac OS User
1 2 | ./qitasc start adm.exe ./qitasc start intaqt -a |
Note |
---|
The -a that follows start intaqt must be added for the phones to communicate properly with adm. |