2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Power Automate DesktopとUiPathを戦わせる

Last updated at Posted at 2021-05-01

はじめに

https://qiita.com/etoootak/items/38df3f70d38b00228625
の続きです。
今度は、Power Automate Desktop(PAD)とUiPathで同じロジックを組んで戦わせてみました。

戦いの舞台

単純な陣取り合戦です。10×10のマスからランダムに選んで埋めていきます。
プログラムは.NetのWindows Form。各マスはTextBoxです。
game01.png

Botのロジック

  • 乱数で10×10からマスを1つ選びデータを読み出す。
  • データが入ってなければ自分の数字(UiPathは1、PADは2) をうちこむ。

結果(水色がUiPath、赤がPAD)

さいごに

戦いは互角でした。
戦わせるというか、単なる実行速度対決ですね。

本当はコアウォーズみたいな事をやりたかったのですが(しつこい)。

おまけ

初めてPower Automate DesktopでBot作ってみました。わずか7ステップなのに変数使って動的にUI操作する書き方がわからず3時間くらいかかりました。
もしかしたら他の人の参考になるかもしれないので、以下にハマりどころをメモしています。
https://qiita.com/etoootak/items/d74fc60f9f8e6460b012

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?