This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.9" | |
| services: | |
| postgres: | |
| image: postgres:16 | |
| container_name: taskmanager_postgres | |
| restart: always | |
| environment: | |
| POSTGRES_USER: task_user | |
| POSTGRES_PASSWORD: task_password | |
| POSTGRES_DB: task_manager |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require(GlobalDependencys:GetDependency("StandardBase"):GetPackageName()) | |
| --GAME VARS | |
| fAdditionalFOV = 0 | |
| fDefaultEngineAspectRatio = 1.777777791 | |
| fDefaultAspectRatio = 1.333333373 | |
| fDefaultEngineWidthScale = 1280.0 | |
| fDefaultEngineHeightScale = 720.0 | |
| fDefaultEngineTextWidthScale = 512.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Settings *** | |
| Library Selenium2Library | |
| *** Test Case *** | |
| Headless Google | |
| Open Browser https://www.google.com headlesschrome | |
| Maximize Browser Window | |
| Input Text lst-ib somkiat | |
| Press Key lst-ib \\13 | |
| Wait Until Page Contains somkiat.cc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Test case *** | |
| Upload exciting photo | |
| Wait Until Element Is Visible ${Tap task} | |
| Click Element ${Tap task} | |
| Wait Until Element Is Visible ${Create Task Button} | |
| Click Element ${Create Task Button} | |
| Execute Javascript ${Attach File Button} | |
| Wait Until Element Is Visible ${Choose File Button} | |
| Choose File ${Choose File Button} Desktop:\\eko_work\\dog1.jpg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| /* | |
| Required imagemagick | |
| $brew install imagemagick | |
| And Ghostscript | |
| $brew install ghostscript |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "github.com/jung-kurt/gofpdf" | |
| "gopkg.in/gographics/imagick.v3/imagick" | |
| ) | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/json" | |
| "log" | |
| "net/http" | |
| mgo "gopkg.in/mgo.v2" | |
| "gopkg.in/mgo.v2/bson" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Settings *** | |
| Library Selenium2Library | |
| *** Variables *** | |
| ${IMPORT MATERIAL MENU} xpath=/html/body/div[2]/div[2]/div[1]/div[2]/h4/a | |
| ${ADD IMPORT MATERIAL LINK} xpath=//*[@id="editImportMaterial"]/form/div[1]/div[2]/div/div | |
| ${MATERIAL 1st ROW} xpath=//*[@id="materialPopup"]/div/div/div[2]/table/tbody[1]/tr | |
| ${SEARCH FARMER BUTTON} xpath=//*[@id="editImportMaterial"]/form/ng-form/div[1]/div[1]/div/div | |
| ${FARMER 1st ROW} xpath=//*[@id="farmerPopup"]/div/div/div[2]/table/tbody[2]/tr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Settings *** | |
| Library Selenium2Library | |
| *** Variables *** | |
| ${InputSearchforCal} (2+2)^3 | |
| *** Test Cases *** | |
| TC1-Show Google Calculator | |
| #Open Web browser firefox | |
| Open Browser http://google.co.th firefox |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Settings *** | |
| Library Selenium2Library | |
| Test Template Check calculator result | |
| *** Test cases *** | |
| Normal add 2+2 4 | |
| Normal subtract 3-1 2 | |
| Powered (2+2)^3 64 | |
| *** Keywords *** |
NewerOlder