J111
(J)
April 30, 2020, 7:42pm
1
Hello,
I am on the Generate Yearly Report Dispatcher and non of the forums are solving my problem for the timeout error I’m receiving for On Element activity. I have the property RepeatForever as False and I’ve modified selectors as seen on the forums but nothing is working.
Thank you for your assistance.
mz3bel
(Mohssine HILAL)
April 30, 2020, 8:25pm
2
@J111
Hi, run the project on debug mode and share the output…
mz3bel
(Mohssine HILAL)
April 30, 2020, 8:39pm
4
@J111
Your issue, is on element appear activity, it apears that it doesn’t find the element you are looking for…
1 Like
J111
(J)
April 30, 2020, 8:50pm
5
Exactly but I’m not sure how to adjust the selector. I’ve followed all of the forum suggestions and nothing is working.
mz3bel
(Mohssine HILAL)
April 30, 2020, 9:18pm
6
@J111
In your dynamic selector, it should only be
"<webctrl aaname='" + in_TransactionItem + "' tag='A' />"
1 Like
mz3bel
(Mohssine HILAL)
May 1, 2020, 2:25am
8
@J111
Show me your dynamic selector code?
Debug and show me error too
mz3bel
(Mohssine HILAL)
May 1, 2020, 7:57pm
11
@J111
Ok, on the first assign dynamic selector
"<webctrl aaname='" + in_TransactionItem + "' tag='A' />"
On the second assign dynamic selector
"<html title='ACME System 1 - Work Items' /><webctrl aaname='" + in_TransactionItem + "' tag='SPAN' class='page-numbers current' />"
This should fix your issue…
J111
(J)
May 1, 2020, 8:10pm
12
I made the changes for the 2 selectors in my Process.xaml and I am getting the same error.
mz3bel
(Mohssine HILAL)
May 1, 2020, 8:33pm
14
@J111
Ok, so on the process page, your dynamic selectors are correct, but you have to use your dynamic selector on your first click, not the static one…
On get transaction data, change your dynamic selector by this
"<webctrl aaname='" + in_TransactionNumber.ToString + "' tag='LI' />"
Now, it should work correctly… Let me know how it goes
J111
(J)
May 2, 2020, 5:32pm
15
Still running into an error.
mz3bel
(Mohssine HILAL)
May 2, 2020, 10:19pm
16
@J111
So, if you look closely, you will see on your error, instead of getting number “1, 2, 3…” you get a date !
So, i looked closely to your project, i noticed that on your GetTransactionData page, you have
out_TransactionItem = now.ToString
out_TransactionID = string.Empty
Instead you should have this
out_TransactionID = now.ToString
out_TransactionField1 = string.Empty
out_TransactionField2 = string.Empty
Try this and let me know how it goes…
system
(system)
Closed
May 6, 2020, 2:59pm
19
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.