Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<<<<<<< HEAD
=======
*.html
*.xml
pabot_results/
.DS_Store
.pabotsuitenames
>>>>>>> 3cc58ce6db279811ff4b164f3dc5afca4d15c153
*.jpg
*.project
*.png
libspecs/
.DS_Store
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ node {
stage('Preparation') { // for display purposes
//pass login
properties([parameters([credentials(credentialType: 'com.browserstack.automate.ci.jenkins.BrowserStackCredentials', defaultValue: '', description: '', name: 'BROWSERSTACK_USERNAME', required: true), choice(choices: ['single', 'local', 'parallel - testsuite level', 'parallel - testcase level', 'appium_android', 'appium_ios', 'appium parallel'], description: 'Included Automate and App-Automate tests', name: 'Command')])])
git changelog: false, poll: false, url: 'https://github.com/nithyamn/bs-robot-framework.git'
git changelog: false, poll: false, url: 'https://github.com/BrowserStackCE/bstack-robot-framework.git'
}
stage('Initiate tests on BrowserStack') {
browserstack(credentialsId: "${params.BROWSERSTACK_USERNAME}",localConfig: [localOptions: '', localPath: '']) {
Expand Down
3 changes: 2 additions & 1 deletion app/test/Appium_android.robot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Library Process
*** Variables ***
${USERNAME} %{BROWSERSTACK_USERNAME} #Can specify BrowserStack Username directly instead of Environment variable.
${ACCESS_KEY} %{BROWSERSTACK_ACCESS_KEY} #Can specify BrowserStack Accesskey directly instead of Environment variable.
${REMOTE_URL} http://${USERNAME}:${ACCESS_KEY}@hub-cloud.browserstack.com/wd/hub
${REMOTE_URL} http://${USERNAME}:${ACCESS_KEY}@hub-cloud.browserstack.com/wd/hub

*** Test Cases ***
Appium Test on BrowserStack
Expand All @@ -21,6 +21,7 @@ Appium Test on BrowserStack
Close Application


# Upload app programatically
# ${AppUrl} Run Process curl -u "${USERNAME}:${ACCESS_KEY}" -X POST "https://api-cloud.browserstack.com/app-automate/upload" -F "file\=@${APP_PATH}" shell=true alias=AppUpload
# ${AppData} Evaluate json.loads("""${AppUrl.stdout}""") json
# Log ${AppUrl.stdout}
Expand Down
2 changes: 2 additions & 0 deletions app/test/Appium_ios.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Appium Test on BrowserStack
Click Element accessibility_id=OK
Close Application


# Upload app programatically
# ${AppUrl} Run Process curl -u "${USERNAME}:${ACCESS_KEY}" -X POST "https://api-cloud.browserstack.com/app-automate/upload" -F "file\=@${APP_PATH}" shell=true alias=AppUpload
# ${AppData} Evaluate json.loads("""${AppUrl.stdout}""") json
# Log ${AppUrl.stdout}
Expand Down
Binary file removed app/test/appium-screenshot-1.png
Binary file not shown.
1 change: 0 additions & 1 deletion app/test/parallel/Suite1_App.robot
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Library Process
${USERNAME} %{BROWSERSTACK_USERNAME} #Can specify BrowserStack Username directly instead of Environment variable.
${ACCESS_KEY} %{BROWSERSTACK_ACCESS_KEY} #Can specify BrowserStack Accesskey directly instead of Environment variable.
${REMOTE_URL} http://${USERNAME}:${ACCESS_KEY}@hub-cloud.browserstack.com/wd/hub
${APP_PATH} /Users/nithyamani/Desktop/APPS/WikipediaSample.apk

*** Test Cases ***
Appium Test on BrowserStack
Expand Down
Loading