<repo_name>RoniLandau/VimeoQA<file_sep>/Test Suites/UserTestSuite/VimeoQA.ts
<?xml version="1.0" encoding="UTF-8"?>
<TestSuiteEntity>
   <description></description>
   <name>VimeoQA</name>
   <tag></tag>
   <isRerun>false</isRerun>
   <mailRecipient></mailRecipient>
   <numberOfRerun>0</numberOfRerun>
   <pageLoadTimeout>30</pageLoadTimeout>
   <pageLoadTimeoutDefault>true</pageLoadTimeoutDefault>
   <rerunFailedTestCasesOnly>false</rerunFailedTestCasesOnly>
   <rerunImmediately>false</rerunImmediately>
   <testSuiteGuid>641fffd5-9770-475d-a162-3278d718d992</testSuiteGuid>
   <testCaseLink>
      <guid>eaad6f8e-7d5d-4d73-a386-845219d429a6</guid>
      <isReuseDriver>false</isReuseDriver>
      <isRun>true</isRun>
      <testCaseId>Test Cases/User/UserActions</testCaseId>
      <variableLink>
         <testDataLinkId></testDataLinkId>
         <type>DEFAULT</type>
         <value></value>
         <variableId>4a151d33-4ea9-4b53-9e9b-ada2906140fa</variableId>
      </variableLink>
   </testCaseLink>
   <testCaseLink>
      <guid>9a532158-f79a-4f8d-8507-00b69fbff4ed</guid>
      <isReuseDriver>false</isReuseDriver>
      <isRun>true</isRun>
      <testCaseId>Test Cases/commentCheck/commentVerify</testCaseId>
      <variableLink>
         <testDataLinkId></testDataLinkId>
         <type>DEFAULT</type>
         <value></value>
         <variableId>b58bbf1d-1b49-420a-89b7-dc9c84824dca</variableId>
      </variableLink>
      <variableLink>
         <testDataLinkId></testDataLinkId>
         <type>DEFAULT</type>
         <value></value>
         <variableId>4076c266-7e9a-4371-98fa-a830603ba951</variableId>
      </variableLink>
   </testCaseLink>
   <testCaseLink>
      <guid>ec5de8fa-d82b-4a4a-a94a-6a43fd1f5be8</guid>
      <isReuseDriver>false</isReuseDriver>
      <isRun>true</isRun>
      <testCaseId>Test Cases/LikesViews/LikeViews</testCaseId>
      <variableLink>
         <testDataLinkId></testDataLinkId>
         <type>DEFAULT</type>
         <value></value>
         <variableId>9b6c0da3-41fc-4fb8-8cc0-b57f87e943a0</variableId>
      </variableLink>
   </testCaseLink>
</TestSuiteEntity>
<file_sep>/README.md
# VimeoQA

Hello,
Please read carefully.

Description:

This project includes 3 Test Cases on Vimeo website.
The Cases: (explaining the main tests)
1. UserActions - Connect Vimeo Api, Login as "<NAME>" and comment on a specific video. Verify the status code of the call.
2. commentVerify - Using WebUI(simulate UI actions) ,Enter Vimeo website, login to "<NAME>" ,navigate to the specific video and verify the text of the comment.
3. LikesViews - Using WebUI , navigate to another video, store the number of likes and views. Verify that the text of the numbers is exist on the page.

Notice:
On every test case there are several test steps, almost on every step there is a simple validation that I didn't mention here but it well documented inside the script.

How to run the tests?

Must install:
Katalon Studio: https://www.katalon.com/download/
Git: https://git-scm.com/download/win

Run the Tests:

Open Katalon Studio.

Inside Katalon Studio:
1. Clone the project from git: on the left you will see "clone git project" press on it and enter on the url "https://github.com/RoniLandau/VimeoQA.git" - no need to authenticate.
2. You may need to update chrome web broswer - press "tools"-> "update web browsers" -> "chrome"
3. Search "VimeoQA" in "TextExplorer" (from the left), it will find you Test Suite with this name, open it.
4. Press the green "Play" button on the upper toolbar (of the right-side of the window). Next to the button there is a small arrow you can choose to run on different browsers.
5. You can see at the bottom the test results. You can see a report on the "reports" folder (on the left-side).


Extras:
1. Changing the specific video you're commenting on:
	Open "profiles"-> "default" , change the global variable "video_id" to the your specific video id (you can find it easily at the end of the url of the specific video)
2. Changing the specific video you're checking the likes and views:
	The same as before but change the global variable "video_id2".
3. The current comment is "Awesome! Thank you."	, if you want to change it: "Object Repository"-> UserAPI -> vimeoComment , enter "HTTP body" tab and change there the text.
