├── .gitignore ├── README.docx ├── README.txt ├── Selenium2WebDriverSEd ├── .nuget │ └── packages.config ├── Backup │ ├── Selenium2WebDriverSEd.Test │ │ ├── Elements │ │ │ └── GenericElementsTestFixture.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Selenium2WebDriverSEd.Test.csproj │ │ ├── Web.Debug.config │ │ ├── Web.Release.config │ │ ├── Web.config │ │ └── packages.config │ ├── Selenium2WebDriverSEd.sln │ └── Selenium2WebDriverSEd │ │ ├── ElementTypes │ │ ├── BaseSeCollection.cs │ │ ├── ButtonSe.cs │ │ ├── ButtonSeCollection.cs │ │ ├── CheckBoxSe.cs │ │ ├── CheckBoxSeCollection.cs │ │ ├── ControlSe.cs │ │ ├── ControlSeCollection.cs │ │ ├── DivSe.cs │ │ ├── DivSeCollection.cs │ │ ├── ElementSe.cs │ │ ├── ElementSeCollection.cs │ │ ├── ImageSe.cs │ │ ├── ImageSeCollection.cs │ │ ├── LabelSe.cs │ │ ├── LabelSeCollection.cs │ │ ├── LinkSe.cs │ │ ├── LinkSeCollection.cs │ │ ├── ListItemSe.cs │ │ ├── ListItemSeCollection.cs │ │ ├── RadioButtonSe.cs │ │ ├── RadioButtonSeCollection.cs │ │ ├── SelectListSe.cs │ │ ├── SelectListSeCollection.cs │ │ ├── SpanSe.cs │ │ ├── SpanSeCollection.cs │ │ ├── TableBodySe.cs │ │ ├── TableBodySeCollection.cs │ │ ├── TableCellSe.cs │ │ ├── TableCellSeCollection.cs │ │ ├── TableElements.cs │ │ ├── TableHeadSe.cs │ │ ├── TableHeadSeCollection.cs │ │ ├── TableRowSe.cs │ │ ├── TableRowSeCollection.cs │ │ ├── TableSe.cs │ │ ├── TableSeCollection.cs │ │ ├── TextFieldSe.cs │ │ └── TextFieldSeCollection.cs │ │ ├── Entities │ │ ├── Args │ │ │ └── FindRow.cs │ │ └── Data │ │ │ ├── ElementNames.cs │ │ │ ├── ElementType.cs │ │ │ └── TypeSe.cs │ │ ├── ExampleTests │ │ └── ExampleTests.cs │ │ ├── Extensions │ │ ├── ControlExtensions.cs │ │ ├── StringExtensions.cs │ │ ├── WebDriverExtensions.cs │ │ └── WebElementExtensions.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── Selenium2WebDriverSEd.csproj │ │ ├── Tools │ │ └── firebug-1.7.3-fx.xpi │ │ ├── Web.Debug.config │ │ ├── Web.Release.config │ │ ├── Web.config │ │ └── packages.config ├── Packages.dgml ├── Selenium2WebDriverSEd.Test │ ├── Elements │ │ └── GenericElementsTestFixture.cs │ ├── ExampleTests │ │ └── ExampleTests.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Selenium2WebDriverSEd.Test.csproj │ ├── Web.Debug.config │ ├── Web.Release.config │ ├── Web.config │ └── packages.config ├── Selenium2WebDriverSEd.sln ├── Selenium2WebDriverSEd │ ├── ElementTypes │ │ ├── BaseSeCollection.cs │ │ ├── ButtonSe.cs │ │ ├── ButtonSeCollection.cs │ │ ├── CheckBoxSe.cs │ │ ├── CheckBoxSeCollection.cs │ │ ├── ControlSe.cs │ │ ├── ControlSeCollection.cs │ │ ├── DivSe.cs │ │ ├── DivSeCollection.cs │ │ ├── ElementSe.cs │ │ ├── ElementSeCollection.cs │ │ ├── ImageSe.cs │ │ ├── ImageSeCollection.cs │ │ ├── LabelSe.cs │ │ ├── LabelSeCollection.cs │ │ ├── LinkSe.cs │ │ ├── LinkSeCollection.cs │ │ ├── ListItemSe.cs │ │ ├── ListItemSeCollection.cs │ │ ├── RadioButtonSe.cs │ │ ├── RadioButtonSeCollection.cs │ │ ├── SelectListSe.cs │ │ ├── SelectListSeCollection.cs │ │ ├── SpanSe.cs │ │ ├── SpanSeCollection.cs │ │ ├── TableBodySe.cs │ │ ├── TableBodySeCollection.cs │ │ ├── TableCellSe.cs │ │ ├── TableCellSeCollection.cs │ │ ├── TableElements.cs │ │ ├── TableHeadSe.cs │ │ ├── TableHeadSeCollection.cs │ │ ├── TableRowSe.cs │ │ ├── TableRowSeCollection.cs │ │ ├── TableSe.cs │ │ ├── TableSeCollection.cs │ │ ├── TextFieldSe.cs │ │ └── TextFieldSeCollection.cs │ ├── Entities │ │ ├── Args │ │ │ └── FindRow.cs │ │ └── Data │ │ │ ├── ElementNames.cs │ │ │ ├── ElementType.cs │ │ │ └── TypeSe.cs │ ├── Extensions │ │ ├── ControlExtensions.cs │ │ ├── StringExtensions.cs │ │ ├── WebDriverExtensions.cs │ │ └── WebElementExtensions.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Selenium2WebDriverSEd.csproj │ ├── Selenium2WebDriverSEd.nuspec │ ├── Tools │ │ └── firebug-1.7.3-fx.xpi │ ├── Web.Debug.config │ ├── Web.Release.config │ ├── Web.config │ └── packages.config ├── UpgradeLog.XML ├── UpgradeLog.htm ├── _UpgradeReport_Files │ ├── UpgradeReport.css │ ├── UpgradeReport.xslt │ ├── UpgradeReport_Error.png │ ├── UpgradeReport_Information.png │ ├── UpgradeReport_Success.png │ └── UpgradeReport_Warning.png └── packages │ ├── Castle.Core.3.0.0.4001 │ ├── ASL - Apache Software Foundation License.txt │ ├── BreakingChanges.txt │ ├── Changes.txt │ ├── Committers.txt │ ├── lib │ │ ├── net35 │ │ │ └── Castle.Core.xml │ │ ├── net40-client │ │ │ └── Castle.Core.xml │ │ └── sl4 │ │ │ └── Castle.Core.xml │ └── readme.txt │ ├── DotNetZip.1.9.1.8 │ └── lib │ │ └── net20 │ │ └── Ionic.Zip.xml │ ├── NUnit.2.6.0.12054 │ ├── lib │ │ └── nunit.framework.xml │ └── license.txt │ ├── NUnit.2.6.2 │ ├── NUnit.2.6.2.nupkg │ ├── NUnit.2.6.2.nuspec │ ├── lib │ │ ├── nunit.framework.dll │ │ └── nunit.framework.xml │ └── license.txt │ ├── Newtonsoft.Json.4.5.1 │ └── lib │ │ ├── net20 │ │ └── Newtonsoft.Json.xml │ │ ├── net35 │ │ └── Newtonsoft.Json.xml │ │ ├── net40 │ │ └── Newtonsoft.Json.xml │ │ ├── sl3-wp │ │ └── Newtonsoft.Json.xml │ │ ├── sl4-windowsphone71 │ │ └── Newtonsoft.Json.xml │ │ ├── sl4 │ │ └── Newtonsoft.Json.xml │ │ └── winrt45 │ │ └── Newtonsoft.Json.xml │ ├── Newtonsoft.Json.4.5.11 │ ├── Newtonsoft.Json.4.5.11.nupkg │ ├── Newtonsoft.Json.4.5.11.nuspec │ └── lib │ │ ├── net20 │ │ ├── Newtonsoft.Json.dll │ │ └── Newtonsoft.Json.xml │ │ ├── net35 │ │ ├── Newtonsoft.Json.dll │ │ └── Newtonsoft.Json.xml │ │ ├── net40 │ │ ├── Newtonsoft.Json.dll │ │ └── Newtonsoft.Json.xml │ │ ├── portable-net40+sl4+wp7+win8 │ │ ├── Newtonsoft.Json.dll │ │ └── Newtonsoft.Json.xml │ │ ├── sl3-wp │ │ ├── Newtonsoft.Json.dll │ │ └── Newtonsoft.Json.xml │ │ ├── sl4-windowsphone71 │ │ ├── Newtonsoft.Json.dll │ │ └── Newtonsoft.Json.xml │ │ ├── sl4 │ │ ├── Newtonsoft.Json.dll │ │ └── Newtonsoft.Json.xml │ │ └── winrt45 │ │ ├── Newtonsoft.Json.dll │ │ └── Newtonsoft.Json.xml │ ├── Newtonsoft.Json.8.0.3 │ ├── Newtonsoft.Json.8.0.3.nupkg │ ├── lib │ │ ├── net20 │ │ │ ├── Newtonsoft.Json.dll │ │ │ └── Newtonsoft.Json.xml │ │ ├── net35 │ │ │ ├── Newtonsoft.Json.dll │ │ │ └── Newtonsoft.Json.xml │ │ ├── net40 │ │ │ ├── Newtonsoft.Json.dll │ │ │ └── Newtonsoft.Json.xml │ │ ├── net45 │ │ │ ├── Newtonsoft.Json.dll │ │ │ └── Newtonsoft.Json.xml │ │ ├── portable-net40+sl5+wp80+win8+wpa81 │ │ │ ├── Newtonsoft.Json.dll │ │ │ └── Newtonsoft.Json.xml │ │ └── portable-net45+wp80+win8+wpa81+dnxcore50 │ │ │ ├── Newtonsoft.Json.dll │ │ │ └── Newtonsoft.Json.xml │ └── tools │ │ └── install.ps1 │ ├── NuGet.CommandLine.2.1.2 │ ├── NuGet.CommandLine.2.1.2.nupkg │ ├── NuGet.CommandLine.2.1.2.nuspec │ └── tools │ │ └── NuGet.exe │ ├── Selenium.Support.2.34.0 │ ├── Selenium.Support.2.34.0.nupkg │ ├── Selenium.Support.2.34.0.nuspec │ └── lib │ │ ├── net35 │ │ ├── WebDriver.Support.dll │ │ └── WebDriver.Support.xml │ │ └── net40 │ │ ├── WebDriver.Support.dll │ │ └── WebDriver.Support.xml │ ├── Selenium.Support.2.53.0 │ ├── Selenium.Support.2.53.0.nupkg │ └── lib │ │ ├── net35 │ │ ├── WebDriver.Support.dll │ │ └── WebDriver.Support.xml │ │ └── net40 │ │ ├── WebDriver.Support.dll │ │ └── WebDriver.Support.xml │ ├── Selenium.WebDriver.2.34.0 │ ├── Selenium.WebDriver.2.34.0.nupkg │ ├── Selenium.WebDriver.2.34.0.nuspec │ └── lib │ │ ├── net35 │ │ ├── WebDriver.dll │ │ └── WebDriver.xml │ │ └── net40 │ │ ├── WebDriver.dll │ │ └── WebDriver.xml │ ├── Selenium.WebDriver.2.53.0 │ ├── Selenium.WebDriver.2.53.0.nupkg │ └── lib │ │ ├── net35 │ │ ├── WebDriver.dll │ │ └── WebDriver.xml │ │ └── net40 │ │ ├── WebDriver.dll │ │ └── WebDriver.xml │ └── repositories.config ├── createPackage.cmd └── nuget ├── SeleniumHelperClasses.1.0.0.0.nupkg ├── SeleniumHelperClasses.1.0.1.0.nupkg ├── SeleniumHelperClasses.1.0.2.0.nupkg ├── WebDriverSEd.1.0.0.0.nupkg ├── WebDriverSEd.1.0.10.0.nupkg ├── WebDriverSEd.1.0.11.0.nupkg ├── WebDriverSEd.1.0.12.0.nupkg ├── WebDriverSEd.1.0.13.0.nupkg ├── WebDriverSEd.1.0.14.0.nupkg ├── WebDriverSEd.1.0.15.0.nupkg ├── WebDriverSEd.1.0.16.0.nupkg ├── WebDriverSEd.1.0.17.0.nupkg ├── WebDriverSEd.1.0.18.0.nupkg ├── WebDriverSEd.1.0.19.0.nupkg ├── WebDriverSEd.1.0.22.0.nupkg ├── WebDriverSEd.1.0.23.0.nupkg ├── WebDriverSEd.1.0.24.0.nupkg ├── WebDriverSEd.1.0.25.0.nupkg ├── WebDriverSEd.1.0.3.0.nupkg ├── WebDriverSEd.1.0.4.0.nupkg ├── WebDriverSEd.1.0.6.0.nupkg ├── WebDriverSEd.1.0.7.0.nupkg ├── WebDriverSEd.1.0.8.0.nupkg └── WebDriverSEd.1.0.9.0.nupkg /.gitignore: -------------------------------------------------------------------------------- 1 | # User-specific files 2 | *.user 3 | *.suo 4 | 5 | # Build 6 | [Bb]in 7 | [Oo]bj 8 | *.xap 9 | publish 10 | 11 | # Other files 12 | *.dotCover 13 | _ReSharper.* 14 | StyleCop.* -------------------------------------------------------------------------------- /README.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/README.docx -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/.nuget/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd.Test/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Selenium2WebDriverSEd.Test")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Selenium2WebDriverSEd.Test")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2012")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("7c1722e7-35a2-4b63-b435-722c612f85d8")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Revision and Build Numbers 33 | // by using the '*' as shown below: 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | [assembly: AssemblyFileVersion("1.0.0.0")] 36 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd.Test/Web.Debug.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd.Test/Web.Release.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 30 | 31 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd.Test/Web.config: -------------------------------------------------------------------------------- 1 |  2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd.Test/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Selenium2WebDriverSEd", "Selenium2WebDriverSEd\Selenium2WebDriverSEd.csproj", "{E3364C8D-067A-4164-A7E3-99B74D836732}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Selenium2WebDriverSEd.Test", "Selenium2WebDriverSEd.Test\Selenium2WebDriverSEd.Test.csproj", "{C3263F54-46E0-4D68-B03C-41F684E4E815}" 7 | EndProject 8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{F4815983-B54D-4332-996E-52B64F6C2C5C}" 9 | ProjectSection(SolutionItems) = preProject 10 | .nuget\packages.config = .nuget\packages.config 11 | EndProjectSection 12 | EndProject 13 | Global 14 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 15 | Debug|Any CPU = Debug|Any CPU 16 | Release|Any CPU = Release|Any CPU 17 | EndGlobalSection 18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 19 | {E3364C8D-067A-4164-A7E3-99B74D836732}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 20 | {E3364C8D-067A-4164-A7E3-99B74D836732}.Debug|Any CPU.Build.0 = Debug|Any CPU 21 | {E3364C8D-067A-4164-A7E3-99B74D836732}.Release|Any CPU.ActiveCfg = Release|Any CPU 22 | {E3364C8D-067A-4164-A7E3-99B74D836732}.Release|Any CPU.Build.0 = Release|Any CPU 23 | {C3263F54-46E0-4D68-B03C-41F684E4E815}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 24 | {C3263F54-46E0-4D68-B03C-41F684E4E815}.Debug|Any CPU.Build.0 = Debug|Any CPU 25 | {C3263F54-46E0-4D68-B03C-41F684E4E815}.Release|Any CPU.ActiveCfg = Release|Any CPU 26 | {C3263F54-46E0-4D68-B03C-41F684E4E815}.Release|Any CPU.Build.0 = Release|Any CPU 27 | EndGlobalSection 28 | GlobalSection(SolutionProperties) = preSolution 29 | HideSolutionNode = FALSE 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/ButtonSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class ButtonSe : ElementSe 12 | { 13 | public ButtonSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public ButtonSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public ButtonSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public ButtonSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public ButtonSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "input"; } 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/ButtonSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class ButtonSeCollection : BaseSeCollection 15 | { 16 | public ButtonSeCollection() 17 | { 18 | } 19 | 20 | public ButtonSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public ButtonSeCollection(IWebDriver webDriver, By by) 26 | :base(webDriver, by) 27 | { 28 | } 29 | 30 | public ButtonSeCollection(IWebElement webElement, By by) 31 | :base(webElement, by) 32 | { 33 | } 34 | 35 | public ButtonSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | :base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public ButtonSeCollection(IWebElement webElement, By by, Func predicate) 41 | :base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/CheckBoxSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class CheckBoxSe : ElementSe 12 | { 13 | public CheckBoxSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public CheckBoxSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public CheckBoxSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public CheckBoxSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public CheckBoxSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "input"; } 41 | } 42 | 43 | public bool IsChecked 44 | { 45 | get 46 | { 47 | try 48 | { 49 | if (WebElement.Selected) 50 | { 51 | return true; 52 | } 53 | 54 | return false; 55 | } 56 | catch (Exception) 57 | { 58 | return false; 59 | } 60 | } 61 | } 62 | 63 | public void SetChecked(bool theValue) 64 | { 65 | if (theValue && !IsChecked) 66 | { 67 | WebElement.Click(); 68 | } 69 | else if (!theValue && IsChecked) 70 | { 71 | WebElement.Click(); 72 | } 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/CheckBoxSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class CheckBoxSeCollection : BaseSeCollection 15 | { 16 | public CheckBoxSeCollection() 17 | { 18 | } 19 | 20 | public CheckBoxSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public CheckBoxSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public CheckBoxSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public CheckBoxSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public CheckBoxSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/ControlSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public abstract class ControlSe : ElementSe 12 | { 13 | public ControlSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | WebDriver = ElementsWebDriver; 17 | } 18 | 19 | public ControlSe(IWebDriver webDriver, By by) 20 | : base(webDriver, by) 21 | { 22 | } 23 | 24 | public ControlSe(IWebElement webElement, By by) 25 | : base(webElement, by) 26 | { 27 | WebDriver = ElementsWebDriver; 28 | } 29 | 30 | public ControlSe(IWebDriver webDriver, By by, Func predicate) 31 | : base(webDriver, by, predicate) 32 | { 33 | } 34 | 35 | public ControlSe(IWebElement webElement, By by, Func predicate) 36 | : base(webElement, by, predicate) 37 | { 38 | WebDriver = ElementsWebDriver; 39 | } 40 | 41 | protected IWebDriver WebDriver { get; set; } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/ControlSeCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using WebDriverSEd.Extensions; 6 | using OpenQA.Selenium; 7 | 8 | namespace WebDriverSEd.ElementTypes 9 | { 10 | public class ControlSeCollection : BaseSeCollection 11 | { 12 | public ControlSeCollection() 13 | { 14 | } 15 | 16 | public ControlSeCollection(IWebDriver webDriver) 17 | : base(webDriver) 18 | { 19 | } 20 | 21 | public ControlSeCollection(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public ControlSeCollection(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public ControlSeCollection(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public ControlSeCollection(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/DivSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class DivSe : ElementSe 12 | { 13 | public DivSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public DivSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public DivSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public DivSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public DivSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "div"; } 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/DivSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using OpenQA.Selenium; 10 | using WebDriverSEd.Extensions; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class DivSeCollection : BaseSeCollection 15 | { 16 | public DivSeCollection() 17 | { 18 | } 19 | 20 | public DivSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public DivSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public DivSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public DivSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public DivSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/ElementSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class ElementSeCollection : BaseSeCollection 15 | { 16 | public ElementSeCollection() 17 | { 18 | } 19 | 20 | public ElementSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public ElementSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public ElementSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public ElementSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public ElementSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/ImageSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Web; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class ImageSe : ElementSe 15 | { 16 | public ImageSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | } 20 | 21 | public ImageSe(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public ImageSe(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public ImageSe(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public ImageSe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | 41 | public override string ElementTag 42 | { 43 | get { return "img"; } 44 | } 45 | 46 | public string Alt 47 | { 48 | get 49 | { 50 | try 51 | { 52 | return WebElement.GetAttribute("alt"); 53 | } 54 | catch (Exception) 55 | { 56 | return null; 57 | } 58 | } 59 | } 60 | 61 | public string Source 62 | { 63 | get 64 | { 65 | try 66 | { 67 | return WebElement.GetAttribute("src"); 68 | } 69 | catch (Exception) 70 | { 71 | return null; 72 | } 73 | } 74 | } 75 | } 76 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/ImageSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class ImageSeCollection : BaseSeCollection 15 | { 16 | public ImageSeCollection() 17 | { 18 | } 19 | 20 | public ImageSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public ImageSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public ImageSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public ImageSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public ImageSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/LabelSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | 10 | namespace WebDriverSEd.ElementTypes 11 | { 12 | public class LabelSe : ElementSe 13 | { 14 | public LabelSe(IWebElement webElement) 15 | : base(webElement) 16 | { 17 | } 18 | 19 | public LabelSe(IWebDriver webDriver, By by) 20 | : base(webDriver, by) 21 | { 22 | } 23 | 24 | public LabelSe(IWebElement webElement, By by) 25 | : base(webElement, by) 26 | { 27 | } 28 | 29 | public LabelSe(IWebDriver webDriver, By by, Func predicate) 30 | : base(webDriver, by, predicate) 31 | { 32 | } 33 | 34 | public LabelSe(IWebElement webElement, By by, Func predicate) 35 | : base(webElement, by, predicate) 36 | { 37 | } 38 | 39 | public override string ElementTag 40 | { 41 | get { return "label"; } 42 | } 43 | 44 | public string Url 45 | { 46 | get 47 | { 48 | try 49 | { 50 | return WebElement.GetAttribute("href"); 51 | } 52 | catch (Exception) 53 | { 54 | return null; 55 | } 56 | } 57 | } 58 | 59 | public string For 60 | { 61 | get 62 | { 63 | try 64 | { 65 | return WebElement.GetAttribute("for"); 66 | } 67 | catch (Exception) 68 | { 69 | return null; 70 | } 71 | } 72 | } 73 | } 74 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/LabelSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class LabelSeCollection : BaseSeCollection 15 | { 16 | public LabelSeCollection() 17 | { 18 | } 19 | 20 | public LabelSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public LabelSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public LabelSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public LabelSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public LabelSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/LinkSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Web; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class LinkSe : ElementSe 15 | { 16 | public LinkSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | } 20 | 21 | public LinkSe(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public LinkSe(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public LinkSe(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public LinkSe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | 41 | public override string ElementTag 42 | { 43 | get { return "a"; } 44 | } 45 | 46 | public string Url 47 | { 48 | get 49 | { 50 | try 51 | { 52 | return WebElement.GetAttribute("href"); 53 | } 54 | catch (Exception) 55 | { 56 | return null; 57 | } 58 | } 59 | } 60 | } 61 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/LinkSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class LinkSeCollection : BaseSeCollection 17 | { 18 | public LinkSeCollection() 19 | { 20 | } 21 | 22 | public LinkSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public LinkSeCollection(IWebDriver webDriver, By by) 28 | :base(webDriver, by) 29 | { 30 | } 31 | 32 | public LinkSeCollection(IWebElement webElement, By by) 33 | :base(webElement, by) 34 | { 35 | } 36 | 37 | public LinkSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | :base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public LinkSeCollection(IWebElement webElement, By by, Func predicate) 43 | :base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/ListItemSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class ListItemSe : ElementSe 12 | { 13 | public ListItemSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public ListItemSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public ListItemSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public ListItemSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public ListItemSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "li"; } 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/ListItemSeCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using OpenQA.Selenium; 6 | 7 | namespace WebDriverSEd.ElementTypes 8 | { 9 | public class ListItemSeCollection : BaseSeCollection 10 | { 11 | public ListItemSeCollection() 12 | { 13 | } 14 | 15 | public ListItemSeCollection(IWebDriver webDriver) 16 | : base(webDriver) 17 | { 18 | } 19 | 20 | public ListItemSeCollection(IWebDriver webDriver, By by) 21 | : base(webDriver, by) 22 | { 23 | } 24 | 25 | public ListItemSeCollection(IWebElement webElement, By by) 26 | : base(webElement, by) 27 | { 28 | } 29 | 30 | public ListItemSeCollection(IWebDriver webDriver, By by, Func predicate) 31 | : base(webDriver, by, predicate) 32 | { 33 | } 34 | 35 | public ListItemSeCollection(IWebElement webElement, By by, Func predicate) 36 | : base(webElement, by, predicate) 37 | { 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/RadioButtonSe.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using OpenQA.Selenium; 6 | 7 | namespace WebDriverSEd.ElementTypes 8 | { 9 | public class RadioButtonSe : ElementSe 10 | { 11 | public RadioButtonSe(IWebElement webElement) 12 | : base(webElement) 13 | { 14 | } 15 | 16 | public RadioButtonSe(IWebDriver webDriver, By by) 17 | : base(webDriver, by) 18 | { 19 | } 20 | 21 | public RadioButtonSe(IWebElement webElement, By by) 22 | : base(webElement, by) 23 | { 24 | } 25 | 26 | public RadioButtonSe(IWebDriver webDriver, By by, Func predicate) 27 | : base(webDriver, by, predicate) 28 | { 29 | } 30 | 31 | public RadioButtonSe(IWebElement webElement, By by, Func predicate) 32 | : base(webElement, by, predicate) 33 | { 34 | } 35 | 36 | public override string ElementTag 37 | { 38 | get { return "input"; } 39 | } 40 | 41 | public bool IsChecked 42 | { 43 | get 44 | { 45 | try 46 | { 47 | if (WebElement.Selected) 48 | { 49 | return true; 50 | } 51 | 52 | return false; 53 | } 54 | catch (Exception) 55 | { 56 | return false; 57 | } 58 | } 59 | } 60 | 61 | public void SetChecked(bool theValue) 62 | { 63 | if (theValue && !IsChecked) 64 | { 65 | WebElement.Click(); 66 | } 67 | else if (!theValue && IsChecked) 68 | { 69 | WebElement.Click(); 70 | } 71 | } 72 | } 73 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/RadioButtonSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class RadioButtonSeCollection : BaseSeCollection 17 | { 18 | public RadioButtonSeCollection() 19 | { 20 | } 21 | 22 | public RadioButtonSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public RadioButtonSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public RadioButtonSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public RadioButtonSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public RadioButtonSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/SelectListSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using OpenQA.Selenium; 9 | using OpenQA.Selenium.Support.UI; 10 | using WebDriverSEd.Extensions; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class SelectListSe : ElementSe 15 | { 16 | public SelectListSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | if (WebElement != null) 20 | { 21 | SelectElement = new SelectElement(WebElement); 22 | } 23 | } 24 | 25 | public SelectListSe(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | if (WebElement != null) 29 | { 30 | SelectElement = new SelectElement(WebElement); 31 | } 32 | } 33 | 34 | public SelectListSe(IWebElement webElement, By by) 35 | : base(webElement, by) 36 | { 37 | if (WebElement != null) 38 | { 39 | SelectElement = new SelectElement(WebElement); 40 | } 41 | } 42 | 43 | public SelectListSe(IWebDriver webDriver, By by, Func predicate) 44 | : base(webDriver, by, predicate) 45 | { 46 | if (WebElement != null) 47 | { 48 | SelectElement = new SelectElement(WebElement); 49 | } 50 | } 51 | 52 | public SelectListSe(IWebElement webElement, By by, Func predicate) 53 | : base(webElement, by, predicate) 54 | { 55 | if (WebElement != null) 56 | { 57 | SelectElement = new SelectElement(WebElement); 58 | } 59 | } 60 | 61 | public override string ElementTag 62 | { 63 | get { return "select"; } 64 | } 65 | 66 | public IList AllSelectedOptions 67 | { 68 | get { return SelectElement.AllSelectedOptions; } 69 | } 70 | 71 | public bool IsMultiple 72 | { 73 | get { return SelectElement.IsMultiple; } 74 | } 75 | 76 | public IList Options 77 | { 78 | get { return SelectElement.Options; } 79 | } 80 | 81 | public IWebElement SelectedOption 82 | { 83 | get { return SelectElement.SelectedOption; } 84 | } 85 | 86 | private SelectElement SelectElement { get; set; } 87 | 88 | public void DeselectAll() 89 | { 90 | SelectElement.DeselectAll(); 91 | } 92 | 93 | public void DeselectByIndex(int index) 94 | { 95 | SelectElement.DeselectByIndex(index); 96 | } 97 | 98 | public void DeselectByText(string text) 99 | { 100 | if (!text.IsNullOrEmpty()) 101 | { 102 | SelectElement.DeselectByText(text); 103 | } 104 | } 105 | 106 | public void DeselectByValue(string value) 107 | { 108 | if (!value.IsNullOrEmpty()) 109 | { 110 | SelectElement.DeselectByValue(value); 111 | } 112 | } 113 | 114 | public void SelectByIndex(int index) 115 | { 116 | SelectElement.SelectByIndex(index); 117 | } 118 | 119 | public void SelectByText(string text) 120 | { 121 | if (!text.IsNullOrEmpty()) 122 | { 123 | SelectElement.SelectByText(text); 124 | } 125 | } 126 | 127 | public void SelectByValue(string value) 128 | { 129 | if (!value.IsNullOrEmpty()) 130 | { 131 | SelectElement.SelectByValue(value); 132 | } 133 | } 134 | } 135 | } 136 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/SelectListSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class SelectListSeCollection : BaseSeCollection 17 | { 18 | public SelectListSeCollection() 19 | { 20 | } 21 | 22 | public SelectListSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public SelectListSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public SelectListSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public SelectListSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public SelectListSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/SpanSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Web; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class SpanSe : ElementSe 15 | { 16 | public SpanSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | } 20 | 21 | public SpanSe(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public SpanSe(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public SpanSe(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public SpanSe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | 41 | public override string ElementTag 42 | { 43 | get { return "span"; } 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/SpanSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class SpanSeCollection : BaseSeCollection 17 | { 18 | public SpanSeCollection() 19 | { 20 | } 21 | 22 | public SpanSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public SpanSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public SpanSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public SpanSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public SpanSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableBodySe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class TableBodySe : TableElements 15 | { 16 | private static string columnTag = "td"; 17 | 18 | public TableBodySe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | InitializeRowsandCells(columnTag); 22 | } 23 | 24 | public TableBodySe(IWebElement webElement, By by) 25 | : base(webElement, by) 26 | { 27 | InitializeRowsandCells(columnTag); 28 | } 29 | 30 | public TableBodySe(IWebDriver webDriver, By by, Func predicate) 31 | : base(webDriver, by, predicate) 32 | { 33 | InitializeRowsandCells(columnTag); 34 | } 35 | 36 | public TableBodySe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | InitializeRowsandCells(columnTag); 40 | } 41 | 42 | public TableBodySe(IWebElement body) 43 | : base(body, columnTag) 44 | { 45 | } 46 | 47 | public override string ElementTag 48 | { 49 | get { return "tbody"; } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableBodySeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableBodySeCollection : BaseSeCollection 17 | { 18 | public TableBodySeCollection() 19 | { 20 | } 21 | 22 | public TableBodySeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableBodySeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableBodySeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableBodySeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableBodySeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableCellSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using OpenQA.Selenium; 8 | 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class TableCellSe : ElementSe 12 | { 13 | public TableCellSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public TableCellSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public TableCellSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public TableCellSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public TableCellSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "td"; } 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableCellSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableCellSeCollection : BaseSeCollection 17 | { 18 | public TableCellSeCollection() 19 | { 20 | } 21 | 22 | public TableCellSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableCellSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableCellSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableCellSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableCellSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableHeadSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | using OpenQA.Selenium; 10 | 11 | namespace WebDriverSEd.ElementTypes 12 | { 13 | public class TableHeadSe : TableElements 14 | { 15 | private static string columnTag = "th"; 16 | 17 | public TableHeadSe(IWebDriver webDriver, By by) 18 | : base(webDriver, by) 19 | { 20 | InitializeRowsandCells(columnTag); 21 | } 22 | 23 | public TableHeadSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | InitializeRowsandCells(columnTag); 27 | } 28 | 29 | public TableHeadSe(IWebDriver webDriver, By by, Func predicate) 30 | : base(webDriver, by, predicate) 31 | { 32 | InitializeRowsandCells(columnTag); 33 | } 34 | 35 | public TableHeadSe(IWebElement webElement, By by, Func predicate) 36 | : base(webElement, by, predicate) 37 | { 38 | InitializeRowsandCells(columnTag); 39 | } 40 | 41 | public TableHeadSe(IWebElement body) 42 | : base(body, columnTag) 43 | { 44 | } 45 | 46 | public override string ElementTag 47 | { 48 | get { return "thead"; } 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableHeadSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableHeadSeCollection : BaseSeCollection 17 | { 18 | public TableHeadSeCollection() 19 | { 20 | } 21 | 22 | public TableHeadSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableHeadSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableHeadSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableHeadSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableHeadSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableRowSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using OpenQA.Selenium; 9 | using WebDriverSEd.Extensions; 10 | 11 | namespace WebDriverSEd.ElementTypes 12 | { 13 | public class TableRowSe : ElementSe 14 | { 15 | private List cells = new List(); 16 | 17 | public TableRowSe(IWebDriver webDriver, By by) 18 | : base(webDriver, by) 19 | { 20 | InitializeCells(); 21 | } 22 | 23 | public TableRowSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | InitializeCells(); 27 | } 28 | 29 | public TableRowSe(IWebDriver webDriver, By by, Func predicate) 30 | : base(webDriver, by, predicate) 31 | { 32 | InitializeCells(); 33 | } 34 | 35 | public TableRowSe(IWebElement webElement, By by, Func predicate) 36 | : base(webElement, by, predicate) 37 | { 38 | InitializeCells(); 39 | } 40 | 41 | public TableRowSe(IWebElement row, string rowTag) 42 | : base(row) 43 | { 44 | TableCellSeCollection theCells = new TableCellSeCollection(row, By.TagName(rowTag)); 45 | foreach (var cell in theCells) 46 | { 47 | Cells.Add(new TableCellSe(cell)); 48 | } 49 | } 50 | 51 | public TableRowSe(IWebElement row) 52 | : base(row) 53 | { 54 | TableCellSeCollection theCells = new TableCellSeCollection(row, By.TagName("td")); 55 | 56 | foreach (var cell in theCells) 57 | { 58 | Cells.Add(new TableCellSe(cell)); 59 | } 60 | } 61 | 62 | public override string ElementTag 63 | { 64 | get { return "tr"; } 65 | } 66 | 67 | public List Cells 68 | { 69 | get 70 | { 71 | return cells; 72 | } 73 | } 74 | 75 | public TableCellSe FindCell(string keyText) 76 | { 77 | return Cells.Find(i => i.Text.RemoveLineBreaks().Contains(keyText)); 78 | } 79 | 80 | public TableCellSe FindCell(Predicate predicate) 81 | { 82 | return Cells.Find(predicate); 83 | } 84 | 85 | public TableCellSe GetCell(int targetCell) 86 | { 87 | return Cells[targetCell]; 88 | } 89 | 90 | private void InitializeCells() 91 | { 92 | TableCellSeCollection theCells = new TableCellSeCollection(WebElement, By.TagName("td")); 93 | 94 | foreach (var cell in theCells) 95 | { 96 | TableCellSe temp = new TableCellSe(cell); 97 | 98 | Cells.Add(temp); 99 | } 100 | } 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableRowSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableRowSeCollection : BaseSeCollection 17 | { 18 | public TableRowSeCollection() 19 | { 20 | } 21 | 22 | public TableRowSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableRowSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableRowSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableRowSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableRowSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class TableSe : ElementSe 15 | { 16 | public TableSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | InitializeHeadAndBody(); 20 | } 21 | 22 | public TableSe(IWebElement webElement, By by) 23 | : base(webElement, by) 24 | { 25 | InitializeHeadAndBody(); 26 | } 27 | 28 | public TableSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | InitializeHeadAndBody(); 32 | } 33 | 34 | public TableSe(IWebElement webElement, By by, Func predicate) 35 | : base(webElement, by, predicate) 36 | { 37 | InitializeHeadAndBody(); 38 | } 39 | 40 | public TableSe(IWebDriver webDriver, By by) 41 | : base(webDriver, by) 42 | { 43 | InitializeHeadAndBody(); 44 | } 45 | 46 | public override string ElementTag 47 | { 48 | get { return "table"; } 49 | } 50 | 51 | public TableHeadSe TableHead { get; set; } 52 | public TableBodySe TableBody { get; set; } 53 | 54 | private void InitializeHeadAndBody() 55 | { 56 | if (WebElement == null) 57 | { 58 | return; 59 | } 60 | 61 | if (WebElement.Text.Contains("thead")) 62 | { 63 | TableHead = new TableHeadSe(WebElement, By.TagName("thead")); 64 | } 65 | 66 | TableBody = new TableBodySe(WebElement, By.TagName("tbody")); 67 | } 68 | } 69 | } 70 | 71 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TableSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableSeCollection : BaseSeCollection 17 | { 18 | public TableSeCollection() 19 | { 20 | } 21 | 22 | public TableSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TextFieldSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Web; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class TextFieldSe : ElementSe 15 | { 16 | public TextFieldSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | } 20 | 21 | public TextFieldSe(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public TextFieldSe(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public TextFieldSe(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public TextFieldSe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | 41 | public override string ElementTag 42 | { 43 | get { return "input"; } 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/ElementTypes/TextFieldSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TextFieldSeCollection : BaseSeCollection 17 | { 18 | public TextFieldSeCollection() 19 | { 20 | } 21 | 22 | public TextFieldSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TextFieldSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TextFieldSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TextFieldSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TextFieldSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Entities/Args/FindRow.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | namespace WebDriverSEd.Entities.Args 8 | { 9 | public class FindRow 10 | { 11 | public FindRow() 12 | { 13 | } 14 | 15 | public FindRow(string theKey, int theKeyColumn) 16 | { 17 | Key = theKey; 18 | KeyColumn = theKeyColumn; 19 | } 20 | 21 | public string Key { get; set; } 22 | public int KeyColumn { get; set; } 23 | } 24 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Entities/Data/ElementNames.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | namespace WebDriverSEd.Entities.Data 8 | { 9 | public class ElementNames 10 | { 11 | public enum Name 12 | { 13 | Button, 14 | CheckBox, 15 | Div, 16 | Image, 17 | Label, 18 | Link, 19 | RadioButton, 20 | SelectList, 21 | Span, 22 | TableBody, 23 | TableCell, 24 | TableHead, 25 | TableRow, 26 | Table, 27 | TextField 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Entities/Data/ElementType.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | namespace WebDriverSEd.Entities.Data 8 | { 9 | public static class ElementType 10 | { 11 | public static TypeSe Button 12 | { 13 | get { return new TypeSe(ElementNames.Name.Button); } 14 | } 15 | 16 | public static TypeSe CheckBox 17 | { 18 | get { return new TypeSe(ElementNames.Name.CheckBox); } 19 | } 20 | 21 | public static TypeSe Div 22 | { 23 | get { return new TypeSe(ElementNames.Name.Div); } 24 | } 25 | 26 | public static TypeSe Image 27 | { 28 | get { return new TypeSe(ElementNames.Name.Image); } 29 | } 30 | 31 | public static TypeSe Label 32 | { 33 | get { return new TypeSe(ElementNames.Name.Label); } 34 | } 35 | 36 | public static TypeSe Link 37 | { 38 | get { return new TypeSe(ElementNames.Name.Link); } 39 | } 40 | 41 | public static TypeSe RadioButton 42 | { 43 | get { return new TypeSe(ElementNames.Name.RadioButton); } 44 | } 45 | 46 | public static TypeSe SelectList 47 | { 48 | get { return new TypeSe(ElementNames.Name.SelectList); } 49 | } 50 | 51 | public static TypeSe Span 52 | { 53 | get { return new TypeSe(ElementNames.Name.Span); } 54 | } 55 | 56 | public static TypeSe TableBody 57 | { 58 | get { return new TypeSe(ElementNames.Name.TableBody); } 59 | } 60 | 61 | public static TypeSe TableCell 62 | { 63 | get { return new TypeSe(ElementNames.Name.TableCell); } 64 | } 65 | 66 | public static TypeSe TableHead 67 | { 68 | get { return new TypeSe(ElementNames.Name.TableHead); } 69 | } 70 | 71 | public static TypeSe TableRow 72 | { 73 | get { return new TypeSe(ElementNames.Name.TableRow); } 74 | } 75 | 76 | public static TypeSe Table 77 | { 78 | get { return new TypeSe(ElementNames.Name.Table); } 79 | } 80 | 81 | public static TypeSe TextField 82 | { 83 | get { return new TypeSe(ElementNames.Name.TextField); } 84 | } 85 | } 86 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Entities/Data/TypeSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace WebDriverSEd.Entities.Data 10 | { 11 | public class TypeSe 12 | { 13 | public TypeSe(ElementNames.Name elementName) 14 | { 15 | Element = elementName; 16 | 17 | ElementTagLookUp = new Dictionary 18 | { 19 | { ElementNames.Name.Button, "input" }, 20 | { ElementNames.Name.CheckBox, "input" }, 21 | { ElementNames.Name.Div, "div" }, 22 | { ElementNames.Name.Image, "img" }, 23 | { ElementNames.Name.Label, "label" }, 24 | { ElementNames.Name.Link, "a" }, 25 | { ElementNames.Name.RadioButton, "input" }, 26 | { ElementNames.Name.SelectList, "select" }, 27 | { ElementNames.Name.Span, "span" }, 28 | { ElementNames.Name.TableBody, "tbody" }, 29 | { ElementNames.Name.TableCell, "td" }, 30 | { ElementNames.Name.TableHead, "thead" }, 31 | { ElementNames.Name.TableRow, "tr" }, 32 | { ElementNames.Name.Table, "table" }, 33 | { ElementNames.Name.TextField, "input" }, 34 | }; 35 | 36 | ElementTypeLookUp = new Dictionary 37 | { 38 | { ElementNames.Name.Button, "button" }, 39 | { ElementNames.Name.CheckBox, "checkbox" }, 40 | { ElementNames.Name.Div, string.Empty }, 41 | { ElementNames.Name.Image, string.Empty }, 42 | { ElementNames.Name.Label, string.Empty }, 43 | { ElementNames.Name.Link, string.Empty }, 44 | { ElementNames.Name.RadioButton, "radio" }, 45 | { ElementNames.Name.SelectList, string.Empty }, 46 | { ElementNames.Name.Span, string.Empty }, 47 | { ElementNames.Name.TableBody, string.Empty }, 48 | { ElementNames.Name.TableCell, string.Empty }, 49 | { ElementNames.Name.TableHead, string.Empty }, 50 | { ElementNames.Name.TableRow, string.Empty }, 51 | { ElementNames.Name.Table, string.Empty }, 52 | { ElementNames.Name.TextField, "text" }, 53 | }; 54 | } 55 | 56 | private ElementNames.Name Element { get; set; } 57 | 58 | private Dictionary ElementTagLookUp { get; set; } 59 | private Dictionary ElementTypeLookUp { get; set; } 60 | 61 | public string ToTag() 62 | { 63 | return ElementTagLookUp[Element]; 64 | } 65 | 66 | public string ToType() 67 | { 68 | return ElementTypeLookUp[Element]; 69 | } 70 | 71 | public override string ToString() 72 | { 73 | return Element.ToString(); 74 | } 75 | } 76 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Extensions/ControlExtensions.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using OpenQA.Selenium.Support.UI; 8 | using WebDriverSEd.ElementTypes; 9 | 10 | namespace WebDriverSEd.Extensions 11 | { 12 | public static class ControlExtensions 13 | { 14 | //public static bool IsVisible(this ElementSe target) 15 | //{ 16 | // if (target.Style.ToLower().Trim() == "block") 17 | // { 18 | // return true; 19 | // } 20 | 21 | // if (target.ClassName.ToLower().Contains("lightbox") && target.Style.ToLower().Trim() != "block") 22 | // { 23 | // return false; 24 | // } 25 | 26 | // if (target.Style.ToLower().Trim() == "none" || target.ClassName.ToLower().Contains("hidden")) 27 | // { 28 | // return false; 29 | // } 30 | 31 | // return true; 32 | //} 33 | } 34 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Extensions/StringExtensions.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Text; 9 | using System.Xml.Linq; 10 | using System.Xml; 11 | using Newtonsoft.Json; 12 | using Newtonsoft.Json.Linq; 13 | using NUnit.Framework; 14 | 15 | namespace WebDriverSEd.Extensions 16 | { 17 | public static class StringExtensions 18 | { 19 | public static void Contains(this string target, string value, bool hasAccess) 20 | { 21 | if (hasAccess) 22 | { 23 | Assert.That(target.Contains(value), "Target should include {0} and it does not.", value); 24 | } 25 | else 26 | { 27 | Assert.That(!target.Contains(value), "Target should not include {0} and it does.", value); 28 | } 29 | } 30 | 31 | public static string ReplaceFirst(this string text, string search, string replace) 32 | { 33 | int pos = text.IndexOf(search); 34 | if (pos < 0) 35 | { 36 | return text; 37 | } 38 | 39 | return text.Substring(0, pos) + replace + text.Substring(pos + search.Length); 40 | } 41 | 42 | public static bool IsNullOrEmpty(this string target) 43 | { 44 | return string.IsNullOrEmpty(target); 45 | } 46 | 47 | public static string RemoveLineBreaks(this string theString) 48 | { 49 | return theString.Replace("\r", string.Empty).Replace("\n", " ").Replace("", string.Empty).Replace("", string.Empty); 50 | } 51 | 52 | public static string CleanJson(this string target) 53 | { 54 | try 55 | { 56 | var expectedJson = JObject.Parse(target.Trim()); 57 | return JsonConvert.SerializeObject(expectedJson); 58 | } 59 | catch (Exception ex) 60 | { 61 | Console.WriteLine("Exception cleaning Json."); 62 | throw ex; 63 | } 64 | } 65 | 66 | public static string CleanXml(this string target) 67 | { 68 | try 69 | { 70 | StringBuilder sb = new StringBuilder(); 71 | using (XmlWriter writer = XmlWriter.Create(sb)) 72 | { 73 | XDocument xml = XDocument.Parse(target.Trim()); 74 | xml.Save(writer); 75 | writer.Flush(); 76 | return sb.ToString(); 77 | } 78 | } 79 | catch (Exception ex) 80 | { 81 | Console.WriteLine("Exception cleaning Xml."); 82 | throw ex; 83 | } 84 | } 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Extensions/WebDriverExtensions.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using OpenQA.Selenium; 8 | 9 | namespace WebDriverSEd.Extensions 10 | { 11 | public static class WebDriverExtensions 12 | { 13 | } 14 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Extensions/WebElementExtensions.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using OpenQA.Selenium; 11 | using WebDriverSEd.ElementTypes; 12 | 13 | namespace WebDriverSEd.Extensions 14 | { 15 | public static class WebElementExtensions 16 | { 17 | public static IWebElement FindElement(this IWebElement driver, By by, Func predicate) 18 | { 19 | try 20 | { 21 | return new ElementSeCollection(driver, by).Where(predicate).First(); 22 | } 23 | catch (Exception) 24 | { 25 | return null; 26 | } 27 | } 28 | 29 | public static IEnumerable FindElements(this IWebElement driver, By by, Func predicate) 30 | { 31 | try 32 | { 33 | return new ElementSeCollection(driver, by).Where(predicate); 34 | } 35 | catch (Exception) 36 | { 37 | return null; 38 | } 39 | } 40 | 41 | public static IWebElement FindElement(this IWebDriver driver, By by, Func predicate) 42 | { 43 | try 44 | { 45 | return new ElementSeCollection(driver, by).Where(predicate).First(); 46 | } 47 | catch (Exception) 48 | { 49 | return null; 50 | } 51 | } 52 | 53 | public static IEnumerable FindElements(this IWebDriver driver, By by, Func predicate) 54 | { 55 | try 56 | { 57 | return new ElementSeCollection(driver, by).Where(predicate); 58 | } 59 | catch (Exception) 60 | { 61 | return null; 62 | } 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Selenium WebDriverSEd")] 9 | [assembly: AssemblyDescription("C# extension that vastly improves upon the WebDriver. It includes functions for tables, selectlists and much more. It is great for converting Watin tests to Selenium because the syntax is very simliar. For more Info and Examples go to https://github.com/Assiance/Selenium2-WebDriverSEd/wiki")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Bradford Foxworth-Hill")] 12 | [assembly: AssemblyProduct("Selenium2WebDriverSEd")] 13 | [assembly: AssemblyCopyright("Copyright © Bradford Foxworth-Hill 2012")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("f3f4a43b-8946-43a8-91d6-f58382feafbe")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Revision and Build Numbers 33 | // by using the '*' as shown below: 34 | [assembly: AssemblyVersion("1.0.23")] 35 | [assembly: AssemblyFileVersion("1.0.0.23")] 36 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Tools/firebug-1.7.3-fx.xpi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Tools/firebug-1.7.3-fx.xpi -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Web.Debug.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Web.Release.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 30 | 31 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/Web.config: -------------------------------------------------------------------------------- 1 |  2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Backup/Selenium2WebDriverSEd/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Packages.dgml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 29 | 33 | 34 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd.Test/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Selenium2WebDriverSEd.Test")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Selenium2WebDriverSEd.Test")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2012")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("7c1722e7-35a2-4b63-b435-722c612f85d8")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Revision and Build Numbers 33 | // by using the '*' as shown below: 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | [assembly: AssemblyFileVersion("1.0.0.0")] 36 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd.Test/Web.Debug.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd.Test/Web.Release.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 30 | 31 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd.Test/Web.config: -------------------------------------------------------------------------------- 1 |  2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd.Test/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{F4815983-B54D-4332-996E-52B64F6C2C5C}" 5 | ProjectSection(SolutionItems) = preProject 6 | .nuget\packages.config = .nuget\packages.config 7 | EndProjectSection 8 | EndProject 9 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Selenium2WebDriverSEd", "Selenium2WebDriverSEd\Selenium2WebDriverSEd.csproj", "{E3364C8D-067A-4164-A7E3-99B74D836732}" 10 | EndProject 11 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Selenium2WebDriverSEd.Test", "Selenium2WebDriverSEd.Test\Selenium2WebDriverSEd.Test.csproj", "{C3263F54-46E0-4D68-B03C-41F684E4E815}" 12 | EndProject 13 | Global 14 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 15 | Debug|Any CPU = Debug|Any CPU 16 | Release|Any CPU = Release|Any CPU 17 | EndGlobalSection 18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 19 | {E3364C8D-067A-4164-A7E3-99B74D836732}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 20 | {E3364C8D-067A-4164-A7E3-99B74D836732}.Debug|Any CPU.Build.0 = Debug|Any CPU 21 | {E3364C8D-067A-4164-A7E3-99B74D836732}.Release|Any CPU.ActiveCfg = Release|Any CPU 22 | {E3364C8D-067A-4164-A7E3-99B74D836732}.Release|Any CPU.Build.0 = Release|Any CPU 23 | {C3263F54-46E0-4D68-B03C-41F684E4E815}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 24 | {C3263F54-46E0-4D68-B03C-41F684E4E815}.Debug|Any CPU.Build.0 = Debug|Any CPU 25 | {C3263F54-46E0-4D68-B03C-41F684E4E815}.Release|Any CPU.ActiveCfg = Release|Any CPU 26 | {C3263F54-46E0-4D68-B03C-41F684E4E815}.Release|Any CPU.Build.0 = Release|Any CPU 27 | EndGlobalSection 28 | GlobalSection(SolutionProperties) = preSolution 29 | HideSolutionNode = FALSE 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/ButtonSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class ButtonSe : ElementSe 12 | { 13 | public ButtonSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public ButtonSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public ButtonSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public ButtonSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public ButtonSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "input"; } 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/ButtonSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class ButtonSeCollection : BaseSeCollection 15 | { 16 | public ButtonSeCollection() 17 | { 18 | } 19 | 20 | public ButtonSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public ButtonSeCollection(IWebDriver webDriver, By by) 26 | :base(webDriver, by) 27 | { 28 | } 29 | 30 | public ButtonSeCollection(IWebElement webElement, By by) 31 | :base(webElement, by) 32 | { 33 | } 34 | 35 | public ButtonSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | :base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public ButtonSeCollection(IWebElement webElement, By by, Func predicate) 41 | :base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/CheckBoxSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class CheckBoxSe : ElementSe 12 | { 13 | public CheckBoxSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public CheckBoxSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public CheckBoxSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public CheckBoxSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public CheckBoxSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "input"; } 41 | } 42 | 43 | public bool IsChecked 44 | { 45 | get 46 | { 47 | try 48 | { 49 | if (WebElement.Selected) 50 | { 51 | return true; 52 | } 53 | 54 | return false; 55 | } 56 | catch (Exception) 57 | { 58 | return false; 59 | } 60 | } 61 | } 62 | 63 | public void SetChecked(bool theValue) 64 | { 65 | if (theValue && !IsChecked) 66 | { 67 | WebElement.Click(); 68 | } 69 | else if (!theValue && IsChecked) 70 | { 71 | WebElement.Click(); 72 | } 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/CheckBoxSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class CheckBoxSeCollection : BaseSeCollection 15 | { 16 | public CheckBoxSeCollection() 17 | { 18 | } 19 | 20 | public CheckBoxSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public CheckBoxSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public CheckBoxSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public CheckBoxSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public CheckBoxSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/ControlSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public abstract class ControlSe : ElementSe 12 | { 13 | public ControlSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | WebDriver = ElementsWebDriver; 17 | } 18 | 19 | public ControlSe(IWebDriver webDriver, By by) 20 | : base(webDriver, by) 21 | { 22 | } 23 | 24 | public ControlSe(IWebElement webElement, By by) 25 | : base(webElement, by) 26 | { 27 | WebDriver = ElementsWebDriver; 28 | } 29 | 30 | public ControlSe(IWebDriver webDriver, By by, Func predicate) 31 | : base(webDriver, by, predicate) 32 | { 33 | } 34 | 35 | public ControlSe(IWebElement webElement, By by, Func predicate) 36 | : base(webElement, by, predicate) 37 | { 38 | WebDriver = ElementsWebDriver; 39 | } 40 | 41 | protected IWebDriver WebDriver { get; set; } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/ControlSeCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using WebDriverSEd.Extensions; 6 | using OpenQA.Selenium; 7 | 8 | namespace WebDriverSEd.ElementTypes 9 | { 10 | public class ControlSeCollection : BaseSeCollection 11 | { 12 | public ControlSeCollection() 13 | { 14 | } 15 | 16 | public ControlSeCollection(IWebDriver webDriver) 17 | : base(webDriver) 18 | { 19 | } 20 | 21 | public ControlSeCollection(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public ControlSeCollection(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public ControlSeCollection(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public ControlSeCollection(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/DivSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class DivSe : ElementSe 12 | { 13 | public DivSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public DivSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public DivSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public DivSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public DivSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "div"; } 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/DivSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using OpenQA.Selenium; 10 | using WebDriverSEd.Extensions; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class DivSeCollection : BaseSeCollection 15 | { 16 | public DivSeCollection() 17 | { 18 | } 19 | 20 | public DivSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public DivSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public DivSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public DivSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public DivSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/ElementSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class ElementSeCollection : BaseSeCollection 15 | { 16 | public ElementSeCollection() 17 | { 18 | } 19 | 20 | public ElementSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public ElementSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public ElementSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public ElementSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public ElementSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/ImageSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Web; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class ImageSe : ElementSe 15 | { 16 | public ImageSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | } 20 | 21 | public ImageSe(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public ImageSe(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public ImageSe(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public ImageSe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | 41 | public override string ElementTag 42 | { 43 | get { return "img"; } 44 | } 45 | 46 | public string Alt 47 | { 48 | get 49 | { 50 | try 51 | { 52 | return WebElement.GetAttribute("alt"); 53 | } 54 | catch (Exception) 55 | { 56 | return null; 57 | } 58 | } 59 | } 60 | 61 | public string Source 62 | { 63 | get 64 | { 65 | try 66 | { 67 | return WebElement.GetAttribute("src"); 68 | } 69 | catch (Exception) 70 | { 71 | return null; 72 | } 73 | } 74 | } 75 | } 76 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/ImageSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class ImageSeCollection : BaseSeCollection 15 | { 16 | public ImageSeCollection() 17 | { 18 | } 19 | 20 | public ImageSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public ImageSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public ImageSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public ImageSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public ImageSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/LabelSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | 10 | namespace WebDriverSEd.ElementTypes 11 | { 12 | public class LabelSe : ElementSe 13 | { 14 | public LabelSe(IWebElement webElement) 15 | : base(webElement) 16 | { 17 | } 18 | 19 | public LabelSe(IWebDriver webDriver, By by) 20 | : base(webDriver, by) 21 | { 22 | } 23 | 24 | public LabelSe(IWebElement webElement, By by) 25 | : base(webElement, by) 26 | { 27 | } 28 | 29 | public LabelSe(IWebDriver webDriver, By by, Func predicate) 30 | : base(webDriver, by, predicate) 31 | { 32 | } 33 | 34 | public LabelSe(IWebElement webElement, By by, Func predicate) 35 | : base(webElement, by, predicate) 36 | { 37 | } 38 | 39 | public override string ElementTag 40 | { 41 | get { return "label"; } 42 | } 43 | 44 | public string Url 45 | { 46 | get 47 | { 48 | try 49 | { 50 | return WebElement.GetAttribute("href"); 51 | } 52 | catch (Exception) 53 | { 54 | return null; 55 | } 56 | } 57 | } 58 | 59 | public string For 60 | { 61 | get 62 | { 63 | try 64 | { 65 | return WebElement.GetAttribute("for"); 66 | } 67 | catch (Exception) 68 | { 69 | return null; 70 | } 71 | } 72 | } 73 | } 74 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/LabelSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using WebDriverSEd.Extensions; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class LabelSeCollection : BaseSeCollection 15 | { 16 | public LabelSeCollection() 17 | { 18 | } 19 | 20 | public LabelSeCollection(IWebDriver webDriver) 21 | : base(webDriver) 22 | { 23 | } 24 | 25 | public LabelSeCollection(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | } 29 | 30 | public LabelSeCollection(IWebElement webElement, By by) 31 | : base(webElement, by) 32 | { 33 | } 34 | 35 | public LabelSeCollection(IWebDriver webDriver, By by, Func predicate) 36 | : base(webDriver, by, predicate) 37 | { 38 | } 39 | 40 | public LabelSeCollection(IWebElement webElement, By by, Func predicate) 41 | : base(webElement, by, predicate) 42 | { 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/LinkSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Web; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class LinkSe : ElementSe 15 | { 16 | public LinkSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | } 20 | 21 | public LinkSe(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public LinkSe(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public LinkSe(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public LinkSe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | 41 | public override string ElementTag 42 | { 43 | get { return "a"; } 44 | } 45 | 46 | public string Url 47 | { 48 | get 49 | { 50 | try 51 | { 52 | return WebElement.GetAttribute("href"); 53 | } 54 | catch (Exception) 55 | { 56 | return null; 57 | } 58 | } 59 | } 60 | } 61 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/LinkSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class LinkSeCollection : BaseSeCollection 17 | { 18 | public LinkSeCollection() 19 | { 20 | } 21 | 22 | public LinkSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public LinkSeCollection(IWebDriver webDriver, By by) 28 | :base(webDriver, by) 29 | { 30 | } 31 | 32 | public LinkSeCollection(IWebElement webElement, By by) 33 | :base(webElement, by) 34 | { 35 | } 36 | 37 | public LinkSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | :base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public LinkSeCollection(IWebElement webElement, By by, Func predicate) 43 | :base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/ListItemSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using OpenQA.Selenium; 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class ListItemSe : ElementSe 12 | { 13 | public ListItemSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public ListItemSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public ListItemSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public ListItemSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public ListItemSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "li"; } 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/ListItemSeCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using OpenQA.Selenium; 6 | 7 | namespace WebDriverSEd.ElementTypes 8 | { 9 | public class ListItemSeCollection : BaseSeCollection 10 | { 11 | public ListItemSeCollection() 12 | { 13 | } 14 | 15 | public ListItemSeCollection(IWebDriver webDriver) 16 | : base(webDriver) 17 | { 18 | } 19 | 20 | public ListItemSeCollection(IWebDriver webDriver, By by) 21 | : base(webDriver, by) 22 | { 23 | } 24 | 25 | public ListItemSeCollection(IWebElement webElement, By by) 26 | : base(webElement, by) 27 | { 28 | } 29 | 30 | public ListItemSeCollection(IWebDriver webDriver, By by, Func predicate) 31 | : base(webDriver, by, predicate) 32 | { 33 | } 34 | 35 | public ListItemSeCollection(IWebElement webElement, By by, Func predicate) 36 | : base(webElement, by, predicate) 37 | { 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/RadioButtonSe.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using OpenQA.Selenium; 6 | 7 | namespace WebDriverSEd.ElementTypes 8 | { 9 | public class RadioButtonSe : ElementSe 10 | { 11 | public RadioButtonSe(IWebElement webElement) 12 | : base(webElement) 13 | { 14 | } 15 | 16 | public RadioButtonSe(IWebDriver webDriver, By by) 17 | : base(webDriver, by) 18 | { 19 | } 20 | 21 | public RadioButtonSe(IWebElement webElement, By by) 22 | : base(webElement, by) 23 | { 24 | } 25 | 26 | public RadioButtonSe(IWebDriver webDriver, By by, Func predicate) 27 | : base(webDriver, by, predicate) 28 | { 29 | } 30 | 31 | public RadioButtonSe(IWebElement webElement, By by, Func predicate) 32 | : base(webElement, by, predicate) 33 | { 34 | } 35 | 36 | public override string ElementTag 37 | { 38 | get { return "input"; } 39 | } 40 | 41 | public bool IsChecked 42 | { 43 | get 44 | { 45 | try 46 | { 47 | if (WebElement.Selected) 48 | { 49 | return true; 50 | } 51 | 52 | return false; 53 | } 54 | catch (Exception) 55 | { 56 | return false; 57 | } 58 | } 59 | } 60 | 61 | public void SetChecked(bool theValue) 62 | { 63 | if (theValue && !IsChecked) 64 | { 65 | WebElement.Click(); 66 | } 67 | else if (!theValue && IsChecked) 68 | { 69 | WebElement.Click(); 70 | } 71 | } 72 | } 73 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/RadioButtonSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class RadioButtonSeCollection : BaseSeCollection 17 | { 18 | public RadioButtonSeCollection() 19 | { 20 | } 21 | 22 | public RadioButtonSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public RadioButtonSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public RadioButtonSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public RadioButtonSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public RadioButtonSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/SelectListSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using OpenQA.Selenium; 9 | using OpenQA.Selenium.Support.UI; 10 | using WebDriverSEd.Extensions; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class SelectListSe : ElementSe 15 | { 16 | public SelectListSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | if (WebElement != null) 20 | { 21 | SelectElement = new SelectElement(WebElement); 22 | } 23 | } 24 | 25 | public SelectListSe(IWebDriver webDriver, By by) 26 | : base(webDriver, by) 27 | { 28 | if (WebElement != null) 29 | { 30 | SelectElement = new SelectElement(WebElement); 31 | } 32 | } 33 | 34 | public SelectListSe(IWebElement webElement, By by) 35 | : base(webElement, by) 36 | { 37 | if (WebElement != null) 38 | { 39 | SelectElement = new SelectElement(WebElement); 40 | } 41 | } 42 | 43 | public SelectListSe(IWebDriver webDriver, By by, Func predicate) 44 | : base(webDriver, by, predicate) 45 | { 46 | if (WebElement != null) 47 | { 48 | SelectElement = new SelectElement(WebElement); 49 | } 50 | } 51 | 52 | public SelectListSe(IWebElement webElement, By by, Func predicate) 53 | : base(webElement, by, predicate) 54 | { 55 | if (WebElement != null) 56 | { 57 | SelectElement = new SelectElement(WebElement); 58 | } 59 | } 60 | 61 | public override string ElementTag 62 | { 63 | get { return "select"; } 64 | } 65 | 66 | public IList AllSelectedOptions 67 | { 68 | get { return SelectElement.AllSelectedOptions; } 69 | } 70 | 71 | public bool IsMultiple 72 | { 73 | get { return SelectElement.IsMultiple; } 74 | } 75 | 76 | public IList Options 77 | { 78 | get { return SelectElement.Options; } 79 | } 80 | 81 | public IWebElement SelectedOption 82 | { 83 | get { return SelectElement.SelectedOption; } 84 | } 85 | 86 | private SelectElement SelectElement { get; set; } 87 | 88 | public void DeselectAll() 89 | { 90 | SelectElement.DeselectAll(); 91 | } 92 | 93 | public void DeselectByIndex(int index) 94 | { 95 | SelectElement.DeselectByIndex(index); 96 | } 97 | 98 | public void DeselectByText(string text) 99 | { 100 | if (!text.IsNullOrEmpty()) 101 | { 102 | SelectElement.DeselectByText(text); 103 | } 104 | } 105 | 106 | public void DeselectByValue(string value) 107 | { 108 | if (!value.IsNullOrEmpty()) 109 | { 110 | SelectElement.DeselectByValue(value); 111 | } 112 | } 113 | 114 | public void SelectByIndex(int index) 115 | { 116 | SelectElement.SelectByIndex(index); 117 | } 118 | 119 | public void SelectByText(string text) 120 | { 121 | if (!text.IsNullOrEmpty()) 122 | { 123 | SelectElement.SelectByText(text); 124 | } 125 | } 126 | 127 | public void SelectByValue(string value) 128 | { 129 | if (!value.IsNullOrEmpty()) 130 | { 131 | SelectElement.SelectByValue(value); 132 | } 133 | } 134 | } 135 | } 136 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/SelectListSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class SelectListSeCollection : BaseSeCollection 17 | { 18 | public SelectListSeCollection() 19 | { 20 | } 21 | 22 | public SelectListSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public SelectListSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public SelectListSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public SelectListSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public SelectListSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/SpanSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Web; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class SpanSe : ElementSe 15 | { 16 | public SpanSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | } 20 | 21 | public SpanSe(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public SpanSe(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public SpanSe(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public SpanSe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | 41 | public override string ElementTag 42 | { 43 | get { return "span"; } 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/SpanSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class SpanSeCollection : BaseSeCollection 17 | { 18 | public SpanSeCollection() 19 | { 20 | } 21 | 22 | public SpanSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public SpanSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public SpanSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public SpanSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public SpanSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableBodySe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class TableBodySe : TableElements 15 | { 16 | private static string columnTag = "td"; 17 | 18 | public TableBodySe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | InitializeRowsandCells(columnTag); 22 | } 23 | 24 | public TableBodySe(IWebElement webElement, By by) 25 | : base(webElement, by) 26 | { 27 | InitializeRowsandCells(columnTag); 28 | } 29 | 30 | public TableBodySe(IWebDriver webDriver, By by, Func predicate) 31 | : base(webDriver, by, predicate) 32 | { 33 | InitializeRowsandCells(columnTag); 34 | } 35 | 36 | public TableBodySe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | InitializeRowsandCells(columnTag); 40 | } 41 | 42 | public TableBodySe(IWebElement body) 43 | : base(body, columnTag) 44 | { 45 | } 46 | 47 | public override string ElementTag 48 | { 49 | get { return "tbody"; } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableBodySeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableBodySeCollection : BaseSeCollection 17 | { 18 | public TableBodySeCollection() 19 | { 20 | } 21 | 22 | public TableBodySeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableBodySeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableBodySeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableBodySeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableBodySeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableCellSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using OpenQA.Selenium; 8 | 9 | namespace WebDriverSEd.ElementTypes 10 | { 11 | public class TableCellSe : ElementSe 12 | { 13 | public TableCellSe(IWebElement webElement) 14 | : base(webElement) 15 | { 16 | } 17 | 18 | public TableCellSe(IWebDriver webDriver, By by) 19 | : base(webDriver, by) 20 | { 21 | } 22 | 23 | public TableCellSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | } 27 | 28 | public TableCellSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | } 32 | 33 | public TableCellSe(IWebElement webElement, By by, Func predicate) 34 | : base(webElement, by, predicate) 35 | { 36 | } 37 | 38 | public override string ElementTag 39 | { 40 | get { return "td"; } 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableCellSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableCellSeCollection : BaseSeCollection 17 | { 18 | public TableCellSeCollection() 19 | { 20 | } 21 | 22 | public TableCellSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableCellSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableCellSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableCellSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableCellSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableHeadSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | using OpenQA.Selenium; 10 | 11 | namespace WebDriverSEd.ElementTypes 12 | { 13 | public class TableHeadSe : TableElements 14 | { 15 | private static string columnTag = "th"; 16 | 17 | public TableHeadSe(IWebDriver webDriver, By by) 18 | : base(webDriver, by) 19 | { 20 | InitializeRowsandCells(columnTag); 21 | } 22 | 23 | public TableHeadSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | InitializeRowsandCells(columnTag); 27 | } 28 | 29 | public TableHeadSe(IWebDriver webDriver, By by, Func predicate) 30 | : base(webDriver, by, predicate) 31 | { 32 | InitializeRowsandCells(columnTag); 33 | } 34 | 35 | public TableHeadSe(IWebElement webElement, By by, Func predicate) 36 | : base(webElement, by, predicate) 37 | { 38 | InitializeRowsandCells(columnTag); 39 | } 40 | 41 | public TableHeadSe(IWebElement body) 42 | : base(body, columnTag) 43 | { 44 | } 45 | 46 | public override string ElementTag 47 | { 48 | get { return "thead"; } 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableHeadSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableHeadSeCollection : BaseSeCollection 17 | { 18 | public TableHeadSeCollection() 19 | { 20 | } 21 | 22 | public TableHeadSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableHeadSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableHeadSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableHeadSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableHeadSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableRowSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using OpenQA.Selenium; 9 | using WebDriverSEd.Extensions; 10 | 11 | namespace WebDriverSEd.ElementTypes 12 | { 13 | public class TableRowSe : ElementSe 14 | { 15 | private List cells = new List(); 16 | 17 | public TableRowSe(IWebDriver webDriver, By by) 18 | : base(webDriver, by) 19 | { 20 | InitializeCells(); 21 | } 22 | 23 | public TableRowSe(IWebElement webElement, By by) 24 | : base(webElement, by) 25 | { 26 | InitializeCells(); 27 | } 28 | 29 | public TableRowSe(IWebDriver webDriver, By by, Func predicate) 30 | : base(webDriver, by, predicate) 31 | { 32 | InitializeCells(); 33 | } 34 | 35 | public TableRowSe(IWebElement webElement, By by, Func predicate) 36 | : base(webElement, by, predicate) 37 | { 38 | InitializeCells(); 39 | } 40 | 41 | public TableRowSe(IWebElement row, string rowTag) 42 | : base(row) 43 | { 44 | TableCellSeCollection theCells = new TableCellSeCollection(row, By.TagName(rowTag)); 45 | foreach (var cell in theCells) 46 | { 47 | Cells.Add(new TableCellSe(cell)); 48 | } 49 | } 50 | 51 | public TableRowSe(IWebElement row) 52 | : base(row) 53 | { 54 | TableCellSeCollection theCells = new TableCellSeCollection(row, By.TagName("td")); 55 | 56 | foreach (var cell in theCells) 57 | { 58 | Cells.Add(new TableCellSe(cell)); 59 | } 60 | } 61 | 62 | public override string ElementTag 63 | { 64 | get { return "tr"; } 65 | } 66 | 67 | public List Cells 68 | { 69 | get 70 | { 71 | return cells; 72 | } 73 | } 74 | 75 | public TableCellSe FindCell(string keyText) 76 | { 77 | return Cells.Find(i => i.Text.RemoveLineBreaks().Contains(keyText)); 78 | } 79 | 80 | public TableCellSe FindCell(Predicate predicate) 81 | { 82 | return Cells.Find(predicate); 83 | } 84 | 85 | public TableCellSe GetCell(int targetCell) 86 | { 87 | return Cells[targetCell]; 88 | } 89 | 90 | private void InitializeCells() 91 | { 92 | TableCellSeCollection theCells = new TableCellSeCollection(WebElement, By.TagName("td")); 93 | 94 | foreach (var cell in theCells) 95 | { 96 | TableCellSe temp = new TableCellSe(cell); 97 | 98 | Cells.Add(temp); 99 | } 100 | } 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableRowSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableRowSeCollection : BaseSeCollection 17 | { 18 | public TableRowSeCollection() 19 | { 20 | } 21 | 22 | public TableRowSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableRowSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableRowSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableRowSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableRowSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class TableSe : ElementSe 15 | { 16 | public TableSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | InitializeHeadAndBody(); 20 | } 21 | 22 | public TableSe(IWebElement webElement, By by) 23 | : base(webElement, by) 24 | { 25 | InitializeHeadAndBody(); 26 | } 27 | 28 | public TableSe(IWebDriver webDriver, By by, Func predicate) 29 | : base(webDriver, by, predicate) 30 | { 31 | InitializeHeadAndBody(); 32 | } 33 | 34 | public TableSe(IWebElement webElement, By by, Func predicate) 35 | : base(webElement, by, predicate) 36 | { 37 | InitializeHeadAndBody(); 38 | } 39 | 40 | public TableSe(IWebDriver webDriver, By by) 41 | : base(webDriver, by) 42 | { 43 | InitializeHeadAndBody(); 44 | } 45 | 46 | public override string ElementTag 47 | { 48 | get { return "table"; } 49 | } 50 | 51 | public TableHeadSe TableHead { get; set; } 52 | public TableBodySe TableBody { get; set; } 53 | 54 | private void InitializeHeadAndBody() 55 | { 56 | if (WebElement == null) 57 | { 58 | return; 59 | } 60 | 61 | if (WebElement.Text.Contains("thead")) 62 | { 63 | TableHead = new TableHeadSe(WebElement, By.TagName("thead")); 64 | } 65 | 66 | TableBody = new TableBodySe(WebElement, By.TagName("tbody")); 67 | } 68 | } 69 | } 70 | 71 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TableSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TableSeCollection : BaseSeCollection 17 | { 18 | public TableSeCollection() 19 | { 20 | } 21 | 22 | public TableSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TableSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TableSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TableSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TableSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TextFieldSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Web; 10 | using OpenQA.Selenium; 11 | 12 | namespace WebDriverSEd.ElementTypes 13 | { 14 | public class TextFieldSe : ElementSe 15 | { 16 | public TextFieldSe(IWebElement webElement) 17 | : base(webElement) 18 | { 19 | } 20 | 21 | public TextFieldSe(IWebDriver webDriver, By by) 22 | : base(webDriver, by) 23 | { 24 | } 25 | 26 | public TextFieldSe(IWebElement webElement, By by) 27 | : base(webElement, by) 28 | { 29 | } 30 | 31 | public TextFieldSe(IWebDriver webDriver, By by, Func predicate) 32 | : base(webDriver, by, predicate) 33 | { 34 | } 35 | 36 | public TextFieldSe(IWebElement webElement, By by, Func predicate) 37 | : base(webElement, by, predicate) 38 | { 39 | } 40 | 41 | public override string ElementTag 42 | { 43 | get { return "input"; } 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/ElementTypes/TextFieldSeCollection.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Web; 11 | using WebDriverSEd.Extensions; 12 | using OpenQA.Selenium; 13 | 14 | namespace WebDriverSEd.ElementTypes 15 | { 16 | public class TextFieldSeCollection : BaseSeCollection 17 | { 18 | public TextFieldSeCollection() 19 | { 20 | } 21 | 22 | public TextFieldSeCollection(IWebDriver webDriver) 23 | : base(webDriver) 24 | { 25 | } 26 | 27 | public TextFieldSeCollection(IWebDriver webDriver, By by) 28 | : base(webDriver, by) 29 | { 30 | } 31 | 32 | public TextFieldSeCollection(IWebElement webElement, By by) 33 | : base(webElement, by) 34 | { 35 | } 36 | 37 | public TextFieldSeCollection(IWebDriver webDriver, By by, Func predicate) 38 | : base(webDriver, by, predicate) 39 | { 40 | } 41 | 42 | public TextFieldSeCollection(IWebElement webElement, By by, Func predicate) 43 | : base(webElement, by, predicate) 44 | { 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Entities/Args/FindRow.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | namespace WebDriverSEd.Entities.Args 8 | { 9 | public class FindRow 10 | { 11 | public FindRow() 12 | { 13 | } 14 | 15 | public FindRow(string theKey, int theKeyColumn) 16 | { 17 | Key = theKey; 18 | KeyColumn = theKeyColumn; 19 | } 20 | 21 | public string Key { get; set; } 22 | public int KeyColumn { get; set; } 23 | } 24 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Entities/Data/ElementNames.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | namespace WebDriverSEd.Entities.Data 8 | { 9 | public class ElementNames 10 | { 11 | public enum Name 12 | { 13 | Button, 14 | CheckBox, 15 | Div, 16 | Image, 17 | Label, 18 | Link, 19 | RadioButton, 20 | SelectList, 21 | Span, 22 | TableBody, 23 | TableCell, 24 | TableHead, 25 | TableRow, 26 | Table, 27 | TextField 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Entities/Data/ElementType.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | namespace WebDriverSEd.Entities.Data 8 | { 9 | public static class ElementType 10 | { 11 | public static TypeSe Button 12 | { 13 | get { return new TypeSe(ElementNames.Name.Button); } 14 | } 15 | 16 | public static TypeSe CheckBox 17 | { 18 | get { return new TypeSe(ElementNames.Name.CheckBox); } 19 | } 20 | 21 | public static TypeSe Div 22 | { 23 | get { return new TypeSe(ElementNames.Name.Div); } 24 | } 25 | 26 | public static TypeSe Image 27 | { 28 | get { return new TypeSe(ElementNames.Name.Image); } 29 | } 30 | 31 | public static TypeSe Label 32 | { 33 | get { return new TypeSe(ElementNames.Name.Label); } 34 | } 35 | 36 | public static TypeSe Link 37 | { 38 | get { return new TypeSe(ElementNames.Name.Link); } 39 | } 40 | 41 | public static TypeSe RadioButton 42 | { 43 | get { return new TypeSe(ElementNames.Name.RadioButton); } 44 | } 45 | 46 | public static TypeSe SelectList 47 | { 48 | get { return new TypeSe(ElementNames.Name.SelectList); } 49 | } 50 | 51 | public static TypeSe Span 52 | { 53 | get { return new TypeSe(ElementNames.Name.Span); } 54 | } 55 | 56 | public static TypeSe TableBody 57 | { 58 | get { return new TypeSe(ElementNames.Name.TableBody); } 59 | } 60 | 61 | public static TypeSe TableCell 62 | { 63 | get { return new TypeSe(ElementNames.Name.TableCell); } 64 | } 65 | 66 | public static TypeSe TableHead 67 | { 68 | get { return new TypeSe(ElementNames.Name.TableHead); } 69 | } 70 | 71 | public static TypeSe TableRow 72 | { 73 | get { return new TypeSe(ElementNames.Name.TableRow); } 74 | } 75 | 76 | public static TypeSe Table 77 | { 78 | get { return new TypeSe(ElementNames.Name.Table); } 79 | } 80 | 81 | public static TypeSe TextField 82 | { 83 | get { return new TypeSe(ElementNames.Name.TextField); } 84 | } 85 | } 86 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Entities/Data/TypeSe.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace WebDriverSEd.Entities.Data 10 | { 11 | public class TypeSe 12 | { 13 | public TypeSe(ElementNames.Name elementName) 14 | { 15 | Element = elementName; 16 | 17 | ElementTagLookUp = new Dictionary 18 | { 19 | { ElementNames.Name.Button, "input" }, 20 | { ElementNames.Name.CheckBox, "input" }, 21 | { ElementNames.Name.Div, "div" }, 22 | { ElementNames.Name.Image, "img" }, 23 | { ElementNames.Name.Label, "label" }, 24 | { ElementNames.Name.Link, "a" }, 25 | { ElementNames.Name.RadioButton, "input" }, 26 | { ElementNames.Name.SelectList, "select" }, 27 | { ElementNames.Name.Span, "span" }, 28 | { ElementNames.Name.TableBody, "tbody" }, 29 | { ElementNames.Name.TableCell, "td" }, 30 | { ElementNames.Name.TableHead, "thead" }, 31 | { ElementNames.Name.TableRow, "tr" }, 32 | { ElementNames.Name.Table, "table" }, 33 | { ElementNames.Name.TextField, "input" }, 34 | }; 35 | 36 | ElementTypeLookUp = new Dictionary 37 | { 38 | { ElementNames.Name.Button, "button" }, 39 | { ElementNames.Name.CheckBox, "checkbox" }, 40 | { ElementNames.Name.Div, string.Empty }, 41 | { ElementNames.Name.Image, string.Empty }, 42 | { ElementNames.Name.Label, string.Empty }, 43 | { ElementNames.Name.Link, string.Empty }, 44 | { ElementNames.Name.RadioButton, "radio" }, 45 | { ElementNames.Name.SelectList, string.Empty }, 46 | { ElementNames.Name.Span, string.Empty }, 47 | { ElementNames.Name.TableBody, string.Empty }, 48 | { ElementNames.Name.TableCell, string.Empty }, 49 | { ElementNames.Name.TableHead, string.Empty }, 50 | { ElementNames.Name.TableRow, string.Empty }, 51 | { ElementNames.Name.Table, string.Empty }, 52 | { ElementNames.Name.TextField, "text" }, 53 | }; 54 | } 55 | 56 | private ElementNames.Name Element { get; set; } 57 | 58 | private Dictionary ElementTagLookUp { get; set; } 59 | private Dictionary ElementTypeLookUp { get; set; } 60 | 61 | public string ToTag() 62 | { 63 | return ElementTagLookUp[Element]; 64 | } 65 | 66 | public string ToType() 67 | { 68 | return ElementTypeLookUp[Element]; 69 | } 70 | 71 | public override string ToString() 72 | { 73 | return Element.ToString(); 74 | } 75 | } 76 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Extensions/ControlExtensions.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using OpenQA.Selenium.Support.UI; 8 | using WebDriverSEd.ElementTypes; 9 | 10 | namespace WebDriverSEd.Extensions 11 | { 12 | public static class ControlExtensions 13 | { 14 | //public static bool IsVisible(this ElementSe target) 15 | //{ 16 | // if (target.Style.ToLower().Trim() == "block") 17 | // { 18 | // return true; 19 | // } 20 | 21 | // if (target.ClassName.ToLower().Contains("lightbox") && target.Style.ToLower().Trim() != "block") 22 | // { 23 | // return false; 24 | // } 25 | 26 | // if (target.Style.ToLower().Trim() == "none" || target.ClassName.ToLower().Contains("hidden")) 27 | // { 28 | // return false; 29 | // } 30 | 31 | // return true; 32 | //} 33 | } 34 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Extensions/StringExtensions.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Text; 9 | using System.Xml.Linq; 10 | using System.Xml; 11 | using Newtonsoft.Json; 12 | using Newtonsoft.Json.Linq; 13 | 14 | namespace WebDriverSEd.Extensions 15 | { 16 | public static class StringExtensions 17 | { 18 | public static string ReplaceFirst(this string text, string search, string replace) 19 | { 20 | int pos = text.IndexOf(search); 21 | if (pos < 0) 22 | { 23 | return text; 24 | } 25 | 26 | return text.Substring(0, pos) + replace + text.Substring(pos + search.Length); 27 | } 28 | 29 | public static bool IsNullOrEmpty(this string target) 30 | { 31 | return string.IsNullOrEmpty(target); 32 | } 33 | 34 | public static string RemoveLineBreaks(this string theString) 35 | { 36 | return theString.Replace("\r", string.Empty).Replace("\n", " ").Replace("", string.Empty).Replace("", string.Empty); 37 | } 38 | 39 | public static string CleanJson(this string target) 40 | { 41 | try 42 | { 43 | var expectedJson = JObject.Parse(target.Trim()); 44 | return JsonConvert.SerializeObject(expectedJson); 45 | } 46 | catch (Exception ex) 47 | { 48 | Console.WriteLine("Exception cleaning Json."); 49 | throw ex; 50 | } 51 | } 52 | 53 | public static string CleanXml(this string target) 54 | { 55 | try 56 | { 57 | StringBuilder sb = new StringBuilder(); 58 | using (XmlWriter writer = XmlWriter.Create(sb)) 59 | { 60 | XDocument xml = XDocument.Parse(target.Trim()); 61 | xml.Save(writer); 62 | writer.Flush(); 63 | return sb.ToString(); 64 | } 65 | } 66 | catch (Exception ex) 67 | { 68 | Console.WriteLine("Exception cleaning Xml."); 69 | throw ex; 70 | } 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Extensions/WebDriverExtensions.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using OpenQA.Selenium; 8 | 9 | namespace WebDriverSEd.Extensions 10 | { 11 | public static class WebDriverExtensions 12 | { 13 | } 14 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Extensions/WebElementExtensions.cs: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | Name: Bradford Foxworth-Hill 3 | Email: Brad.Hill@acstechnologies.com 4 | Alt Email: Assiance@aol.com 5 | ********************************************************/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using OpenQA.Selenium; 11 | using WebDriverSEd.ElementTypes; 12 | 13 | namespace WebDriverSEd.Extensions 14 | { 15 | public static class WebElementExtensions 16 | { 17 | public static IWebElement FindElement(this IWebElement driver, By by, Func predicate) 18 | { 19 | try 20 | { 21 | return new ElementSeCollection(driver, by).Where(predicate).First(); 22 | } 23 | catch (Exception) 24 | { 25 | return null; 26 | } 27 | } 28 | 29 | public static IEnumerable FindElements(this IWebElement driver, By by, Func predicate) 30 | { 31 | try 32 | { 33 | return new ElementSeCollection(driver, by).Where(predicate); 34 | } 35 | catch (Exception) 36 | { 37 | return null; 38 | } 39 | } 40 | 41 | public static IWebElement FindElement(this IWebDriver driver, By by, Func predicate) 42 | { 43 | try 44 | { 45 | return new ElementSeCollection(driver, by).Where(predicate).First(); 46 | } 47 | catch (Exception) 48 | { 49 | return null; 50 | } 51 | } 52 | 53 | public static IEnumerable FindElements(this IWebDriver driver, By by, Func predicate) 54 | { 55 | try 56 | { 57 | return new ElementSeCollection(driver, by).Where(predicate); 58 | } 59 | catch (Exception) 60 | { 61 | return null; 62 | } 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Selenium WebDriverSEd")] 9 | [assembly: AssemblyDescription("C# extension that vastly improves upon the WebDriver. It includes functions for tables, selectlists and much more. It is great for converting Watin tests to Selenium because the syntax is very simliar. For more Info and Examples go to https://github.com/Assiance/Selenium2-WebDriverSEd/wiki")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Bradford Foxworth-Hill")] 12 | [assembly: AssemblyProduct("Selenium2WebDriverSEd")] 13 | [assembly: AssemblyCopyright("Copyright © Bradford Foxworth-Hill 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("f3f4a43b-8946-43a8-91d6-f58382feafbe")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Revision and Build Numbers 33 | // by using the '*' as shown below: 34 | [assembly: AssemblyVersion("1.0.25")] 35 | [assembly: AssemblyFileVersion("1.0.0.25")] 36 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Selenium2WebDriverSEd.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $id$ 5 | $version$ 6 | $title$ 7 | $author$ 8 | $author$ 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | https://github.com/Assiance/Selenium2-WebDriverSEd 11 | 12 | false 13 | $description$ 14 | Initial Release 15 | Copyright 2012 16 | Selenium Webdriver WebDriverSEd browser automation 17 | 18 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Tools/firebug-1.7.3-fx.xpi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/Selenium2WebDriverSEd/Tools/firebug-1.7.3-fx.xpi -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Web.Debug.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Web.Release.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 30 | 31 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/Web.config: -------------------------------------------------------------------------------- 1 |  2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/Selenium2WebDriverSEd/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/UpgradeLog.XML: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/UpgradeLog.XML -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/UpgradeLog.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/UpgradeLog.htm -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/_UpgradeReport_Files/UpgradeReport.css: -------------------------------------------------------------------------------- 1 | /* Body style, for the entire document */ 2 | body 3 | { 4 | background: #F3F3F4; 5 | color: #1E1E1F; 6 | font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; 7 | padding: 0; 8 | margin: 0; 9 | } 10 | 11 | /* Header1 style, used for the main title */ 12 | h1 13 | { 14 | padding: 10px 0px 10px 10px; 15 | font-size: 21pt; 16 | background-color: #E2E2E2; 17 | border-bottom: 1px #C1C1C2 solid; 18 | color: #201F20; 19 | margin: 0; 20 | font-weight: normal; 21 | } 22 | 23 | /* Header2 style, used for "Overview" and other sections */ 24 | h2 25 | { 26 | font-size: 18pt; 27 | font-weight: normal; 28 | padding: 15px 0 5px 0; 29 | margin: 0; 30 | } 31 | 32 | /* Header3 style, used for sub-sections, such as project name */ 33 | h3 34 | { 35 | font-weight: normal; 36 | font-size: 15pt; 37 | margin: 0; 38 | padding: 15px 0 5px 0; 39 | background-color: transparent; 40 | } 41 | 42 | /* Color all hyperlinks one color */ 43 | a 44 | { 45 | color: #1382CE; 46 | } 47 | 48 | /* Table styles */ 49 | table 50 | { 51 | border-spacing: 0 0; 52 | border-collapse: collapse; 53 | font-size: 10pt; 54 | } 55 | 56 | table th 57 | { 58 | background: #E7E7E8; 59 | text-align: left; 60 | text-decoration: none; 61 | font-weight: normal; 62 | padding: 3px 6px 3px 6px; 63 | } 64 | 65 | table td 66 | { 67 | vertical-align: top; 68 | padding: 3px 6px 5px 5px; 69 | margin: 0px; 70 | border: 1px solid #E7E7E8; 71 | background: #F7F7F8; 72 | } 73 | 74 | /* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */ 75 | .localLink 76 | { 77 | color: #1E1E1F; 78 | background: #EEEEED; 79 | text-decoration: none; 80 | } 81 | 82 | .localLink:hover 83 | { 84 | color: #1382CE; 85 | background: #FFFF99; 86 | text-decoration: none; 87 | } 88 | 89 | /* Center text, used in the over views cells that contain message level counts */ 90 | .textCentered 91 | { 92 | text-align: center; 93 | } 94 | 95 | /* The message cells in message tables should take up all avaliable space */ 96 | .messageCell 97 | { 98 | width: 100%; 99 | } 100 | 101 | /* Padding around the content after the h1 */ 102 | #content 103 | { 104 | padding: 0px 12px 12px 12px; 105 | } 106 | 107 | /* The overview table expands to width, with a max width of 97% */ 108 | #overview table 109 | { 110 | width: auto; 111 | max-width: 75%; 112 | } 113 | 114 | /* The messages tables are always 97% width */ 115 | #messages table 116 | { 117 | width: 97%; 118 | } -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/_UpgradeReport_Files/UpgradeReport_Error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/_UpgradeReport_Files/UpgradeReport_Error.png -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/_UpgradeReport_Files/UpgradeReport_Information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/_UpgradeReport_Files/UpgradeReport_Information.png -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/_UpgradeReport_Files/UpgradeReport_Success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/_UpgradeReport_Files/UpgradeReport_Success.png -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/_UpgradeReport_Files/UpgradeReport_Warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/_UpgradeReport_Files/UpgradeReport_Warning.png -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Castle.Core.3.0.0.4001/BreakingChanges.txt: -------------------------------------------------------------------------------- 1 | ================================================================================================ 2 | change - Removed overloads of logging methods that were taking format string from ILogger and 3 | ILogger and IExtendedLogger and didn't have word Format in their name. 4 | For example: 5 | void Error(string format, params object[] args); // was removed 6 | void ErrorFormat(string format, params object[] args); //use this one instead 7 | 8 | 9 | impact - low 10 | fixability - medium 11 | revision - 12 | 13 | description - To minimize confusion and duplication those methods were removed. 14 | 15 | fix - Use methods that have explicit "Format" word in their name and same signature. 16 | ================================================================================================ 17 | change - Removed WebLogger and WebLoggerFactory 18 | 19 | impact - low 20 | fixability - medium 21 | revision - 22 | 23 | description - To minimize management overhead the classes were removed so that only single 24 | Client Profile version of Castle.Core can be distributed. 25 | 26 | fix - You can use NLog or Log4Net web logger integration, or reuse implementation of existing 27 | web logger and use it as a custom logger. 28 | 29 | ================================================================================================ 30 | change - Removed obsolete overload of ProxyGenerator.CreateClassProxy 31 | 32 | impact - low 33 | fixability - trivial 34 | revision - 35 | 36 | description - Deprecated overload of ProxyGenerator.CreateClassProxy was removed to keep the 37 | method consistent with other methods and to remove confusion 38 | 39 | fix - whenever removed overload was used, use one of the other overloads. 40 | 41 | ================================================================================================ 42 | change - IProxyGenerationHook.NonVirtualMemberNotification method was renamed 43 | 44 | impact - high 45 | fixability - easy 46 | revision - 47 | 48 | description - to accommodate class proxies with target method NonVirtualMemberNotification on 49 | IProxyGenerationHook type was renamed to more accurate NonProxyableMemberNotification 50 | since for class proxies with target not just methods but also fields and other member that 51 | break the abstraction will be passed to this method. 52 | 53 | fix - whenever NonVirtualMemberNotification is used/implemented change the method name to 54 | NonProxyableMemberNotification. Implementors should also accommodate possibility that not 55 | only MethodInfos will be passed as method's second parameter. 56 | 57 | ================================================================================================ 58 | change - DynamicProxy will now allow to intercept members of System.Object 59 | 60 | impact - very low 61 | fixability - easy 62 | revision - 63 | 64 | description - to allow scenarios like mocking of System.Object members, DynamicProxy will not 65 | disallow proxying of these methods anymore. AllMethodsHook (default IProxyGenerationHook) 66 | will still filter them out though. 67 | 68 | fix - whenever custom IProxyGenerationHook is used, user should account for System.Object's 69 | members being now passed to ShouldInterceptMethod and NonVirtualMemberNotification methods 70 | and if neccessary update the code to handle them appropriately. 71 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Castle.Core.3.0.0.4001/Changes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Castle.Core.3.0.0.4001/Changes.txt -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Castle.Core.3.0.0.4001/Committers.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Castle.Core.3.0.0.4001/Committers.txt -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Castle.Core.3.0.0.4001/readme.txt: -------------------------------------------------------------------------------- 1 | You can find full list of changes in changes.txt 2 | 3 | Issue tracker: - http://issues.castleproject.org/dashboard 4 | 5 | Documentation (work in progress): 6 | Dictionary Adapter - http://docs.castleproject.org/Tools.Castle-DictionaryAdapter.ashx 7 | DynamicProxy - http://docs.castleproject.org/Tools.DynamicProxy.ashx 8 | Discusssion group: - http://groups.google.com/group/castle-project-users 9 | StackOverflow tags: - castle-dynamicproxy, castle-dictionaryadapter, castle -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/NUnit.2.6.0.12054/license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/NUnit.2.6.0.12054/license.txt -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/NUnit.2.6.2/NUnit.2.6.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/NUnit.2.6.2/NUnit.2.6.2.nupkg -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/NUnit.2.6.2/NUnit.2.6.2.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | NUnit 5 | 2.6.2 6 | NUnit 7 | Charlie Poole 8 | Charlie Poole 9 | http://nunit.org/nuget/license.html 10 | http://nunit.org/ 11 | http://nunit.org/nuget/nunit_32x32.png 12 | false 13 | NUnit features a fluent assert syntax, parameterized, generic and theory tests and is user-extensible. A number of runners, both from the NUnit project and by third parties, are able to execute NUnit tests. 14 | 15 | Version 2.6 is the seventh major release of this well-known and well-tested programming tool. 16 | 17 | This package includes only the framework assembly. You will need to install the NUnit.Runners package unless you are using a third-party runner. 18 | NUnit is a unit-testing framework for all .Net languages with a strong TDD focus. 19 | Version 2.6 is the seventh major release of NUnit. 20 | 21 | Unlike earlier versions, this package includes only the framework assembly. You will need to install the NUnit.Runners package unless you are using a third-party runner. 22 | 23 | The nunit.mocks assembly is now provided by the NUnit.Mocks package. The pnunit.framework assembly is provided by the pNUnit package. 24 | en-US 25 | test testing tdd framework fluent assert theory plugin addin 26 | 27 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/NUnit.2.6.2/lib/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/NUnit.2.6.2/lib/nunit.framework.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/NUnit.2.6.2/license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/NUnit.2.6.2/license.txt -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/Newtonsoft.Json.4.5.11.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/Newtonsoft.Json.4.5.11.nupkg -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/Newtonsoft.Json.4.5.11.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Newtonsoft.Json 5 | 4.5.11 6 | Json.NET 7 | James Newton-King 8 | James Newton-King 9 | http://json.codeplex.com/license 10 | http://james.newtonking.com/projects/json-net.aspx 11 | false 12 | Json.NET is a popular high-performance JSON framework for .NET 13 | en-US 14 | json 15 | 16 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/net20/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/net20/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/net35/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/net35/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/net40/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/net40/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/portable-net40+sl4+wp7+win8/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/portable-net40+sl4+wp7+win8/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/sl3-wp/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/sl3-wp/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/sl4-windowsphone71/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/sl4-windowsphone71/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/sl4/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/sl4/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/winrt45/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.4.5.11/lib/winrt45/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/NuGet.CommandLine.2.1.2/NuGet.CommandLine.2.1.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/NuGet.CommandLine.2.1.2/NuGet.CommandLine.2.1.2.nupkg -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/NuGet.CommandLine.2.1.2/NuGet.CommandLine.2.1.2.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | NuGet.CommandLine 5 | 2.1.2 6 | Microsoft Corporation 7 | Microsoft Corporation 8 | http://nuget.codeplex.com/license 9 | http://nuget.codeplex.com/ 10 | false 11 | NuGet Command Line Tool 12 | 13 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/NuGet.CommandLine.2.1.2/tools/NuGet.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/NuGet.CommandLine.2.1.2/tools/NuGet.exe -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.Support.2.34.0/Selenium.Support.2.34.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.Support.2.34.0/Selenium.Support.2.34.0.nupkg -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.Support.2.34.0/Selenium.Support.2.34.0.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Selenium.Support 5 | 2.34.0 6 | Selenium WebDriver Support Classes 7 | Selenium Committers 8 | Selenium Committers 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | http://code.google.com/p/selenium/ 11 | http://seleniumhq.org/images/big-logo.png 12 | false 13 | Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains .NET support classes for the Selenium WebDriver API, which includes helper classes for HTML Select elements, waiting for conditions, and Page Object creation. 14 | Support classes for the .NET bindings of the Selenium WebDriver API 15 | Selenium WebDriver browser automation support 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.Support.2.34.0/lib/net35/WebDriver.Support.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.Support.2.34.0/lib/net35/WebDriver.Support.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.Support.2.34.0/lib/net40/WebDriver.Support.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.Support.2.34.0/lib/net40/WebDriver.Support.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.Support.2.53.0/Selenium.Support.2.53.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.Support.2.53.0/Selenium.Support.2.53.0.nupkg -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.Support.2.53.0/lib/net35/WebDriver.Support.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.Support.2.53.0/lib/net35/WebDriver.Support.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.Support.2.53.0/lib/net40/WebDriver.Support.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.Support.2.53.0/lib/net40/WebDriver.Support.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.34.0/Selenium.WebDriver.2.34.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.34.0/Selenium.WebDriver.2.34.0.nupkg -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.34.0/Selenium.WebDriver.2.34.0.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Selenium.WebDriver 5 | 2.34.0 6 | Selenium WebDriver 7 | Selenium Committers 8 | Selenium Committers 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | http://code.google.com/p/selenium/ 11 | http://seleniumhq.org/images/big-logo.png 12 | false 13 | Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the newer, more concise and object-based Selenium WebDriver API, which uses native OS-level events to manipulate the browser, bypassing the JavaScript sandbox, and does not require the Selenium Server to automate the browser. 14 | .NET bindings for the Selenium WebDriver API 15 | Selenium WebDriver browser automation 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.34.0/lib/net35/WebDriver.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.34.0/lib/net35/WebDriver.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.34.0/lib/net40/WebDriver.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.34.0/lib/net40/WebDriver.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.53.0/Selenium.WebDriver.2.53.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.53.0/Selenium.WebDriver.2.53.0.nupkg -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.53.0/lib/net35/WebDriver.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.53.0/lib/net35/WebDriver.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.53.0/lib/net40/WebDriver.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/Selenium2WebDriverSEd/packages/Selenium.WebDriver.2.53.0/lib/net40/WebDriver.dll -------------------------------------------------------------------------------- /Selenium2WebDriverSEd/packages/repositories.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /createPackage.cmd: -------------------------------------------------------------------------------- 1 | nuget pack .\Selenium2WebDriverSEd\Selenium2WebDriverSEd\Selenium2WebDriverSEd.csproj -OutputDirectory .\nuget -Build -Prop Configuration=Release 2 | pause -------------------------------------------------------------------------------- /nuget/SeleniumHelperClasses.1.0.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/SeleniumHelperClasses.1.0.0.0.nupkg -------------------------------------------------------------------------------- /nuget/SeleniumHelperClasses.1.0.1.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/SeleniumHelperClasses.1.0.1.0.nupkg -------------------------------------------------------------------------------- /nuget/SeleniumHelperClasses.1.0.2.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/SeleniumHelperClasses.1.0.2.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.0.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.10.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.10.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.11.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.11.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.12.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.12.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.13.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.13.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.14.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.14.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.15.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.15.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.16.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.16.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.17.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.17.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.18.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.18.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.19.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.19.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.22.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.22.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.23.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.23.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.24.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.24.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.25.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.25.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.3.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.3.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.4.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.4.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.6.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.6.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.7.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.7.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.8.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.8.0.nupkg -------------------------------------------------------------------------------- /nuget/WebDriverSEd.1.0.9.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Assiance/Selenium2-WebDriverSEd/e05c783bc6d2ce4d853ed5edcfbf76e64962f9bf/nuget/WebDriverSEd.1.0.9.0.nupkg --------------------------------------------------------------------------------