String型のListの値が、Webアプリに正しく入力されない事象が発生しています。

String型のListの値が、Webアプリに正しく入力されない事象が発生しています。

≪RPA概要≫
RPAVer:Studio 2021.10.8
使用しているツール:Excel、Webアプリケーション『HRMOS経費』

RPA実行前:Excelに、HRMOS経費にRPAで自動入力したい情報を管理
RPAの処理:
①Excelのシート全体をExcelReadRageアクティビティで取得
②1列1列のセル情報をString型のListに、AddToCelloctionアクティビティで格納
listTanto = List{“担当者情報1”,“担当者情報2”,“担当者情報3”}
listMoney = List{“11000”,“12000”,“13000”}
③HRMOS経費にlistの情報を、TypeInfoアクティビティで入力
listMoney(i)←Count変数を定義して、全要素ループしています

≪事象≫
2点正しく入力されない事象が発生しています。
・本来であれば、1回目の処理で"担当者情報1"の入力、2回目の処理で"担当者情報2"の入力、と処理が実行されるはずですが、
1回目の処理で"担当者情報1担当者情報2"のように、次の要素が同時に入力されることがあります。
・"11000"と入力されず、"11"のように値が欠けて入力されることがあります。
"12000"が"12"となったり、"0"が欠けることが多いです。

毎回の実行で発生するわけでなく、ランダムで発生するため原因が掴みにくい状態です。
何か情報お持ちの方いらっしゃいましたら、原因・解決策等ご教授お願いします。

Hi @Nakajima

Instead of passing listMoney = List{“11000”,“12000”,“13000”} like this you can pass it this way.

listMoney={11000,12000,13000}

listMoney will ve of the DataType System.Collections.Generic.List(System.Int32)

You can Use the input method Simulate for type into too
Or use Set Text activity instead od Type Into and pass the variable there

Hope it helps!!

こんにちは

TypeIntoアクティビティの入力メソッド(Simulate, SendWindowMessages, HardwareEventなど)は何をお使いでしょうか?HardwareEvent (Default)をお使いなら、Simulate(あるいはChromiumuAPI)などを試してみてはと思います。

あるいはアプリケーション側がSimulate等に対応していない場合は、一旦クリックボードにデータを移したうえでホットキー送信でCtrl+vを送り込む方法もあるかもしれません

Hi @Nakajima ,
I understand your input is missing characters.
here you use [type into] activity right?
I had a similar situation with the yamato website
i used [set to clipboard] activity
and [send hot key] with ctrl+v
this will make sure it can’t be missing characters when entering

you can also use type into, but adjust the input time between characters
Regards,
LNV

HardwareEventを使用しております。
Simulateの方が精度の向上が見込めるのですね。アプリケーションが対応しているか見極めて使用して見たいと思います。

一旦クリックボードにデータを移したうえでホットキー送信でCtrl+vを送り込む方法
この方法は初めて存じ上げました。
改善しない場合はこちらも試してみます。

Hi @Nakajima ,
こんにちは,
have you checked click before ctrl+V and edit delay ?

So you mean Money is a number, it should be defined as an int instead of a String. right?

I will also try the Simulate and Set Text activities.
Thanks for letting me know!

used [set to clipboard] activity
and [send hot key] with ctrl+v

This is the first time I’ve heard of this method.
I will try to this.

Thanks for letting me know!

Hi @Nakajima ,
My previous project required login to a japanese website,
I used type into and got the same error as you,
so I use this way,
Hope it help
Regards,
LNV