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
require "selenium-webdriver" | |
require "rspec" | |
require 'rspec/expectations' | |
describe "#Add simple expense and after add a receipt", :suite => true do | |
before(:all) do | |
@driver = Selenium::WebDriver.for :chrome | |
@base_url = "https://myurl.com" | |
@driver.manage.window.maximize |
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
ENV['SAUCE_USERNAME'] = 'myname' | |
ENV['SAUCE_API_KEY'] = 'my_api' | |
require "selenium-webdriver" | |
require "rspec" | |
require 'rspec/expectations' | |
describe "#Add simple expense and after add a receipt", :saucelabs => true do | |
before(:all) do |
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
require "selenium-webdriver" | |
require "rspec" | |
require 'rspec/expectations' | |
describe "#Add simple expense with receipt", :suite => true do | |
before(:all) do | |
@driver = Selenium::WebDriver.for :chrome | |
@base_url = "https://mytest.com" | |
@driver.manage.window.maximize |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using NUnit.Framework; | |
using OpenQA.Selenium; | |
using OpenQA.Selenium.Chrome; | |
using OpenQA.Selenium.Support.UI; | |
using OpenQA.Selenium.Remote; | |
using OpenQA.Selenium.Interactions; |
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
require "selenium-webdriver" | |
require "rspec" | |
require 'rspec/expectations' | |
require "faker" | |
describe "#Add expense and create report", :suite => true do | |
before(:all) do | |
@driver = Selenium::WebDriver.for :chrome | |
@base_url = "https://mysite.com" |
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
package teste; | |
public class TesteDesafio { | |
public static void main(String[] args) { | |
int[] a = {6,8,8,7,2,9}; | |
int elemento1 = 0, elemento2 = 0, resultado = 0; | |
for (int i = 0; i < a.length; i++) { | |
for (int j = i + 1; j < a.length; j++) { | |
if ((a[i] % 3 != 0) && (a[j] % 3 != 0)) | |
continue; |
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
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:trav="http://schemas.datacontract.org/2004/07/TravelExplorer.DataTravel.WebService.Messages" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> | |
<soapenv:Header/> | |
<soapenv:Body> | |
<tem:SavePackage> | |
<!--Optional:--> | |
<tem:rPack> | |
<!--Optional:--> | |
<trav:Language>pt</trav:Language> | |
<!--Optional:--> | |
<trav:Password>12345</trav:Password> |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using NUnit.Framework; | |
using OpenQA.Selenium; | |
using OpenQA.Selenium.Chrome; | |
using OpenQA.Selenium.Support.UI; | |
using OpenQA.Selenium.Remote; | |
using OpenQA.Selenium.Interactions; | |
using System.Collections.ObjectModel; |
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
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformVersion":"9.2","deviceName":"iPhone 4s","app":"/Users/rafaelcarvalho1santos/Desktop/Projetos/appium-pytest/app/TestApp.app.zip","platformName":"iOS"}} | |
info: Client User-Agent string: Python-urllib/2.7 | |
info: ************************************* | |
info: ************************************* | |
info: ************************************* | |
info: ************************************* | |
info: ************************************* | |
info: ************************************* | |
info: ************************************* |
OlderNewer