Navigation

    OpenIAP

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Execution duplicating activities

    General Discussion
    openrpa
    3
    10
    52
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cristi4n last edited by

      Hi,

      sometimes when i play a web automation workflow, it duplicates an execution 3 times (for example, it opens the url 3 times simultaneous. It also happens with execution of the "Execute Script"). It's always one (the correct) or three executions, never another number. This has already happened on several different workflows. I realized that it usually happens after a "Get Element" that takes a long time to find the element. I already tested with chrome and edge, and it happens in both. What can it be?

      Allan Zimmermann 1 Reply Last reply Reply Quote 0
      • Allan Zimmermann
        Allan Zimmermann @cristi4n last edited by

        The "open url 3 times" bug have been reported by many people, yet i cannot reproduce pn my end, and when I do screen sharing with someone who has the issue they cannot reproduce it either. So, I will be looking in to this as soon as i have something i can work with/on.
        I sounds like the open URL an execute script thing is related, but it could also be that you are using Execute Script on a page that has multiple frames ( like Iframes ). Execute script will run in all frames unless you set FrameID. So try setting frameid to 0. ( If this ONLY happens after Get Element takes a long time, then that will not help. But then i think you might have stumbled on the issue with Open URL no-one has been able to reproduce ? ... is the website you are working public accessible ? Can I access it ? )

        B C 2 Replies Last reply Reply Quote 0
        • B
          Bill Xiao @Allan Zimmermann last edited by

          @allan-zimmermann Allan, I can repeat this issue. If you set NewTab of Open URL to True, it'll open 3 tabs.
          cdb8e48c-7d89-41d3-86f4-4e1801daad33-image.png
          Attached is my simple workflow xaml file.
          open-3-tabs.xaml

          Allan Zimmermann 1 Reply Last reply Reply Quote 0
          • Allan Zimmermann
            Allan Zimmermann @Bill Xiao last edited by

            Nope, it only opens one tab on my machine.
            There must be some other thing effecting the browser that have this issue.

            B 3 Replies Last reply Reply Quote 0
            • B
              Bill Xiao @Allan Zimmermann last edited by

              @allan-zimmermann If your Chrome is running, it'll open 3 tabs. But if it isn't, it'll not. You can try to keep Chrome running, and rerun the workflow multiple times to see if it happens

              1 Reply Last reply Reply Quote 0
              • B
                Bill Xiao @Allan Zimmermann last edited by

                @allan-zimmermann And the issue also is related what website you're opening. For several non-English websites, I have the issue. But for pure English website, it's fine. So I doubt open-3-tabs and ExecuteScript-return-null are all related to language charset.

                Allan Zimmermann 1 Reply Last reply Reply Quote 0
                • B
                  Bill Xiao @Allan Zimmermann last edited by

                  @allan-zimmermann So you can try the URL I put in my xaml file, https://www.baidu.com/

                  1 Reply Last reply Reply Quote 0
                  • Allan Zimmermann
                    Allan Zimmermann @Bill Xiao last edited by

                    No, like I said, I just ran your workflow. Both with and without chrome open, it does NOT open multiple tabs. There is something else making this happen. Just not sure what

                    1 Reply Last reply Reply Quote 0
                    • C
                      cristi4n @Allan Zimmermann last edited by

                      @allan-zimmermann

                      website that I use is private, but I can reproduce using any url.

                      the way I managed to reproduce more easily was using open url with newtab = true and a "Get Element" with a timeout of 10 seconds on an element that does not exist on the page. After two or three executions of the workflow it starts to present the problem. This is the easiest way, but it happens in other ways too.

                      Allan Zimmermann 1 Reply Last reply Reply Quote 0
                      • Allan Zimmermann
                        Allan Zimmermann @cristi4n last edited by

                        @cristi4n thank you, will try that.

                        1 Reply Last reply Reply Quote 0
                        • Locked by  A az 
                        • First post
                          Last post