いつもお世話になっております。
緊急で解決しなければならないため、投稿いたします。
画像のようなWebサイトのボタンがございます。はしの次へボタンを押すと、11ページになります。ここで、質問なのですが、毎日このボタンを押して、全部の情報を取得する必要があります。また、このボタンの数は毎日変動します。どうすれば、このボタンを全て押して全てのデータを抽出する方法はありますでしょうか。よろしくお願いいたします。
資料1.pdf (8.3 KB)
Can you try using For each Ui element activity and click on the each number respectively.
Please try this whether the For each Ui element extracts properly!
follow below steps
-
Get Text from [1/26] just above pagination to find out Total pages.
intTotal =cInt(getTextResult.Split("/"c)[1]) -
Use variable intCounter = 1
-
Increase counter by 1 after clicking each button
intCounter = intCounter +1 -
if( intCounter MOD 10) = 0then click >> button else step 5 -
Use intCounter variable to build a dynamic selector to click button with number.
-
wrap step 3-5 in while loop with condition
intCounter < intTotal
Mark my answer as solution if this helps you. Cheers !
この度は、お世話になりました。
この方法+αのやり方で無事上手くいきました。
ありがとうございました。
感謝申し上げます。
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.