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 tests My Site | |
*/ | |
@Config(url="http://mysite.com", browser=CHROME) | |
public class TestMySite extends AutomationTest { | |
@Test | |
public void testSomething() { | |
click(By.linkText("something")) | |
.validateText(By.cssSelector("input"), "something"); |
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
@Config(url="http://flipkart.com", browser=Browser.FIREFOX) | |
public class TestFlipKart extends AutomationTest { | |
@Test | |
public void testLoginLogout() { | |
String username = "<username>"; | |
String password = "<password>"; | |
click(By.cssSelector("a[href*='/login']")) | |
.setText(By.cssSelector("input[name='email']"), username) | |
.setText(By.cssSelector("input[name='password']"), 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
class Color | |
attr_reader :r, :g, :b | |
def initialize(r,g,b) | |
@r = r | |
@g = g | |
@b = b | |
end | |
def brightness_index |
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 com.company.seleniumframework.functional; | |
import com.company.seleniumframework.AutomationTest; | |
import com.company.seleniumframework.Browser; | |
import com.company.seleniumframework.Config; | |
import org.junit.Test; | |
import org.openqa.selenium.By; | |
@Config(url="https://collaboration.skype.com/promotion/?cm_mmc=AFCJ%7C1250_B1-_-11129583-1225267", browser= Browser.CHROME) | |
public class SkypeTest extends AutomationTest { |
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 com.company.seleniumframework.functional; | |
import com.company.seleniumframework.AutomationTest; | |
import com.company.seleniumframework.Browser; | |
import com.company.seleniumframework.Config; | |
import org.junit.Test; | |
import org.openqa.selenium.By; | |
@Config(url="http://aviprobo.doorfree.com/control.html", browser= Browser.CHROME) | |
public class TextArea extends AutomationTest { |
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
Main Module | |
Get input from user | |
Display unit price (price per ounce) | |
Display total price | |
End Main Module | |
Get Input Module | |
Declare ItemName as String | |
Declare UnitPrice as Float | |
Declare Pounds as Float |
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
/** | |
Main File | |
**/ | |
#include "Card.h" | |
#include <vector> | |
using namespace Cards; | |
void shuffle(std::vector<Card> deck) { | |
for (int suit = 0; suit < 3; suit++) { |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@namespace svg url(http://www.w3.org/2000/svg); | |
@-moz-document regexp("^https?://((raw[2-9]*|gist|guides|help|status|developer)\.)?github\.com.*") { | |
/*********************************************** | |
* Github Dark Theme v1.8.7 (3/22/2014) | |
* https://github.com/StylishThemes/GitHub-Dark | |
* http://userstyles.org/styles/37035 | |
* License: http://sam.zoy.org/wtfpl/ | |
***********************************************/ | |
body { |
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 com.company.seleniumframework.functional; | |
import com.company.seleniumframework.AutomationTest; | |
import com.company.seleniumframework.Browser; | |
import com.company.seleniumframework.Config; | |
import org.junit.Test; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebElement; | |
import java.util.ArrayList; |
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
[ | |
java, | |
applet, | |
awt, | |
color, | |
datatransfer, | |
dnd, | |
event, | |
font, | |
geom, |
OlderNewer