-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
900be0a
commit 2cdf525
Showing
6 changed files
with
96 additions
and
39 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
*** Settings *** | ||
Library AppiumLibrary | ||
|
||
*** Variables *** | ||
|
||
@{_tmp} | ||
... platformName: ${platformName} | ||
... platformVersion: ${version} | ||
... deviceName: ${deviceName} | ||
... visual: ${visual} | ||
... network: ${network} | ||
... isRealMobile: ${isRealMobile} | ||
... name: 'RobotFramework Lambda Test' | ||
... app: 'lt://proverbial-android' | ||
|
||
#${BROWSER} ${ROBOT_BROWSER} | ||
${CAPABILITIES} ${EMPTY.join(${_tmp})} | ||
${REMOTE_URL} https://%{LT_USERNAME}:%{LT_ACCESS_KEY}@mobile-hub.lambdatest.com/wd/hub | ||
#${app} lt://APP100201841649255527998398 | ||
${app} lt://proverbial-android | ||
${TIMEOUT} 3000 | ||
${platformName} ${platformName} | ||
|
||
*** Keywords *** | ||
|
||
Open test app | ||
[Timeout] ${TIMEOUT} | ||
Open Application ${REMOTE_URL} platformName=android platformVersion=${version} deviceName=${deviceName} visual=${visual} network=${network} isRealMobile=${isRealMobile} name="RobotFramework Lambda Test" | ||
|
||
Close test app | ||
Close All Applications |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
*** Settings *** | ||
|
||
Resource ../Resources/CommonWeb.robot | ||
|
||
Test Setup CommonWeb.Open test app | ||
Test Teardown CommonWeb.Close test app | ||
|
||
*** Variables *** | ||
${TIMEOUT} 3000 | ||
|
||
*** Test Cases *** | ||
|
||
Example of connecting to Lambdatest via Robot Framework | ||
[Timeout] ${TIMEOUT} | ||
Go To URL https://mfml.in/api/getInfo | ||
Sleep 10 seconds | ||
Click element id=resolution | ||
Click element id=location | ||
Click element id=details | ||
Click element id=timezone |
This file contains 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