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 FluentAutomation; | |
using FluentAutomation.Interfaces; | |
using System; | |
using System.IO; | |
using System.Reflection; | |
private static INativeActionSyntaxProvider I = null; | |
public static void Bootstrap<T>(string browserName) | |
{ |
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
{ | |
contactEmail: 'support@datinix.net', | |
primaryIP: '72.232.233.254', | |
ttl: '14400', | |
refresh: '28800', | |
retry: '7200', | |
expire: '1209600', | |
minttl: '86400', | |
primaryNS: 'ns1.dtnxdns.net', |
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 'rubygems' | |
require 'json' | |
require 'net/http' | |
require 'uri' | |
teststeps = [ | |
{ | |
:name => "Open", | |
:arguments => { | |
:url => "http://www.google.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
[{ | |
"name": "Open", | |
"arguments": { | |
"url": "http://www.google.com/" | |
} | |
}, | |
{ | |
"name": "Enter", | |
"arguments": { | |
"value": "Fluent Automation", |
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
{ | |
Browser: "Firefox", | |
Steps: [ | |
{ | |
Command: "Open", | |
Arguments: [ | |
URL: "http://www.google.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
{ | |
"GroupObjects": [ | |
{ | |
"Id": 1, | |
"ValueIds": [ | |
1, | |
2, | |
3 | |
], | |
"ImportantIds": [ |
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
[TestMethod] | |
public void CartEditor_AddDelete() | |
{ | |
I.Use(BrowserType.InternetExplorer); | |
I.Open("http://knockoutjs.com/examples/cartEditor.html"); | |
I.Select(2).From("#cartEditor tr select:eq(0)"); | |
I.Select(2).From("#cartEditor tr select:eq(1)"); | |
I.Enter(6).In("#cartEditor td.quantity input:eq(0)"); | |
I.Expect.This("$197.70").In("#cartEditor tr span:eq(1)"); |
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 FluentAutomation.API; | |
using FluentAutomation.API.Enumerations; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FluentAutomation.Samples | |
{ | |
/// <summary> | |
/// Fluent Automation API for the Web - http://www.stirno.com/fluentautomation | |
/// </summary> | |
[TestClass] |
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
[TestClass] | |
public class LoginTests : StirnoTestDriver | |
{ | |
[TestMethod] | |
public void Login_HappyPath() | |
{ | |
I.Use(BrowserType.InternetExplorer); | |
I.Open("http://idev05/Login"); | |
// Validate expected strings on page |
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; | |
namespace DTNX.DNS.DataAccess.Repositories | |
{ | |
public class RepositoryBase<T> where T : ModelBase | |
{ | |
public RepositoryBase() |