Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
angelovstanton committed Jul 22, 2024
1 parent a2a5de9 commit 5b9729f
Show file tree
Hide file tree
Showing 15 changed files with 545 additions and 568 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 Automate The Planet Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -12,6 +12,6 @@ limitations under the License.
-->
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand All @@ -9,11 +9,12 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CodeProjectStatisticsCalculator</RootNamespace>
<AssemblyName>CodeProjectStatisticsCalculator</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// <copyright file="ArticlesPage.Map.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet Ltd.
// <copyright file="$safeitemname$.Asserter.cs" company="Automate The Planet Ltd.">
// Copyright 2023 Automate The Planet Ltd.
// Licensed under the Apache License, Version 2.0 (the "License");
// You may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Expand All @@ -10,31 +10,14 @@
// limitations under the License.
// </copyright>
// <author>Anton Angelov</author>
// <site>http://automatetheplanet.com/</site>
// <site>https://automatetheplanet.com/</site>
using NUnit;

using OpenQA.Selenium;
using System.Collections.ObjectModel;

namespace CodeProjectStatisticsCalculator.Pages.ItemPage
namespace $rootnamespace$;
public partial class $safeitemname$
{
public partial class ArticlesPage
public void AssertSomething()
{
public ReadOnlyCollection<IWebElement> ArticlesRows
{
get
{
return Driver.FindElements(By.XPath("//tr[contains(@id,'CAR_MainArticleRow')]"));
}
}

public IWebElement GetArticleStatisticsElement(IWebElement articleRow)
{
return articleRow.FindElement(By.CssSelector("div[id$='CAR_SbD']"));
}

public IWebElement GetArticleTitleElement(IWebElement articleRow)
{
return articleRow.FindElement(By.CssSelector("a[id$='CAR_Title']"));
}
Assert.IsTrue(true);
}
}
Loading

0 comments on commit 5b9729f

Please sign in to comment.