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
/** | |
* Use SauceLabs and TestNG to head for Groupon. | |
* You have to put in your username and accessKey. | |
*/ | |
package de.itkosmopolit.testandforum; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import org.openqa.selenium.WebDriver; |
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
<?php | |
/** | |
* This script is just a template - you have to adapt it to your needs. | |
* WHY YOU MIGHT NEED IT | |
* That script (http://aws.amazon.com/code/AWIS/402) provided by Alexa is optimized for running on a console. This script here is optimized for running on a webserver. | |
* Also the Alexa-script isn't running on older PHP (because it uses based on newer version of SimpleXMLElement::__construct with more than three parameters). This script here is running with at least PHP 5.1.6 (24. August 2006). | |
* | |
* INSTRUCTIONS | |
* 1.) You have to get an account at Amazon Web Services (for that you need a valid credit card). |
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 de.itkosmopolit.testandforum; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.JavascriptExecutor; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.firefox.FirefoxDriver; | |
import org.testng.Assert; | |
import org.testng.annotations.Test; | |
public class AnchorTest { |