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
import os | |
import zipfile | |
import StringIO | |
import requests | |
import config | |
class FileManager: |
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
class TestProduct2(object): | |
def test_user_can_add_2nd_item_to_the_cart(self): | |
browser.open("https://www.amazon.com/") | |
browser.find(By.ID, "twotabsearchtextbox").send_keys("GoPro") | |
browser.find(By.CLASS_NAME,"nav-input").click() | |
browser.find(By.ID,"result_3").click() | |
browser.find(By.ID, "add-to-cart-button").click() | |
browser.find(By.ID, "siNoCoverage-announce").click() | |
browser.find(By.ID, "nav-cart").click() | |
assert browser.find(By.ID, "nav-cart").text == "2" |
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
def groovyUtils=new com.eviware.soapui.support.GroovyUtils(context) | |
def projectPath = groovyUtils.projectPath | |
log.info projectPath | |
def command = "cmd /c '${projectPath}/xml-3.0/bin/xml.bat’" | |
def sout = new StringBuilder(), serr = new StringBuilder() |
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
import atexit | |
from selene.api import * | |
from selenium.webdriver import DesiredCapabilities | |
from subprocess import call | |
from testcontainers import selenium | |
chrome = selenium.BrowserWebDriverContainer(DesiredCapabilities.CHROME).start() | |
config.browser_name = "chrome" |
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
import io | |
import os | |
import zipfile | |
import requests | |
from subprocess import call | |
from os import chmod | |
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
<html> | |
<head> | |
</head> | |
<body> | |
<h3>Performance demo</h3> | |
<input id="input"></input> | |
<button id="click_btn">Click</button> | |
<div> | |
<select id="select"> |
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
INSERT INTO arvi_facadeintegration_api_product_get (transactionId, offset, pageSize, fromDate, toDate, status, created_at) VALUES | |
('eb24b039e200110fd06da8eeb749d5ea', 0, 100, '2017-03-27T00:00:00.000000', '2017-03-27T16:21:29.451700', 1, '2017-03-27 19:21:29'); |
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
{ | |
"transactionId": "1", | |
"succeeded": true, | |
"errors": [], | |
"information": { | |
"count": 1, | |
"data": [ | |
{ | |
"lastUpdatedDate": "2017-04-11T13:10:32.2423397+03:00", | |
"product": { |
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
[client] | |
user=root | |
password=root |
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
// JDI | |
public class LoginForm extends Form<User> { | |
@FindBy(id="Login") | |
public TextField name; | |
@FindBy(id="Password") | |
public TextField password; | |
@FindBy(css="[type=submit]") | |
public Button enter; | |
} |
OlderNewer