Skip to content

Commit

Permalink
Merge pull request #4 from saucepleez/development-branch
Browse files Browse the repository at this point in the history
Merge
  • Loading branch information
VirtualFab committed Sep 11, 2019
2 parents 3fbe7bb + 868078a commit ae27bfe
Show file tree
Hide file tree
Showing 44 changed files with 3,111 additions and 92 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
![taskt](https://i.imgur.com/gBpKDg0.png)


taskt (formerly sharpRPA) is the first truly free, easy to use, and open-source process automation client built on the .NET Framework in C#. taskt allows you to build and design process automation without needing to write application code.

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/saucepleez/taskt)


branch | build status
------------ | -------------
master | [![Build Status](https://dev.azure.com/taskt/taskt/_apis/build/status/saucepleez.taskt?branchName=master)](https://dev.azure.com/taskt/taskt/_build/latest?definitionId=1&branchName=master)
development-branch | [![Build Status](https://dev.azure.com/taskt/taskt/_apis/build/status/saucepleez.taskt?branchName=development-branch)](https://dev.azure.com/taskt/taskt/_build/latest?definitionId=1&branchName=development-branch)



![taskt-main-screen](https://i.imgur.com/tHTy6eh.gif)

![Click. Configure. Done.](https://i.imgur.com/gzYEdRG.png)
Expand Down Expand Up @@ -35,5 +45,7 @@ taskt is free for both personal and commercial use. taskt is licensed under the

![Let us know what you think!](https://i.imgur.com/wKExziN.png)
Feel free to open up a feature request or report a bug/issue.
[Click here to open a new issue!](https://github.com/saucepleez/taskt/issues/new)
[Need support? Want to say Hi? Come chat with us on Gitter!](https://gitter.im/taskt-rpa/Lobby)

[![Open New Issue](https://img.shields.io/badge/Open-New Issue-blue.svg)](https://github.com/saucepleez/taskt/issues/new)
[![Chat on Gitter](https://img.shields.io/badge/Chat-On Gitter-green.svg)](https://gitter.im/taskt-rpa/Lobby)

58 changes: 58 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net

trigger:
- master
- development-branch

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'

steps:
- task: NuGetToolInstaller@1

- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: VSBuild@1
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: VSTest@2
inputs:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: DownloadSecureFile@1
inputs:
secureFile: 'app_cert'

- task: codesigning@2
inputs:
secureFileId: 'app_cert'
signCertPassword: '$(certPass)'
files: '**/taskt.exe'
timeServer: 'http://timestamp.digicert.com'
hashingAlgorithm: 'SHA256'

- task: CopyFiles@2
inputs:
SourceFolder: '$(Build.SourcesDirectory)'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)'

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'taskt'
publishLocation: 'Container'
10 changes: 5 additions & 5 deletions taskt/App.config
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 (c) 2017 Jason Bayldon
Expand All @@ -20,15 +20,15 @@ limitations under the License.
</configSections>

<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.13.0" newVersion="1.2.13.0" />
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-1.2.13.0" newVersion="1.2.13.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>

</configuration>
</configuration>
4 changes: 4 additions & 0 deletions taskt/Core/Automation/Commands/BeginListLoopCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ public override void RunCommand(object sender, Core.Script.ScriptAction parentCo
{
listToLoop = (List<OpenQA.Selenium.IWebElement>)complexVariable.VariableValue;
}
else if (complexVariable.VariableValue is DataTable)
{
listToLoop = ((DataTable)complexVariable.VariableValue).Rows;
}
else
{
throw new Exception("Complex Variable List Type<T> Not Supported");
Expand Down
41 changes: 41 additions & 0 deletions taskt/Core/Automation/Commands/CatchExceptionCommand.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using taskt.UI.CustomControls;
using taskt.UI.Forms;

namespace taskt.Core.Automation.Commands
{
[Serializable]
[Attributes.ClassAttributes.Group("Error Handling Commands")]
[Attributes.ClassAttributes.Description("This command allows you to define actions that should occur after encountering an error.")]
[Attributes.ClassAttributes.UsesDescription("Use this command when you want to define how your script should behave when an error is encountered.")]
[Attributes.ClassAttributes.ImplementationDescription("")]
public class CatchExceptionCommand : ScriptCommand
{
public string ErrorMessage { get; set; }
public string StackTrace { get; set; }

public CatchExceptionCommand()
{
this.CommandName = "CatchExceptionCommand";
this.SelectionName = "Catch Exception";
this.CommandEnabled = true;
this.CustomRendering = true;
}
public override void RunCommand(object sender)
{
//no execution required, used as a marker by the Automation Engine
}
public override List<Control> Render(frmCommandEditor editor)
{
base.Render(editor);
RenderedControls.AddRange(CommandControls.CreateDefaultInputGroupFor("v_Comment", this, editor));
return RenderedControls;
}
public override string GetDisplayValue()
{
return base.GetDisplayValue();
}
}
}
Loading

0 comments on commit ae27bfe

Please sign in to comment.