Explore all Robotic Process Automation open source software, libraries, packages, source code, cloud functions and APIs.

Popular New Releases in Robotic Process Automation

robotframework-ExcelDataDriver

Re release for version issue

Popular Libraries in Robotic Process Automation

Robot Framework library for working with Excel 2010 and above

email-templates

by wywincl doticongroovydoticon

star image 5 doticonApache-2.0

jenkins email templates for robot framework

robotframework-ExcelDataDriver

by qahive doticonpythondoticon

star image 4 doticon

ExcelDataDriver is a Excel Data-Driven Testing library for Robot Framework.

robotframework-excel10library

by InviteAndy doticonpythondoticon

star image 2 doticonApache-2.0

Robot Framework Excel library compatible with .xslx files

pdding-robot

by iaping doticonphpdoticon

star image 2 doticon

Dingtalk Robot SDK for PHP(钉钉自定义机器人SDK)https://www.dingtalk.com

Trending New libraries in Robotic Process Automation

robotframework-ExcelDataDriver

by qahive doticonpythondoticon

star image 4 doticon

ExcelDataDriver is a Excel Data-Driven Testing library for Robot Framework.

pdding-robot

by iaping doticonphpdoticon

star image 2 doticon

Dingtalk Robot SDK for PHP(钉钉自定义机器人SDK)https://www.dingtalk.com

Top Authors in Robotic Process Automation

1

wywincl

1 Libraries

star icon5

2

InviteAndy

1 Libraries

star icon2

3

qahive

1 Libraries

star icon4

4

bartkl

1 Libraries

star icon6

5

iaping

1 Libraries

star icon2

1

1 Libraries

star icon5

2

1 Libraries

star icon2

3

1 Libraries

star icon4

4

1 Libraries

star icon6

5

1 Libraries

star icon2

Trending Kits in Robotic Process Automation

No Trending Kits are available at this moment for Robotic Process Automation

Trending Discussions on Robotic Process Automation

Will I get an error if I log in to Microsoft account frequently?

Get console outputs from a script running inside VM on Pipeline

Selenium click() - selects the button but doesn't click

Failed to install Automation Anywhere Bot Agent

QUESTION

Will I get an error if I log in to Microsoft account frequently?

Asked 2021-Dec-16 at 00:38

To use OneDrive API, I use token flow authentication to obtain an access token .

In general, I send a URL request using source code, then log in to Microsoft account and get an access token. Login is only requested for the first try since information are kept in browser cache .

However, when using RPA (Robotic Process Automation), the browser runs on a background process and the cache will not be kept. Therefore, it is necessary to log in to Microsoft account after sending the URL request every time. So far it seems to be ok but I am wondering that is it possible to get an error if I log in to Microsoft account too frequently in the long term?

ANSWER

Answered 2021-Dec-16 at 00:38

From my research it looks like this shouldn't be an issue unless you have certain security features enabled that check for this. I wouldn't worry unless you're attempting to sign in many times within a few seconds. In the case that you do get an error it should be easily fixable since we know where it's coming from.

Source https://stackoverflow.com/questions/70241794

QUESTION

Get console outputs from a script running inside VM on Pipeline

Asked 2021-Oct-13 at 04:06

I have a pipeline with the steps below:

  • Create a Resource Group
  • Create a Virtual Machine from an image
  • Copy a Python project to VM created in the previous step

This Python project is an RPA (Robotic Process Automation). Now, I need to execute this Python project inside the VM and get the outputs from it to know what is going on, what the robot is doing. This robot read some sites and internal software.

Is there a way to execute a script inside a Virtual Machine from a Pipeline and get its console outputs? Any clue?

I saw this running on Jenkins.

ANSWER

Answered 2021-Oct-13 at 04:06

If you are having Microsoft host the VM for you, there may be a way to "talk" to said VM as it is hosted on Microsoft's platform. However, the only way that I know of is to deploy an agent to the VM and select it as a resource target to run tasks on, such as copying your Python project and even running it.

Have you attempted this yet?

Source https://stackoverflow.com/questions/69502710

QUESTION

Selenium click() - selects the button but doesn't click

Asked 2021-Feb-18 at 09:47

I'm using Selenium Python to do something like a Robotic Process Automation. However, I am facing problems clicking in a button... When I click the Search button manually nothing happens, but through Selenium the alert appears: enter image description here

The code I'm using is:

1try:
2    driver.find_element(By.CSS_SELECTOR, '#WIN_3_1002 > div:nth-child(1)').click()
3except Exception as e:
4    print(e)
5

The html section of the button is:

1try:
2    driver.find_element(By.CSS_SELECTOR, '#WIN_3_1002 > div:nth-child(1)').click()
3except Exception as e:
4    print(e)
5<fieldset class="PageBodyHorizontal" arbwidth="0" arbw="0,0,0,0" aropacity="1.0" arcolor="c0c0c0" arbcolor="#c0c0c0" style="width: 970px;">
6   <legend class="hidden acc">Form Control Right Panel</legend>
7   <div class="PageBody pbChrome" style="border-radius: 0px 0px 0px 0px ;-moz-border-radius: 0px 0px 0px 0px ;-webkit-border-radius: 0px 0px 0px 0px ;background: -moz-linear-gradient(top, rgba(192,192,192,1.0), rgba(192,192,192,1.0));background: -webkit-gradient(linear, center center, center center, from(rgba(192,192,192,1.0)),to(rgba(192,192,192,1.0)));background: linear-gradient(rgba(192,192,192,1.0), rgba(192,192,192,1.0));background-color:#c0c0c0;">
8      <a href="javascript:" id="WIN_3_1002" arid="1002" artype="Control" ardbn="Query" artcolor="null" class="btn btn3d arfid1002 ardbnQuery" style="top: 5px; left: 10px; width: 50px; height: 21px; visibility: inherit; z-index: 997;" arwindowid="3">
9         <div class="btntextdiv" style="top:0px; left:0px; width:50px; height:21px;">
10            <div class="f1" style=";width:50px">Search</div>
11         </div>
12      </a>
13   </div>
14</fieldset>
15

enter image description here

It's strange because I have a similar code that works on other pages, for the same button.

The html of a similar button:

1try:
2    driver.find_element(By.CSS_SELECTOR, '#WIN_3_1002 > div:nth-child(1)').click()
3except Exception as e:
4    print(e)
5<fieldset class="PageBodyHorizontal" arbwidth="0" arbw="0,0,0,0" aropacity="1.0" arcolor="c0c0c0" arbcolor="#c0c0c0" style="width: 970px;">
6   <legend class="hidden acc">Form Control Right Panel</legend>
7   <div class="PageBody pbChrome" style="border-radius: 0px 0px 0px 0px ;-moz-border-radius: 0px 0px 0px 0px ;-webkit-border-radius: 0px 0px 0px 0px ;background: -moz-linear-gradient(top, rgba(192,192,192,1.0), rgba(192,192,192,1.0));background: -webkit-gradient(linear, center center, center center, from(rgba(192,192,192,1.0)),to(rgba(192,192,192,1.0)));background: linear-gradient(rgba(192,192,192,1.0), rgba(192,192,192,1.0));background-color:#c0c0c0;">
8      <a href="javascript:" id="WIN_3_1002" arid="1002" artype="Control" ardbn="Query" artcolor="null" class="btn btn3d arfid1002 ardbnQuery" style="top: 5px; left: 10px; width: 50px; height: 21px; visibility: inherit; z-index: 997;" arwindowid="3">
9         <div class="btntextdiv" style="top:0px; left:0px; width:50px; height:21px;">
10            <div class="f1" style=";width:50px">Search</div>
11         </div>
12      </a>
13   </div>
14</fieldset>
15<fieldset class="PageBodyHorizontal" arbwidth="0" arbw="0,0,0,0" aropacity="1.0" arcolor="c0c0c0" arbcolor="#c0c0c0" style="width: 1654px;">
16   <legend class="hidden acc">Panel2</legend>
17   <div class="PageBody pbChrome" style="border-radius: 0px 0px 0px 0px ;-moz-border-radius: 0px 0px 0px 0px ;-webkit-border-radius: 0px 0px 0px 0px ;background: -moz-linear-gradient(top, rgba(192,192,192,1.0), rgba(192,192,192,1.0));background: -webkit-gradient(linear, center center, center center, from(rgba(192,192,192,1.0)),to(rgba(192,192,192,1.0)));background: linear-gradient(rgba(192,192,192,1.0), rgba(192,192,192,1.0));background-color:#c0c0c0;">
18      <a href="javascript:" id="WIN_2_1000005683" arid="1000005683" artype="Control" ardbn="z3Btn Function Print Preview" artcolor="#" class="btn btn3d  btnd arfid1000005683 ardbnz3BtnFunctionPrintPreview" style="top:5px; left:149px; width:50px; height:21px;color:#;z-index:999;" arwindowid="2">
19         <div class="btntextdiv" style="top:0px; left:0px; width:50px; height:21px;">
20            <div class="f1" style=";width:50px">Print</div>
21         </div>
22      </a>
23      <a href="javascript:" id="WIN_2_1002" arid="1002" artype="Control" ardbn="Query" artcolor="null" class="btn btn3d arfid1002 ardbnQuery" style="top: 5px; left: 10px; width: 50px; height: 21px; visibility: inherit; z-index: 997;" arwindowid="2">
24         <div class="btntextdiv" style="top:0px; left:0px; width:50px; height:21px;">
25            <div class="f1" style=";width:50px">Search</div>
26         </div>
27      </a>
28      <a href="javascript:" id="WIN_2_303060100" arid="303060100" artype="Control" ardbn="z3Btn_NextStage" artcolor="null" class="btn btn3d arfid303060100 ardbnz3Btn_NextStage" style="top:5px; left:64px; width:82px; height:21px;z-index:998;" arwindowid="2">
29         <div class="btntextdiv" style="top:0px; left:0px; width:82px; height:21px;">
30            <div class="f7" style=";width:82px">Next Stage</div>
31         </div>
32      </a>
33   </div>
34</fieldset>
35

enter image description here

If you have advices on the quality of my code and how to fix this problem, I would be grateful.

ANSWER

Answered 2021-Feb-17 at 21:02

Generally <div> tags are not interactable unless contenteditable="true" is set.

Some more details about the usecase would have helped us to analyze the observations in a canonical way. However to click on an element ideally you need to induce WebDriverWait for the element_to_be_clickable() and you can use the following Locator Strategies:

  • Using CSS_SELECTOR I:

1try:
2    driver.find_element(By.CSS_SELECTOR, '#WIN_3_1002 &gt; div:nth-child(1)').click()
3except Exception as e:
4    print(e)
5&lt;fieldset class=&quot;PageBodyHorizontal&quot; arbwidth=&quot;0&quot; arbw=&quot;0,0,0,0&quot; aropacity=&quot;1.0&quot; arcolor=&quot;c0c0c0&quot; arbcolor=&quot;#c0c0c0&quot; style=&quot;width: 970px;&quot;&gt;
6   &lt;legend class=&quot;hidden acc&quot;&gt;Form Control Right Panel&lt;/legend&gt;
7   &lt;div class=&quot;PageBody pbChrome&quot; style=&quot;border-radius: 0px 0px 0px 0px ;-moz-border-radius: 0px 0px 0px 0px ;-webkit-border-radius: 0px 0px 0px 0px ;background: -moz-linear-gradient(top, rgba(192,192,192,1.0), rgba(192,192,192,1.0));background: -webkit-gradient(linear, center center, center center, from(rgba(192,192,192,1.0)),to(rgba(192,192,192,1.0)));background: linear-gradient(rgba(192,192,192,1.0), rgba(192,192,192,1.0));background-color:#c0c0c0;&quot;&gt;
8      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_3_1002&quot; arid=&quot;1002&quot; artype=&quot;Control&quot; ardbn=&quot;Query&quot; artcolor=&quot;null&quot; class=&quot;btn btn3d arfid1002 ardbnQuery&quot; style=&quot;top: 5px; left: 10px; width: 50px; height: 21px; visibility: inherit; z-index: 997;&quot; arwindowid=&quot;3&quot;&gt;
9         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:50px; height:21px;&quot;&gt;
10            &lt;div class=&quot;f1&quot; style=&quot;;width:50px&quot;&gt;Search&lt;/div&gt;
11         &lt;/div&gt;
12      &lt;/a&gt;
13   &lt;/div&gt;
14&lt;/fieldset&gt;
15&lt;fieldset class=&quot;PageBodyHorizontal&quot; arbwidth=&quot;0&quot; arbw=&quot;0,0,0,0&quot; aropacity=&quot;1.0&quot; arcolor=&quot;c0c0c0&quot; arbcolor=&quot;#c0c0c0&quot; style=&quot;width: 1654px;&quot;&gt;
16   &lt;legend class=&quot;hidden acc&quot;&gt;Panel2&lt;/legend&gt;
17   &lt;div class=&quot;PageBody pbChrome&quot; style=&quot;border-radius: 0px 0px 0px 0px ;-moz-border-radius: 0px 0px 0px 0px ;-webkit-border-radius: 0px 0px 0px 0px ;background: -moz-linear-gradient(top, rgba(192,192,192,1.0), rgba(192,192,192,1.0));background: -webkit-gradient(linear, center center, center center, from(rgba(192,192,192,1.0)),to(rgba(192,192,192,1.0)));background: linear-gradient(rgba(192,192,192,1.0), rgba(192,192,192,1.0));background-color:#c0c0c0;&quot;&gt;
18      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_2_1000005683&quot; arid=&quot;1000005683&quot; artype=&quot;Control&quot; ardbn=&quot;z3Btn Function Print Preview&quot; artcolor=&quot;#&quot; class=&quot;btn btn3d  btnd arfid1000005683 ardbnz3BtnFunctionPrintPreview&quot; style=&quot;top:5px; left:149px; width:50px; height:21px;color:#;z-index:999;&quot; arwindowid=&quot;2&quot;&gt;
19         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:50px; height:21px;&quot;&gt;
20            &lt;div class=&quot;f1&quot; style=&quot;;width:50px&quot;&gt;Print&lt;/div&gt;
21         &lt;/div&gt;
22      &lt;/a&gt;
23      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_2_1002&quot; arid=&quot;1002&quot; artype=&quot;Control&quot; ardbn=&quot;Query&quot; artcolor=&quot;null&quot; class=&quot;btn btn3d arfid1002 ardbnQuery&quot; style=&quot;top: 5px; left: 10px; width: 50px; height: 21px; visibility: inherit; z-index: 997;&quot; arwindowid=&quot;2&quot;&gt;
24         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:50px; height:21px;&quot;&gt;
25            &lt;div class=&quot;f1&quot; style=&quot;;width:50px&quot;&gt;Search&lt;/div&gt;
26         &lt;/div&gt;
27      &lt;/a&gt;
28      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_2_303060100&quot; arid=&quot;303060100&quot; artype=&quot;Control&quot; ardbn=&quot;z3Btn_NextStage&quot; artcolor=&quot;null&quot; class=&quot;btn btn3d arfid303060100 ardbnz3Btn_NextStage&quot; style=&quot;top:5px; left:64px; width:82px; height:21px;z-index:998;&quot; arwindowid=&quot;2&quot;&gt;
29         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:82px; height:21px;&quot;&gt;
30            &lt;div class=&quot;f7&quot; style=&quot;;width:82px&quot;&gt;Next Stage&lt;/div&gt;
31         &lt;/div&gt;
32      &lt;/a&gt;
33   &lt;/div&gt;
34&lt;/fieldset&gt;
35WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CSS_SELECTOR, &quot;a#WIN_3_1002 &gt; div.btntextdiv &gt; div.f1&quot;))).click()
36
  • Using CSS_SELECTOR II:

  • 1try:
    2    driver.find_element(By.CSS_SELECTOR, '#WIN_3_1002 &gt; div:nth-child(1)').click()
    3except Exception as e:
    4    print(e)
    5&lt;fieldset class=&quot;PageBodyHorizontal&quot; arbwidth=&quot;0&quot; arbw=&quot;0,0,0,0&quot; aropacity=&quot;1.0&quot; arcolor=&quot;c0c0c0&quot; arbcolor=&quot;#c0c0c0&quot; style=&quot;width: 970px;&quot;&gt;
    6   &lt;legend class=&quot;hidden acc&quot;&gt;Form Control Right Panel&lt;/legend&gt;
    7   &lt;div class=&quot;PageBody pbChrome&quot; style=&quot;border-radius: 0px 0px 0px 0px ;-moz-border-radius: 0px 0px 0px 0px ;-webkit-border-radius: 0px 0px 0px 0px ;background: -moz-linear-gradient(top, rgba(192,192,192,1.0), rgba(192,192,192,1.0));background: -webkit-gradient(linear, center center, center center, from(rgba(192,192,192,1.0)),to(rgba(192,192,192,1.0)));background: linear-gradient(rgba(192,192,192,1.0), rgba(192,192,192,1.0));background-color:#c0c0c0;&quot;&gt;
    8      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_3_1002&quot; arid=&quot;1002&quot; artype=&quot;Control&quot; ardbn=&quot;Query&quot; artcolor=&quot;null&quot; class=&quot;btn btn3d arfid1002 ardbnQuery&quot; style=&quot;top: 5px; left: 10px; width: 50px; height: 21px; visibility: inherit; z-index: 997;&quot; arwindowid=&quot;3&quot;&gt;
    9         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:50px; height:21px;&quot;&gt;
    10            &lt;div class=&quot;f1&quot; style=&quot;;width:50px&quot;&gt;Search&lt;/div&gt;
    11         &lt;/div&gt;
    12      &lt;/a&gt;
    13   &lt;/div&gt;
    14&lt;/fieldset&gt;
    15&lt;fieldset class=&quot;PageBodyHorizontal&quot; arbwidth=&quot;0&quot; arbw=&quot;0,0,0,0&quot; aropacity=&quot;1.0&quot; arcolor=&quot;c0c0c0&quot; arbcolor=&quot;#c0c0c0&quot; style=&quot;width: 1654px;&quot;&gt;
    16   &lt;legend class=&quot;hidden acc&quot;&gt;Panel2&lt;/legend&gt;
    17   &lt;div class=&quot;PageBody pbChrome&quot; style=&quot;border-radius: 0px 0px 0px 0px ;-moz-border-radius: 0px 0px 0px 0px ;-webkit-border-radius: 0px 0px 0px 0px ;background: -moz-linear-gradient(top, rgba(192,192,192,1.0), rgba(192,192,192,1.0));background: -webkit-gradient(linear, center center, center center, from(rgba(192,192,192,1.0)),to(rgba(192,192,192,1.0)));background: linear-gradient(rgba(192,192,192,1.0), rgba(192,192,192,1.0));background-color:#c0c0c0;&quot;&gt;
    18      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_2_1000005683&quot; arid=&quot;1000005683&quot; artype=&quot;Control&quot; ardbn=&quot;z3Btn Function Print Preview&quot; artcolor=&quot;#&quot; class=&quot;btn btn3d  btnd arfid1000005683 ardbnz3BtnFunctionPrintPreview&quot; style=&quot;top:5px; left:149px; width:50px; height:21px;color:#;z-index:999;&quot; arwindowid=&quot;2&quot;&gt;
    19         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:50px; height:21px;&quot;&gt;
    20            &lt;div class=&quot;f1&quot; style=&quot;;width:50px&quot;&gt;Print&lt;/div&gt;
    21         &lt;/div&gt;
    22      &lt;/a&gt;
    23      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_2_1002&quot; arid=&quot;1002&quot; artype=&quot;Control&quot; ardbn=&quot;Query&quot; artcolor=&quot;null&quot; class=&quot;btn btn3d arfid1002 ardbnQuery&quot; style=&quot;top: 5px; left: 10px; width: 50px; height: 21px; visibility: inherit; z-index: 997;&quot; arwindowid=&quot;2&quot;&gt;
    24         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:50px; height:21px;&quot;&gt;
    25            &lt;div class=&quot;f1&quot; style=&quot;;width:50px&quot;&gt;Search&lt;/div&gt;
    26         &lt;/div&gt;
    27      &lt;/a&gt;
    28      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_2_303060100&quot; arid=&quot;303060100&quot; artype=&quot;Control&quot; ardbn=&quot;z3Btn_NextStage&quot; artcolor=&quot;null&quot; class=&quot;btn btn3d arfid303060100 ardbnz3Btn_NextStage&quot; style=&quot;top:5px; left:64px; width:82px; height:21px;z-index:998;&quot; arwindowid=&quot;2&quot;&gt;
    29         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:82px; height:21px;&quot;&gt;
    30            &lt;div class=&quot;f7&quot; style=&quot;;width:82px&quot;&gt;Next Stage&lt;/div&gt;
    31         &lt;/div&gt;
    32      &lt;/a&gt;
    33   &lt;/div&gt;
    34&lt;/fieldset&gt;
    35WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CSS_SELECTOR, &quot;a#WIN_3_1002 &gt; div.btntextdiv &gt; div.f1&quot;))).click()
    36WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CSS_SELECTOR, &quot;a.btn.btn3d.ardbnQuery[artype='Control'][ardbn='Query']&quot;))).click()
    37
  • Note: You have to add the following imports :

  • 1try:
    2    driver.find_element(By.CSS_SELECTOR, '#WIN_3_1002 &gt; div:nth-child(1)').click()
    3except Exception as e:
    4    print(e)
    5&lt;fieldset class=&quot;PageBodyHorizontal&quot; arbwidth=&quot;0&quot; arbw=&quot;0,0,0,0&quot; aropacity=&quot;1.0&quot; arcolor=&quot;c0c0c0&quot; arbcolor=&quot;#c0c0c0&quot; style=&quot;width: 970px;&quot;&gt;
    6   &lt;legend class=&quot;hidden acc&quot;&gt;Form Control Right Panel&lt;/legend&gt;
    7   &lt;div class=&quot;PageBody pbChrome&quot; style=&quot;border-radius: 0px 0px 0px 0px ;-moz-border-radius: 0px 0px 0px 0px ;-webkit-border-radius: 0px 0px 0px 0px ;background: -moz-linear-gradient(top, rgba(192,192,192,1.0), rgba(192,192,192,1.0));background: -webkit-gradient(linear, center center, center center, from(rgba(192,192,192,1.0)),to(rgba(192,192,192,1.0)));background: linear-gradient(rgba(192,192,192,1.0), rgba(192,192,192,1.0));background-color:#c0c0c0;&quot;&gt;
    8      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_3_1002&quot; arid=&quot;1002&quot; artype=&quot;Control&quot; ardbn=&quot;Query&quot; artcolor=&quot;null&quot; class=&quot;btn btn3d arfid1002 ardbnQuery&quot; style=&quot;top: 5px; left: 10px; width: 50px; height: 21px; visibility: inherit; z-index: 997;&quot; arwindowid=&quot;3&quot;&gt;
    9         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:50px; height:21px;&quot;&gt;
    10            &lt;div class=&quot;f1&quot; style=&quot;;width:50px&quot;&gt;Search&lt;/div&gt;
    11         &lt;/div&gt;
    12      &lt;/a&gt;
    13   &lt;/div&gt;
    14&lt;/fieldset&gt;
    15&lt;fieldset class=&quot;PageBodyHorizontal&quot; arbwidth=&quot;0&quot; arbw=&quot;0,0,0,0&quot; aropacity=&quot;1.0&quot; arcolor=&quot;c0c0c0&quot; arbcolor=&quot;#c0c0c0&quot; style=&quot;width: 1654px;&quot;&gt;
    16   &lt;legend class=&quot;hidden acc&quot;&gt;Panel2&lt;/legend&gt;
    17   &lt;div class=&quot;PageBody pbChrome&quot; style=&quot;border-radius: 0px 0px 0px 0px ;-moz-border-radius: 0px 0px 0px 0px ;-webkit-border-radius: 0px 0px 0px 0px ;background: -moz-linear-gradient(top, rgba(192,192,192,1.0), rgba(192,192,192,1.0));background: -webkit-gradient(linear, center center, center center, from(rgba(192,192,192,1.0)),to(rgba(192,192,192,1.0)));background: linear-gradient(rgba(192,192,192,1.0), rgba(192,192,192,1.0));background-color:#c0c0c0;&quot;&gt;
    18      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_2_1000005683&quot; arid=&quot;1000005683&quot; artype=&quot;Control&quot; ardbn=&quot;z3Btn Function Print Preview&quot; artcolor=&quot;#&quot; class=&quot;btn btn3d  btnd arfid1000005683 ardbnz3BtnFunctionPrintPreview&quot; style=&quot;top:5px; left:149px; width:50px; height:21px;color:#;z-index:999;&quot; arwindowid=&quot;2&quot;&gt;
    19         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:50px; height:21px;&quot;&gt;
    20            &lt;div class=&quot;f1&quot; style=&quot;;width:50px&quot;&gt;Print&lt;/div&gt;
    21         &lt;/div&gt;
    22      &lt;/a&gt;
    23      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_2_1002&quot; arid=&quot;1002&quot; artype=&quot;Control&quot; ardbn=&quot;Query&quot; artcolor=&quot;null&quot; class=&quot;btn btn3d arfid1002 ardbnQuery&quot; style=&quot;top: 5px; left: 10px; width: 50px; height: 21px; visibility: inherit; z-index: 997;&quot; arwindowid=&quot;2&quot;&gt;
    24         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:50px; height:21px;&quot;&gt;
    25            &lt;div class=&quot;f1&quot; style=&quot;;width:50px&quot;&gt;Search&lt;/div&gt;
    26         &lt;/div&gt;
    27      &lt;/a&gt;
    28      &lt;a href=&quot;javascript:&quot; id=&quot;WIN_2_303060100&quot; arid=&quot;303060100&quot; artype=&quot;Control&quot; ardbn=&quot;z3Btn_NextStage&quot; artcolor=&quot;null&quot; class=&quot;btn btn3d arfid303060100 ardbnz3Btn_NextStage&quot; style=&quot;top:5px; left:64px; width:82px; height:21px;z-index:998;&quot; arwindowid=&quot;2&quot;&gt;
    29         &lt;div class=&quot;btntextdiv&quot; style=&quot;top:0px; left:0px; width:82px; height:21px;&quot;&gt;
    30            &lt;div class=&quot;f7&quot; style=&quot;;width:82px&quot;&gt;Next Stage&lt;/div&gt;
    31         &lt;/div&gt;
    32      &lt;/a&gt;
    33   &lt;/div&gt;
    34&lt;/fieldset&gt;
    35WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CSS_SELECTOR, &quot;a#WIN_3_1002 &gt; div.btntextdiv &gt; div.f1&quot;))).click()
    36WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CSS_SELECTOR, &quot;a.btn.btn3d.ardbnQuery[artype='Control'][ardbn='Query']&quot;))).click()
    37from selenium.webdriver.support.ui import WebDriverWait
    38from selenium.webdriver.common.by import By
    39from selenium.webdriver.support import expected_conditions as EC
    40

    Source https://stackoverflow.com/questions/66248943

    QUESTION

    Failed to install Automation Anywhere Bot Agent

    Asked 2020-Jul-16 at 04:25

    I am new to Robotic Process Automation (RPA) and I have just started learning Automation Anywhere tool. When I tried to install the Bot Agent I got this error: "Automation Anywhere Bot Agent service install configuration fail to register and return error (5).".

    Does anyone know how to fix this issue or how to investigate the root cause of it on Windows 10?

    ANSWER

    Answered 2020-Jul-16 at 04:25

    Same error face to me. This works for me well. Try this.

    -> The Bot agent was installed initially and then uninstalled. Uninstalling the Registered Device did not happen correctly and even after removing all the related AA folders from all possible paths from the system, the above error occurred while trying to install the Bot Agent.

    -> Solution :

    i).I figured out that the Automation Anywhere Bot Agent was listed in “Services” app of windows and the corresponding “path to execute” was stamped was wrong. Hence whenever I tried to re-install it, the above error occurred.

    ii). Deleted the Automation Anywhere Bot Agent from the “Regedit.exe” (Registry Editor)

    iii). Since it was an automatic task in “Services” app of windows, it got removed from Registry Editor but was still listed in Services app with a description of “error (2)”

    iv).Opened cmd prompt as Administrator -> navigated to C:\Windows\system32\

    v). Executed: sc delete “Automation Anywhere Bot Agent”

    ( sc delete "service name which you want to delete" )

    vi).Restarted the system and verified on Services app. The Agent was no longer listed.

    vii).Re-installed the Agent.

    Source https://stackoverflow.com/questions/62927339

    Community Discussions contain sources that include Stack Exchange Network

    Tutorials and Learning Resources in Robotic Process Automation

    Tutorials and Learning Resources are not available at this moment for Robotic Process Automation

    Share this Page

    share link

    Get latest updates on Robotic Process Automation