#seetest.pwa - Example for loading Progressive Web App (PWA) across various browsers in seetest cloud.
This project demonstrates loading of Progressive Web across various browser's in Device (Android and IOS) and Desktop.
This example will cover:
- Installs PWA ( Only in Android Device and Chrome Browser)
- Performs a simple test with a configured Web URL which supports PWA.
-
Clone this git repository
git clone
-
Obtain access key from seetest.io cloud
https://docs.seetest.io/display/SEET/Execute+Tests+on+SeeTest+-+Obtaining+Access+Key
note : you need to have a valid subscription or a trial to run this test (Trial \ paid)
-
To run the tests,
Please ensure that following environment variables are set.
-
JAVA_HOME to JDK/JRE HOME and update it in the PATH variable.
-
SEETEST_IO_ACCESS_KEY to valid access key obtained before in Step 2.
In Windows:
set SEETEST_IO_ACCESS_KEY=<your access key>
In Unix:
export SEETEST_IO_ACCESS_KEY=<your access key>
Now run the tests using following command in command line.
gradlew runTests
If you are using IDE like IntelliJ, make sure you create a Run configuration to use src/main/java/testng.xml. Set the Environment variable and then proceed to execute the test.
-
-
To Run tests, use src/main/java/testngs.xml file
Right click on the file and run from IntelliJ \ Eclipse Or use the command line :
gradlew runTests
-
To Run tests in parallel, use src/main/java/testng-parallel-class.xml file
Right click on the file and run from IntelliJ \ Eclipse Or use the command line :
gradlew runTestsParallel
Note : - Default URL can be changed via configuration main/resources/seetest.properties - To change run test on a specific device, Open the main/java/testng.xml or testngParallel.xml and modify specify device as follows, where "d0429a1b7d24" is device id.