Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline bweston  
#1 Posted : Tuesday, February 5, 2019 3:12:24 PM(UTC)
bweston

Rank: Paid support

Joined: 12/14/2012(UTC)
Posts: 69

Thanks: 1 times
Was thanked: 12 time(s) in 11 post(s)
Did the entry

"[BUGFIX] Server: Web macro Task->Better error handling"

from the 8.4.0 changelog include making a step fail if it is a "click" step and the original target isn't there?

I have a web macro that is supposed to attempt to click on a button that is presented if the account logging in has already done so, to take over the session. I'm almost positive that before I upgraded past 8.4.0, if that button wasn't there (because the account was not already logged in), the macro would wait for it briefly and then move on to the next step, and now it fails instead. I thought I had fixed it by making the click target "by position" instead of "relative," but it still seems to fail if that screen doesn't appear.

I'm trying to recreate the task in a more robust way anyhow, but I finally realized that I think this arose about the time I upgraded, and I thought I would see if I could determine if I'm right about why.

Edited by moderator Wednesday, February 6, 2019 9:50:08 PM(UTC)  | Reason: Not specified

Offline Support  
#2 Posted : Tuesday, February 5, 2019 5:48:23 PM(UTC)
Support

Rank: Official support

Joined: 2/23/2008(UTC)
Posts: 10,781

Thanks: 812 times
Was thanked: 406 time(s) in 386 post(s)
I think the current behavior is that it waits for a short while but then fails (and exists) if it cannot find it. You want it to continue anyway?
Henrik
Support
http://www.visualcron.com
Please like VisualCron on facebook!
Offline bweston  
#3 Posted : Tuesday, February 5, 2019 11:12:12 PM(UTC)
bweston

Rank: Paid support

Joined: 12/14/2012(UTC)
Posts: 69

Thanks: 1 times
Was thanked: 12 time(s) in 11 post(s)
I think it used to, and the change caused my task to stop working as intended. But web macros in general seem to have some rough edges, or perhaps there is something messed up with the ones I'm using; for example, once the macro steps have been saved, there is a button to delete them but for some step types it does nothing. Also, the message from the failure seems to indicate that changing the click to be at specific X,Y coordinates instead of on an element defined by something roughly resembling a CSS selector did not actually persist when I saved the altered task. I may try rebuilding the job from scratch to see if I can reproduce the behavior.
Offline Support  
#4 Posted : Wednesday, February 6, 2019 9:49:57 PM(UTC)
Support

Rank: Official support

Joined: 2/23/2008(UTC)
Posts: 10,781

Thanks: 812 times
Was thanked: 406 time(s) in 386 post(s)
Originally Posted by: bweston Go to Quoted Post
I think it used to, and the change caused my task to stop working as intended. But web macros in general seem to have some rough edges, or perhaps there is something messed up with the ones I'm using; for example, once the macro steps have been saved, there is a button to delete them but for some step types it does nothing. Also, the message from the failure seems to indicate that changing the click to be at specific X,Y coordinates instead of on an element defined by something roughly resembling a CSS selector did not actually persist when I saved the altered task. I may try rebuilding the job from scratch to see if I can reproduce the behavior.


It is based on relative tree path. If you have an official page that behaves strange please export the web macro and send to us for testing.
Henrik
Support
http://www.visualcron.com
Please like VisualCron on facebook!
Users browsing this topic
Guest (2)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.219 seconds.
Scroll to Top