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 *** | |
Resource ../../Resources/PageObject/KeyDefs/Common.robot | |
Resource ../../Resources/PageObject/KeyDefs/SeleniumDrivers.robot | |
Variables ../../Resources/PageObject/Locators/Locators.py | |
Test Teardown Common.Close local test browser |
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 *** | |
Resource ../../Resources/PageObject/KeyDefs/Common.robot | |
Resource ../../Resources/PageObject/KeyDefs/SeleniumDrivers.robot | |
Variables ../../Resources/PageObject/Locators/Locators.py | |
# Test Teardown Common.Close local test browser |
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
exec_platform = os.getenv('EXEC_PLATFORM') | |
@pytest.mark.usefixtures('driver') | |
class TestSimpleSelenium: | |
def test_simple_selenium(self, driver): | |
resultant_str = "Thanks for contacting us, we will get back to you shortly." | |
driver.get(locators.test_sel_playground_url) |
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 CLoudGRid; | |
import java.net.*; | |
import java.util.HashMap; | |
import org.openqa.selenium.remote.RemoteWebDriver; | |
import org.openqa.selenium.chrome.ChromeOptions; | |
import org.testng.annotations.*; |
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 LocalGrid; | |
import org.openqa.selenium.By; | |
import org.testng.Assert; | |
import org.testng.annotations.Test; | |
public class TwoInputFieldTests extends BaseTest | |
{ |
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 LocalGrid; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
import org.testng.annotations.*; | |
public class BaseTest { | |
public static WebDriver driver; |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>demo.lambdaTest</groupId> | |
<artifactId>JavaTestCase</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.testng</groupId> |
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
import Main from "./main.js" | |
const signupUrl = "https://ecommerce-playground.lambdatest.io/index.php?route=account/register"; | |
class SignupPage extends Main { | |
constructor() { | |
super(); | |
this.url = signupUrl; | |
this.firstNameInput = "input-firstname"; |
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 WithThreadLocal.advanced-scenarios; | |
import org.openqa.selenium.By; | |
import org.testng.annotations.Test; | |
import WithThreadLocal.BaseTest; | |
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 WithThreadLocal.advanced-scenarios; | |
import org.openqa.selenium.By; | |
import org.testng.annotations.Test; | |
import WithThreadLocal.BaseTest; | |