Skip to content

NUI Automation Test by Aurum. This test is designed to test NUITizenGallery examples. Test will take screenshots for each examples and compare with expected screenshots.

Notifications You must be signed in to change notification settings

nui-dali/NUIAutomationTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

NUIAutomationTest

NUI Automation Test by Aurum.

This test is designed to test NUITizenGallery examples. Test will take screenshots for each examples and compare with expected screenshots.

Requirements and Pre-Conditions

Test Environment Settings

  • Pre-environment Setting

    Start from Aurum directory (aurum/)

    (host) cd ui_automation/python/mobile

    Create virtual env

    (host) python3 -m venv v

    Activate a virtual env

    • Linux (host) source v/bin/activate

    • Window (host) v/Scripts/activate.bat

    Install required pkg (only once)

    (python_virtual) pip3 install -r ../../../protocol/resources/python/requirements.txt

    (python_virtual) pip3 install 'protobuf<4.0dev,>=3.12.0' --force-reinstall

    (python_virtual) pip3 install opencv-python

    Target setup such as sdb forward, bootstrap execution

    (python_virtual) python3 ../../../protocol/resources/python/mobile/mobileSetup.py

  • Launch Test

    Move test directory (cd {yourlocation}/NUIAutomationTest/)

    (python_virtual) cd test/NUITizenGallery/

    Take screenshots (only required first time)

    (python_virtual) python3 ScreenShotCapturer.py

    Run test

    (python_virtual) python3 {test-name}.py

    Run all test

    (python_virtual) python3 AllTest.py

About

NUI Automation Test by Aurum. This test is designed to test NUITizenGallery examples. Test will take screenshots for each examples and compare with expected screenshots.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages