Congratulations!

[Valid Atom 1.0] This is a valid Atom 1.0 feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://stackoverflow.com/feeds/tag?tagnames=robotframework&sort=newest

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <feed xmlns="http://www.w3.org/2005/Atom" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:re="http://purl.org/atompub/rank/1.0">
  3.    <title type="text">Newest questions tagged robotframework - Stack Overflow</title>
  4.    <link rel="self" href="https://stackoverflow.com/feeds/tag?tagnames=robotframework&amp;sort=newest" type="application/atom+xml" />
  5.    <link rel="alternate" href="https://stackoverflow.com/questions/tagged/?tagnames=robotframework&amp;sort=newest" type="text/html" />
  6.    <subtitle>most recent 30 from stackoverflow.com</subtitle>
  7.    <updated>2024-04-18T14:11:47Z</updated>
  8.    <id>https://stackoverflow.com/feeds/tag?tagnames=robotframework&amp;sort=newest</id>
  9.    <creativeCommons:license>https://creativecommons.org/licenses/by-sa/4.0/rdf</creativeCommons:license>
  10.    <entry>
  11.        <id>https://stackoverflow.com/q/78333730</id>
  12.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  13.        <title type="text">Right format of the element path</title>
  14.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  15.        <author>
  16.            <name>akoel</name>
  17.            <uri>https://stackoverflow.com/users/1333565</uri>
  18.        </author>
  19.        <link rel="alternate" href="https://stackoverflow.com/questions/78333730/right-format-of-the-element-path" />
  20.        <published>2024-04-16T10:07:35Z</published>
  21.        <updated>2024-04-17T06:21:20Z</updated>
  22.        <summary type="html">
  23.            &lt;p&gt;I&#x27;d like to know what is the right (official) way to use element path in Robot Framework.&#xA;According to the doc:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Mr4fA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Mr4fA.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Let&#x27;s say I want to use xpath. If I understand the right way to use it in a KW for example:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Wait Until Page Contains Element    locator=xpath://*[@id=&amp;quot;post-message-container&amp;quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;But in many cases, googling it, I found this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Wait Until Page Contains Element    xpath=//*[@id=&amp;quot;post-message-container&amp;quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Surprisingly both work, but I don&#x27;t think the second one should.&#xA;Could you help me to solve this confusion?&lt;/p&gt;&#xA;
  24.        </summary>
  25.    </entry>
  26.    <entry>
  27.        <id>https://stackoverflow.com/q/78329138</id>
  28.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  29.        <title type="text">Running a Python script in Robot Framework and waiting for it to complete</title>
  30.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  31.        <author>
  32.            <name>Mauro 101</name>
  33.            <uri>https://stackoverflow.com/users/24359468</uri>
  34.        </author>
  35.        <link rel="alternate" href="https://stackoverflow.com/questions/78329138/running-a-python-script-in-robot-framework-and-waiting-for-it-to-complete" />
  36.        <published>2024-04-15T14:33:18Z</published>
  37.        <updated>2024-04-16T07:29:07Z</updated>
  38.        <summary type="html">
  39.            &lt;p&gt;In my Robot Framework test, I am running a Python script that creates test data.&#xA;To start the script there are 2 options:&#xA;in PowerShell I can type:&#xA;&lt;code&gt;python testdatascript.py ABC TEST&lt;/code&gt;&#xA;or&#xA;&lt;code&gt;python testdatascript.py&lt;/code&gt; -&amp;gt; the script runs and ask for input -&amp;gt; &lt;code&gt;ABC&lt;/code&gt; -&amp;gt; next input &lt;code&gt;TEST&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Where &amp;quot;ABC&amp;quot; = sourceDB, and &amp;quot;TEST&amp;quot; = environment&lt;/p&gt;&#xA;&lt;p&gt;I think current code I have is not &#x27;waiting&#x27; to finish the generation, as when I manually run it in PowerShell it can take 20secs - 1min for all test data to be generated before completing the script. While in Robot Framework it finishes in 1-2 seconds (without making the files with testdata)&lt;/p&gt;&#xA;&lt;p&gt;The Python script is working fine and works flawless when using manually.&lt;/p&gt;&#xA;&lt;p&gt;Currently I have this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;${RESULT}= Run Process   Python   c:/path/testdatascript.py   ABC TEST   shell=yes   stdout=stdout.txt &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;it currently gives back &lt;code&gt;&amp;lt;result object with rc 0&amp;gt;&lt;/code&gt; (which is 0 errors if I am correct) But does not create the testdata.&lt;/p&gt;&#xA;&lt;p&gt;If the script runs successfully, it will print: &lt;code&gt;successfully created the testdata&lt;/code&gt; If it fails it will print  an error code.&#xA;I started looking into &lt;code&gt;Start Process&lt;/code&gt; , but I&#x27;m not experienced enough in Robot framework to know how that would work.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Perfect solution&lt;/strong&gt; would be if the Run/Start Process kicks of the .py script and checks if the Successfull line is shown before continuing the test.&lt;/p&gt;&#xA;
  40.        </summary>
  41.    </entry>
  42.    <entry>
  43.        <id>https://stackoverflow.com/q/78328798</id>
  44.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  45.        <title type="text">Robot Framework Database Library calling Oracle store procedure fails with character to number conversion error</title>
  46.            <category scheme="https://stackoverflow.com/tags" term="python" />
  47.            <category scheme="https://stackoverflow.com/tags" term="oracle" />
  48.            <category scheme="https://stackoverflow.com/tags" term="plsql" />
  49.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  50.        <author>
  51.            <name>BernardV</name>
  52.            <uri>https://stackoverflow.com/users/3324415</uri>
  53.        </author>
  54.        <link rel="alternate" href="https://stackoverflow.com/questions/78328798/robot-framework-database-library-calling-oracle-store-procedure-fails-with-chara" />
  55.        <published>2024-04-15T13:36:10Z</published>
  56.        <updated>2024-04-17T11:14:05Z</updated>
  57.        <summary type="html">
  58.            &lt;p&gt;I have an &lt;code&gt;Oracle PL/SQL&lt;/code&gt; procedure that I can directly call as follows without problem:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;BEGIN example_package_name.example_procedure(p_item_no =&amp;gt; 123456, p_send_now =&amp;gt; true); END;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;(Note: &lt;code&gt;p_item_no&lt;/code&gt; expects a &lt;code&gt;NUMBER&lt;/code&gt; and &lt;code&gt;p_send_now&lt;/code&gt; expects a &lt;code&gt;BOOLEAN&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;p&gt;I am attempting to run this from within my &lt;code&gt;Robot Framework&lt;/code&gt; test automation framework as shown below.&lt;/p&gt;&#xA;&lt;p&gt;First I have a small helper wrapper method for &lt;code&gt;robotframework-databaselibrary&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Execute SQL Store Procedure&#xA;  [Arguments]&#xA;  ...  ${target_database}&#xA;  ...  ${target_store_procedure}&#xA;  ...  ${store_procedure_arguments}&#xA;  ...  ${timeout}=5 minutes&#xA;  [Documentation]  Small wrapper around DatabaseLibrary for the: Call Stored Procedure keyword.&#xA;  [Timeout]  ${timeout}&#xA;&#xA;  __Open connection to target database  ${target_database}&#xA;  DatabaseLibrary.Set Auto Commit  autoCommit=${True}&#xA;  DatabaseLibrary.Call Stored Procedure  ${target_store_procedure}  ${store_procedure_arguments}&#xA;&#xA;  Close connection from the current database&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Next from my test I am attempting something as follows:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;${item_no_int}=  Convert To Integer  ${test_item_dictionary.item_no}&#xA;${example_procedure_argument_list}=  Create List  p_item_no =&amp;gt; ${item_no_int}  p_send_now =&amp;gt; ${True}&#xA;Execute SQL Store Procedure  target_database=test_db_name  target_store_procedure=example_package_name.example_procedure  store_procedure_arguments=${example_procedure_argument_list}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;My error reads:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;[info (&#x2B;0.10s)] Executing : Call Stored Procedure  |  example_package_name.example_procedure  | [&#x27;p_item_no =&amp;gt; 123456&#x27;, &#x27;p_send_now =&amp;gt; True&#x27;]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;[FAIL] DatabaseError:ORA-06502: PL/SQL: numeric or value error: character to number conversion error ORA-06512: at line 1 Help: &lt;a href=&quot;https://docs.oracle.com/error-help/db/ora-06502/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.oracle.com/error-help/db/ora-06502/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Naturally I have been trying to ensure that my data is of the correct type when leaving Robot Framework, when reading the documentation on the Robot Framework: &lt;code&gt;DatabaseLibrary.Call Stored Procedure&lt;/code&gt; keyword, I see:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;def call_stored_procedure(&#xA;    self, spName: str, spParams: Optional[List[str]] = None, sansTran: bool = False, alias: Optional[str] = None&#xA;):&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;With description:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Calls a stored procedure &lt;code&gt;spName&lt;/code&gt; with the &lt;code&gt;spParams&lt;/code&gt; - a &lt;em&gt;list&lt;/em&gt; of&#xA;parameters the procedure requires.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Is it be possible that the Keyword &lt;code&gt;DatabaseLibrary.Call Stored Procedure&lt;/code&gt; / &lt;code&gt;spParams: Optional[List[str]]&lt;/code&gt; does not end up preserving one&#x27;s intended data types? Or is something else perhaps missing on my part?&lt;/p&gt;&#xA;&lt;p&gt;I am running:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;robotframework&amp;gt;=7.0.0&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;robotframework-databaselibrary&amp;gt;=1.4.3&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;oracledb&amp;gt;=2.1.0&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;
  59.        </summary>
  60.    </entry>
  61.    <entry>
  62.        <id>https://stackoverflow.com/q/78326593</id>
  63.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  64.        <title type="text">Keyword name cannot be empty after post request with expected_status in robotframework</title>
  65.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  66.            <category scheme="https://stackoverflow.com/tags" term="web-api-testing" />
  67.        <author>
  68.            <name>marysh</name>
  69.            <uri>https://stackoverflow.com/users/13665269</uri>
  70.        </author>
  71.        <link rel="alternate" href="https://stackoverflow.com/questions/78326593/keyword-name-cannot-be-empty-after-post-request-with-expected-status-in-robotfra" />
  72.        <published>2024-04-15T07:03:47Z</published>
  73.        <updated>2024-04-15T07:44:34Z</updated>
  74.        <summary type="html">
  75.            &lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nv7mU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;I&#x27;m going create Negative Test with post request by expected_status,but I confront Keyword name cannot be empty message.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;InvalidPassword Test&#xA;    [Tags]    InvalidPassword&#xA;    Create Session    InvalidPassword     ${url_api}/${end_point_login}    &#xA;    Log To Console    ${url_api}/${end_point_login}&#xA;    ${body}=    Create Dictionary    mobile=*****     password=******        key=1&#xA;    ${header}=    Create Dictionary           Accept=application/Json&#xA;    ${response}=    POST On Session    InvalidPassword    ${url_api}/${end_point_login}    data=${body}    expected_status=422 &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7gmZr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;&lt;/p&gt;&#xA;
  76.        </summary>
  77.    </entry>
  78.    <entry>
  79.        <id>https://stackoverflow.com/q/78312313</id>
  80.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  81.        <title type="text">How to find valid locator for images using Selenium?</title>
  82.            <category scheme="https://stackoverflow.com/tags" term="css" />
  83.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  84.        <author>
  85.            <name>msb</name>
  86.            <uri>https://stackoverflow.com/users/24245028</uri>
  87.        </author>
  88.        <link rel="alternate" href="https://stackoverflow.com/questions/78312313/how-to-find-valid-locator-for-images-using-selenium" />
  89.        <published>2024-04-11T18:11:06Z</published>
  90.        <updated>2024-04-12T12:23:58Z</updated>
  91.        <summary type="html">
  92.            &lt;p&gt;I am trying to write a simple code to go to &lt;a href=&quot;https://rpachallenge.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;rpachallenge.com&lt;/a&gt;, switch to the Movie Search Tab, search for a movie, then download the three resulting movies&#x27; title card image, title, and description to a JSON file. So far I&#x27;m able to do everything up to and including searching, but I&#x27;m unable to find a unique valid locator for the title cards.&lt;/p&gt;&#xA;&lt;p&gt;When I inspect the page, each of the three resulting movies has code like the following:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div _ngcontent-c3 class=&amp;quot;cardItem&amp;quot;&amp;gt;&#xA;    &amp;lt;div _ngcontent-3 class=&amp;quot;col s4 &amp;quot;&amp;gt;&#xA;        &amp;lt;!--bindings={&amp;quot;ng-reflect-ng-if&amp;quot;:&amp;quot;/d5NXSklXo0qyIYkgV94XAgMIckC.j&amp;quot;}--&amp;gt;&#xA;        &amp;lt;div _ngcontent-c3 class=&amp;quot;card col s12&amp;quot;&amp;gt; =&#xA;            &amp;lt;div _ngcontent-c3 class=&amp;quot;card-image&amp;quot;&amp;gt;&#xA;                &amp;lt;img _ngcontent-c3 src=&#x200B;&amp;quot;http:&#x200B;/&#x200B;/&#x200B;image.tmdb.org/&#x200B;t/&#x200B;p/&#x200B;w500//d5NXSklXo0qyIYkgV94XAgMIckC.jpg&amp;quot;&amp;gt;&#x200B;&#xA;                    &amp;lt;!--bindings={ &amp;quot;ng-reflect-ng-if&amp;quot;: &amp;quot;true&amp;quot; &amp;gt;--&amp;gt;&#xA;                ...&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;div _ngcontent-c3 class=&amp;quot;card-content&amp;quot;&amp;gt;&#xA;                &amp;lt;span _ngcontent-c3 class=&amp;quot;card-title activator&amp;quot;&amp;gt;Dune &amp;lt;/span&amp;gt; =&#xA;                ...&#xA;                &amp;lt;p _ngcontent-c3&amp;gt; Paul Atreides, a brilliant and gifted young man born into a great dest...&amp;lt;/p&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;where all of the code is the same except (d5NXSklXo0qyIYkgV94XAgMIckC.j), the image source (http:&#x200B;/&#x200B;/&#x200B;image.tmdb.org/&#x200B;t/&#x200B;p/&#x200B;w500//d5NXSklXo0qyIYkgV94XAgMIckC.jpg), movie title (Dune), and shortened movie description (Paul Atreides, a brilliant...).&lt;/p&gt;&#xA;&lt;p&gt;When I try locating the image using its class=&amp;quot;card-image&amp;quot;, I get the error&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;WebDriverException: ... {&amp;quot;code&amp;quot;:-32000,&amp;quot;message&amp;quot;:&amp;quot;Cannot take screenshot with 0 height.&amp;quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;After looking into it, I see that I get this error because multiple elements are tagged this way. However, I cannot find a unique locator for the title card image or any of the other elements I am looking for, as all three of the movies that show up look like they have the same code.&lt;/p&gt;&#xA;&lt;p&gt;I think this should be doable with keywords from the Selenium Library but I am brand new to this and couldn&#x27;t find what I needed. Here is my code, including some things that I have tried and commented out. As you can see I have no idea what I&#x27;m doing... Any help would be much appreciated.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;*** Settings ***&#xA;Documentation     Searches for given movie on RPA Challenge site &#xA;...               and saves resulting data in JSON.&#xA;&#xA;Library           OperatingSystem&#xA;Library           RPA.Browser.Selenium&#xA;&#xA;Suite Teardown    Close All Browsers&#xA;&#xA;&#xA;*** Variables ***&#xA;${RPA_Challenge_URL}     https://rpachallenge.com&#xA;${img_URL}     http://image.tmdb.org&#xA;${movie}     Dune&#xA;&#xA;&#xA;*** Keywords ***&#xA;Open RPA Challenge Page&#xA;    ${use_chrome} =     Get Environment Variable     USE_CHROME     ${EMPTY}&#xA;    IF    &amp;quot;${use_chrome}&amp;quot; != &amp;quot;&amp;quot;&#xA;        Open Available Browser    ${RPA_Challenge_URL}    browser_selection=Chrome&#xA;        ...    download=${True}  # forces Chrome and matching webdriver download&#xA;    ELSE&#xA;        Open Available Browser    ${RPA_Challenge_URL}  # opens any available browser&#xA;    END   &#xA;&#xA;Switch to Movie Search Tab&#xA;    Click Link     xpath://a[text()=&#x27;Movie Search&#x27;]&#xA;&#xA;Search for Given Movie&#xA;    Input Text     name:searchStr     ${movie}&#xA;    Press Keys    name:searchStr    ENTER&#xA;    Wait Until Page Contains Element     css:div[class=&#x27;card-image&#x27;]&#xA;&#xA;# WebDriverException: ... {&amp;quot;code&amp;quot;:-32000,&amp;quot;message&amp;quot;:&amp;quot;Cannot take screenshot with 0 height.&amp;quot;}&#xA;Save Movie Card Image&#xA;    # Assign ID to Element  //ul[@class=&#x27;card-image&#x27; and ./li[contains(., &#x27;_ngcontent-c3&#x27;)]]    movie_cover&#xA;    Capture Element Screenshot     css:div[class=&#x27;card-image&#x27;]&#xA;    # Capture Element Screenshot     xpath://a[contains(text(), &#x27;image.tmdb.org&#x27;.)]&#xA;    # Capture Element Screenshot     xpath://a[tag:img]&#xA;    # Capture Element Screenshot     css:div[class=&#x27;card-image&#x27; and contains(text(), &#x27;image&#x27;)]    # invalid&#xA;&#xA;# Element with locator &#x27;css:div[class=&#x27;card-title-activator&#x27;]&#x27; not found.&#xA;Save Movie Title&#xA;    Capture Element Screenshot     css:div[class=&#x27;card-title-activator&#x27;]&#xA;&#xA;# Return JSON&#xA;    # print(driver.find_element_by_xpath(&amp;quot;//div[@id=&#x27;json&#x27;]&amp;quot;).text)&#xA;    # Does the above need to go in a .py file?&#xA;&#xA;*** Tasks ***&#xA;Return movie information from RPA Challenge site&#xA;    TRY&#xA;        Open RPA Challenge Page&#xA;        Switch to Movie Search Tab&#xA;        Search for Given Movie&#xA;        # Save Movie Title&#xA;        Save Movie Card Image&#xA;    EXCEPT&#xA;        ${err_ss} =    Set Variable    ${OUTPUT_DIR}${/}error.png&#xA;        Capture Page Screenshot     ${err_ss}&#xA;        Fail    Checkout the screenshot: ${err_ss}&#xA;    END&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;
  93.        </summary>
  94.    </entry>
  95.    <entry>
  96.        <id>https://stackoverflow.com/q/78310223</id>
  97.        <re:rank scheme="https://stackoverflow.com">-1</re:rank>
  98.        <title type="text">ModuleNotFoundError: No module named &#x27;appium.webdriver.common.touch_action&#x27;</title>
  99.            <category scheme="https://stackoverflow.com/tags" term="python" />
  100.            <category scheme="https://stackoverflow.com/tags" term="macos" />
  101.            <category scheme="https://stackoverflow.com/tags" term="appium" />
  102.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  103.        <author>
  104.            <name>Annsh</name>
  105.            <uri>https://stackoverflow.com/users/17274386</uri>
  106.        </author>
  107.        <link rel="alternate" href="https://stackoverflow.com/questions/78310223/modulenotfounderror-no-module-named-appium-webdriver-common-touch-action" />
  108.        <published>2024-04-11T12:06:42Z</published>
  109.        <updated>2024-04-16T07:23:41Z</updated>
  110.        <summary type="html">
  111.            &lt;p&gt;I am currently doing a new setup as I switched over to mac. I am trying to set up Python, Robotframework and appium in this device. I believe, I have installed everything thats needed and specified the path in .bash_profile. However, when I run any test I get the below error:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;[ ERROR ] Error in file &#x27;/Users/shettya/nemo-qs/Nemo/GlobalParameters/GlobalKeywords/ErwinLoginAndSelectRoll.robot&#x27; on line 2: Importing library &#x27;AppiumLibrary&#x27; failed: ModuleNotFoundError: No module named &#x27;appium.webdriver.common.touch_action&#x27;&#xA;&#xA;Traceback (most recent call last):&#xA;  File &amp;quot;/opt/homebrew/anaconda3/lib/python3.11/site-packages/AppiumLibrary/__init__.py&amp;quot;, line 4, in &amp;lt;module&amp;gt;&#xA;    from AppiumLibrary.keywords import *&#xA;   File &amp;quot;/opt/homebrew/anaconda3/lib/python3.11/site-packages/AppiumLibrary/keywords/__init__.py&amp;quot;, line 9, in &amp;lt;module&amp;gt;&#xA;    from ._touch import _TouchKeywords&#xA;    File &amp;quot;/opt/homebrew/anaconda3/lib/python3.11/site-packages/AppiumLibrary/keywords/_touch.py&amp;quot;, line 3, in &amp;lt;module&amp;gt;&#xA;    from appium.webdriver.common.touch_action import TouchAction&#xA;&#xA;&#xA;PYTHONPATH:&#xA;  /Users/shettya/nemo-qs/lib&#xA;  /Users/shettya/nemo-qs/resources&#xA;  /Users/shettya/.vscode/extensions/d-biehl.robotcode-0.78.4/bundled/libs&#xA;  /Users/shettya/.vscode/extensions/d-biehl.robotcode-0.78.4/bundled/tool/robotcode&#xA;  /opt/homebrew/anaconda3/lib/python311.zip&#xA;  /opt/homebrew/anaconda3/lib/python3.11&#xA;  /opt/homebrew/anaconda3/lib/python3.11/lib-dynload&#xA;  /opt/homebrew/anaconda3/lib/python3.11/site-packages&#xA;  /opt/homebrew/anaconda3/lib/python3.11/site-packages/aeosa&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Here are all the installations when I pip3 list:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Package                         Version&#xA;------------------------------- -----------&#xA;Appium-Python-Client            4.0.0&#xA;attrs                           23.2.0&#xA;certifi                         2024.2.2&#xA;cffi                            1.16.0&#xA;charset-normalizer              3.3.2&#xA;click                           8.1.7&#xA;cryptography                    42.0.5&#xA;decorator                       5.1.1&#xA;docutils                        0.21&#xA;grpcio                          1.62.1&#xA;grpcio-tools                    1.62.1&#xA;h11                             0.14.0&#xA;idna                            3.6&#xA;kitchen                         1.2.6&#xA;numpy                           1.26.4&#xA;opencv-python                   4.9.0.80&#xA;outcome                         1.3.0.post0&#xA;overrides                       7.7.0&#xA;packaging                       24.0&#xA;pillow                          10.2.0&#xA;pip                             24.0&#xA;protobuf                        4.25.3&#xA;pycparser                       2.22&#xA;PySocks                         1.7.1&#xA;pytesseract                     0.3.10&#xA;requests                        2.31.0&#xA;robotframework                  7.0&#xA;robotframework-appiumlibrary    2.0.0&#xA;robotframework-archivelibrary   0.4.2&#xA;robotframework-assertion-engine 3.0.3&#xA;robotframework-browser          18.3.0&#xA;robotframework-pythonlibcore    4.4.1&#xA;robotframework-requests         0.9.7&#xA;robotframework-seleniumlibrary  6.2.0&#xA;selenium                        4.19.0&#xA;setuptools                      69.2.0&#xA;six                             1.16.0&#xA;sniffio                         1.3.1&#xA;sortedcontainers                2.4.0&#xA;trio                            0.25.0&#xA;trio-websocket                  0.11.1&#xA;typing_extensions               4.11.0&#xA;urllib3                         1.26.6&#xA;wheel                           0.43.0&#xA;wrapt                           1.16.0&#xA;wsproto                         1.2.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Also, .bash_profile contains contains python and RF installations:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;export PATH=&amp;quot;/opt/homebrew/anaconda3/bin:export:$PATH&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;These installations worked fine on Windows.&lt;/p&gt;&#xA;&lt;p&gt;Please advice, what am I doing wrong and how can I fix this?&lt;/p&gt;&#xA;&lt;p&gt;Thank you very much.&lt;/p&gt;&#xA;
  112.        </summary>
  113.    </entry>
  114.    <entry>
  115.        <id>https://stackoverflow.com/q/78298458</id>
  116.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  117.        <title type="text">How to pass cookie to get request Robot framework with API (RequestsLibrary)</title>
  118.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  119.            <category scheme="https://stackoverflow.com/tags" term="session-cookies" />
  120.            <category scheme="https://stackoverflow.com/tags" term="web-api-testing" />
  121.        <author>
  122.            <name>marysh</name>
  123.            <uri>https://stackoverflow.com/users/13665269</uri>
  124.        </author>
  125.        <link rel="alternate" href="https://stackoverflow.com/questions/78298458/how-to-pass-cookie-to-get-request-robot-framework-with-api-requestslibrary" />
  126.        <published>2024-04-09T12:31:53Z</published>
  127.        <updated>2024-04-09T21:36:27Z</updated>
  128.        <summary type="html">
  129.            &lt;p&gt;I want to use the cookie, received from the session in which I do &lt;code&gt;POST&lt;/code&gt; request, in the next session with &lt;code&gt;GET&lt;/code&gt; request, but I have problem.&lt;/p&gt;&#xA;&lt;p&gt;Here is my keyword:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;MY_Profile&#xA;    Log To Console    HEADER&#xA;    Log To Console    COOKIE&#xA;    Create Session    mySession         ${api_auth}    ${cookie}&#xA;    ${response}=      GET On Session    mySession      ${api_auth}&#xA;    Log To Console    ${response.status_code}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This is the error I received:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;${cookie} is Unknown in this session&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;
  130.        </summary>
  131.    </entry>
  132.    <entry>
  133.        <id>https://stackoverflow.com/q/78291118</id>
  134.        <re:rank scheme="https://stackoverflow.com">-1</re:rank>
  135.        <title type="text">I want write a code that &#x27;clicking on a button from a dropdown with robotframwork&#x27;</title>
  136.            <category scheme="https://stackoverflow.com/tags" term="automation" />
  137.            <category scheme="https://stackoverflow.com/tags" term="automated-tests" />
  138.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  139.            <category scheme="https://stackoverflow.com/tags" term="ui-automation" />
  140.        <author>
  141.            <name>Ida beigi</name>
  142.            <uri>https://stackoverflow.com/users/24080823</uri>
  143.        </author>
  144.        <link rel="alternate" href="https://stackoverflow.com/questions/78291118/i-want-write-a-code-that-clicking-on-a-button-from-a-dropdown-with-robotframwor" />
  145.        <published>2024-04-08T08:17:29Z</published>
  146.        <updated>2024-04-08T08:17:29Z</updated>
  147.        <summary type="html">
  148.            &lt;p&gt;the problem is i have a dropdown and i want to click on one of the item , but i write manythings and i just get &#x27;not found&#x27;&lt;/p&gt;&#xA;&lt;p&gt;for dropdown i tried  &#x2018;Select From List By Label&#x2019;&#x2018;Select From List By Value&#x2019; but not working&#xA;these are another way i try and dont get ansewr,also i try with TAB or ENTER  and not working&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eeyIc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;(on picture), Can anyone to help me this?&#xA;also i try with TAB or ENTER  and not working&lt;/p&gt;&#xA;
  149.        </summary>
  150.    </entry>
  151.    <entry>
  152.        <id>https://stackoverflow.com/q/78283301</id>
  153.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  154.        <title type="text">&quot;WebDriverException: The requested resource could not be found while using AppiumLibrary in Robot Framework&quot;</title>
  155.            <category scheme="https://stackoverflow.com/tags" term="android" />
  156.            <category scheme="https://stackoverflow.com/tags" term="windows" />
  157.            <category scheme="https://stackoverflow.com/tags" term="pycharm" />
  158.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  159.            <category scheme="https://stackoverflow.com/tags" term="appium-android" />
  160.        <author>
  161.            <name>Sumayya Shaji</name>
  162.            <uri>https://stackoverflow.com/users/24049005</uri>
  163.        </author>
  164.        <link rel="alternate" href="https://stackoverflow.com/questions/78283301/webdriverexception-the-requested-resource-could-not-be-found-while-using-appiu" />
  165.        <published>2024-04-06T05:09:08Z</published>
  166.        <updated>2024-04-06T05:09:08Z</updated>
  167.        <summary type="html">
  168.            &lt;p&gt;I&#x27;m encountering an issue while using the AppiumLibrary in Robot Framework. When trying to open an application using the Open Application keyword, I&#x27;m getting a WebDriverException with the message &amp;quot;The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource.&amp;quot; Below is the relevant portion of the test log:[&lt;a href=&quot;https://i.stack.imgur.com/6vhyq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;](&lt;a href=&quot;https://i.stack.imgur.com/0MBBd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://i.stack.imgur.com/0MBBd.png&lt;/a&gt;)&#xA;I&#x27;m using AppiumLibrary for Robot Framework to automate testing on Android devices. I&#x27;ve verified that the Appium server is running and that the desired capabilities are correctly configured in my test script.&#xA;here is my test script:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/fayjE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;&#xA;Could anyone provide insights into why this error might be occurring and how to resolve it? Any help would be greatly appreciated. Thank you!&lt;/p&gt;&#xA;
  169.        </summary>
  170.    </entry>
  171.    <entry>
  172.        <id>https://stackoverflow.com/q/78280027</id>
  173.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  174.        <title type="text">How can I force robot framework to stop connecting to the internet to check for browser drivers and use one I have downloaded?</title>
  175.            <category scheme="https://stackoverflow.com/tags" term="python" />
  176.            <category scheme="https://stackoverflow.com/tags" term="selenium-chromedriver" />
  177.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  178.        <author>
  179.            <name>user24031575</name>
  180.            <uri>https://stackoverflow.com/users/24031575</uri>
  181.        </author>
  182.        <link rel="alternate" href="https://stackoverflow.com/questions/78280027/how-can-i-force-robot-framework-to-stop-connecting-to-the-internet-to-check-for" />
  183.        <published>2024-04-05T12:53:19Z</published>
  184.        <updated>2024-04-05T12:53:19Z</updated>
  185.        <summary type="html">
  186.            &lt;p&gt;We are trying to use Robot Framework in a corporate environment where there are multiple firewalls etc blocking internet access for anything other than a Chrome window (even then we have to sign into a website before internet access is allowed). We&#x27;re trying to test websites using Robot Framework but hitting a bump as every time we start the tests, it fails as it cannot find a chrome driver. We&#x27;re limited to what we can do as we cannot change system PATH variables either. What we&#x27;re trying to do is somehow include a chrome driver exe file in our robot framework test files folder somewhere which the resource file can grab and use as the chrome driver. Is this something which is possible? I have tried using OperatingSystem library to set a PATH to the chrome driver exe file but still get the same error saying Selenium Manager cannot find the chrome driver. Thanks!&lt;/p&gt;&#xA;
  187.        </summary>
  188.    </entry>
  189.    <entry>
  190.        <id>https://stackoverflow.com/q/78278900</id>
  191.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  192.        <title type="text">Running 2 robot files parallelly in chrome using robot framework</title>
  193.            <category scheme="https://stackoverflow.com/tags" term="testing" />
  194.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  195.            <category scheme="https://stackoverflow.com/tags" term="automation-testing" />
  196.            <category scheme="https://stackoverflow.com/tags" term="testautomationfx" />
  197.            <category scheme="https://stackoverflow.com/tags" term="robotframework-browser" />
  198.        <author>
  199.            <name>Harman</name>
  200.            <uri>https://stackoverflow.com/users/11344151</uri>
  201.        </author>
  202.        <link rel="alternate" href="https://stackoverflow.com/questions/78278900/running-2-robot-files-parallelly-in-chrome-using-robot-framework" />
  203.        <published>2024-04-05T09:20:23Z</published>
  204.        <updated>2024-04-05T09:20:23Z</updated>
  205.        <summary type="html">
  206.            &lt;p&gt;I have two robot files lets say a.robot and b.robot.&#xA;A.robot files takes around 30 mins to execute and b.robot takes around 1 hour to execute.&#xA;I want to run both of them parallelly, so that both of these files are executed in 1 hour.&lt;/p&gt;&#xA;&lt;p&gt;So far, Whatever I have tried using is not working as Robot Framework will launch 2 or multiple chrome instances but execution is taking place in only one of them rest of the chrome instances are just set at homepage with no automation taking place there.&lt;/p&gt;&#xA;&lt;p&gt;This is the error I get:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/o44P3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;Error while trying to run the robot files together&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;For execution I&#x27;m just providing the folder path where both of these files are present and both a.robot and b.robot are present in same folder.&lt;/p&gt;&#xA;
  207.        </summary>
  208.    </entry>
  209.    <entry>
  210.        <id>https://stackoverflow.com/q/78242438</id>
  211.        <re:rank scheme="https://stackoverflow.com">1</re:rank>
  212.        <title type="text">Unresolved library: AppiumLibrary</title>
  213.            <category scheme="https://stackoverflow.com/tags" term="appium" />
  214.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  215.            <category scheme="https://stackoverflow.com/tags" term="python-appium" />
  216.        <author>
  217.            <name>reaksmey chan</name>
  218.            <uri>https://stackoverflow.com/users/23881709</uri>
  219.        </author>
  220.        <link rel="alternate" href="https://stackoverflow.com/questions/78242438/unresolved-library-appiumlibrary" />
  221.        <published>2024-03-29T07:08:27Z</published>
  222.        <updated>2024-04-02T06:30:32Z</updated>
  223.        <summary type="html">
  224.            &lt;p&gt;When generating libspec, I am getting this error:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Importing library &#x27;AppiumLibrary&#x27; failed: ModuleNotFoundError: No module named &#x27;appium.webdriver.common.touch_action&#x27;&#xA;Consider adding the needed paths to the &amp;quot;robot.pythonpath&amp;quot; setting&#xA;and calling the &amp;quot;Robot Framework: Clear caches and restart&amp;quot; action.robotframework&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I have tried a number of solutions with my information such as:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Appium version: 2.0.1&lt;/li&gt;&#xA;&lt;li&gt;Python version: 3.9.6&lt;/li&gt;&#xA;&lt;li&gt;Robotframework version: 7.0&lt;/li&gt;&#xA;&lt;li&gt;robotframework-appiumlibrary version: 2.0.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;
  225.        </summary>
  226.    </entry>
  227.    <entry>
  228.        <id>https://stackoverflow.com/q/78237108</id>
  229.        <re:rank scheme="https://stackoverflow.com">-1</re:rank>
  230.        <title type="text">RPA using robotframework in springboot</title>
  231.            <category scheme="https://stackoverflow.com/tags" term="java" />
  232.            <category scheme="https://stackoverflow.com/tags" term="python-3.x" />
  233.            <category scheme="https://stackoverflow.com/tags" term="spring-boot" />
  234.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  235.            <category scheme="https://stackoverflow.com/tags" term="rpa" />
  236.        <author>
  237.            <name>Aditi Dhal</name>
  238.            <uri>https://stackoverflow.com/users/23819613</uri>
  239.        </author>
  240.        <link rel="alternate" href="https://stackoverflow.com/questions/78237108/rpa-using-robotframework-in-springboot" />
  241.        <published>2024-03-28T09:28:28Z</published>
  242.        <updated>2024-04-02T06:30:44Z</updated>
  243.        <summary type="html">
  244.            &lt;p&gt;I have worked on java spring-boot but I don&#x27;t have much knowledge about python so I was trying to have some worked around to make robotframework code trigger from springboot application and control robotframework code from springboot . My robotframework code has to do some simple task like opening a website and doing some clicks and other thing for that it uses python SeleniumLibrary.So it would be a great help if I can get the start of how to use robotframework code from springboot and how will robotframework use selenium library  if I dont have python on my system and other python library installed.Is it even possible to work with robot framework for RPA using springboot??&lt;/p&gt;&#xA;&lt;p&gt;*** Settings ***&#xA;Library    SeleniumLibrary    run_on_failure=NOTHING&#xA;Library    BuiltIn&#xA;Library    Collections&#xA;Test Timeout    10 minutes&lt;/p&gt;&#xA;&lt;p&gt;*** Test Cases ***&#xA;Login Test&#xA;Set Robot Variables From Properties&#xA;${chrome_options}=  Evaluate  sys.modules[&#x27;selenium.webdriver&#x27;].ChromeOptions()  sys, selenium.webdriver&#xA;Call Method    ${chrome_options}    add_argument    --no-sandbox&lt;/p&gt;&#xA;&lt;h1&gt;Call Method    ${chrome_options}    add_argument    --headless&lt;/h1&gt;&#xA;&lt;pre&gt;&lt;code&gt;Call Method    ${chrome_options}    add_argument    --start-maximized&#xA;Set Selenium Timeout    10sec&#xA;Open Browser   https://www.google.com/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I have triggered the above code from python flask but I want to try it with java springboot.And how to do security testing or vulnerability testing of RPA??&lt;/p&gt;&#xA;
  245.        </summary>
  246.    </entry>
  247.    <entry>
  248.        <id>https://stackoverflow.com/q/78234822</id>
  249.        <re:rank scheme="https://stackoverflow.com">-1</re:rank>
  250.        <title type="text">RobotFramework hangs after xx lines of log</title>
  251.            <category scheme="https://stackoverflow.com/tags" term="python" />
  252.            <category scheme="https://stackoverflow.com/tags" term="python-3.x" />
  253.            <category scheme="https://stackoverflow.com/tags" term="logging" />
  254.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  255.        <author>
  256.            <name>LUKISO2</name>
  257.            <uri>https://stackoverflow.com/users/15999194</uri>
  258.        </author>
  259.        <link rel="alternate" href="https://stackoverflow.com/questions/78234822/robotframework-hangs-after-xx-lines-of-log" />
  260.        <published>2024-03-27T21:59:05Z</published>
  261.        <updated>2024-03-27T21:59:05Z</updated>
  262.        <summary type="html">
  263.            &lt;p&gt;Robot framework keeps hanging on me when I try to execute a simple python script, it stales for no reason at about 30th line of log generated and no matter how long I wait it does not progress.&lt;/p&gt;&#xA;&lt;p&gt;Any suggestions? Thanks.&lt;/p&gt;&#xA;
  264.        </summary>
  265.    </entry>
  266.    <entry>
  267.        <id>https://stackoverflow.com/q/78232032</id>
  268.        <re:rank scheme="https://stackoverflow.com">-1</re:rank>
  269.        <title type="text">Unable to invoke Chrome and other browsers dynamically by giving the values in settings</title>
  270.            <category scheme="https://stackoverflow.com/tags" term="python" />
  271.            <category scheme="https://stackoverflow.com/tags" term="pycharm" />
  272.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  273.        <author>
  274.            <name>Kasuri Thiyumini</name>
  275.            <uri>https://stackoverflow.com/users/23842372</uri>
  276.        </author>
  277.        <link rel="alternate" href="https://stackoverflow.com/questions/78232032/unable-to-invoke-chrome-and-other-browsers-dynamically-by-giving-the-values-in-s" />
  278.        <published>2024-03-27T13:24:38Z</published>
  279.        <updated>2024-03-27T21:57:19Z</updated>
  280.        <summary type="html">
  281.            &lt;p&gt;I was unable to access the Chrome driver, and when I executed the below code, it failed. However even with the Chrome browser, I observed that it opens with an empty Firefox driver. Could anyone please help me ?&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;*** Settings ***&#xA;Documentation    to validate the login form&#xA;Library    SeleniumLibrary&#xA;#Resources&#xA;&#xA;*** Test Cases ***&#xA;Validate unsuccessful Login&#xA;   Open Browser    with the Mortgage payment url&#xA;   #Fill the Login form&#xA;   #Wait Until it checks and display the error message&#xA;   #verify error message is correct&#xA;&#xA;*** Keywords ***&#xA;open the browser with the Mortgage payment url&#xA;&#xA;&#xA;    open the browser with the Mortgage payment url&#xA;    Create Webdriver     Chrome     executable_path=C:\Users\lenovo\PycharmProjects\pythonProject8\test\resources\chromedriver.exe&#xA;    Go To   https://rahulshettyacademy.com/loginpagePractise/&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ryJnq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I want to access the given url from the robot framework.&lt;/p&gt;&#xA;
  282.        </summary>
  283.    </entry>
  284.    <entry>
  285.        <id>https://stackoverflow.com/q/78231133</id>
  286.        <re:rank scheme="https://stackoverflow.com">-1</re:rank>
  287.        <title type="text">how to mention tags in robotframework while writing scripts</title>
  288.            <category scheme="https://stackoverflow.com/tags" term="tags" />
  289.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  290.        <author>
  291.            <name>Arjun</name>
  292.            <uri>https://stackoverflow.com/users/23000033</uri>
  293.        </author>
  294.        <link rel="alternate" href="https://stackoverflow.com/questions/78231133/how-to-mention-tags-in-robotframework-while-writing-scripts" />
  295.        <published>2024-03-27T10:55:11Z</published>
  296.        <updated>2024-03-27T11:14:53Z</updated>
  297.        <summary type="html">
  298.            &lt;p&gt;when we write test cases in the robot framework how to add test cases under the specific tag.&lt;/p&gt;&#xA;&lt;p&gt;I want to know how to use tags in robot framework and how to define it ,how to add specic test cases under specic tag and to execute the particular test cases using tags.&lt;/p&gt;&#xA;
  299.        </summary>
  300.    </entry>
  301.    <entry>
  302.        <id>https://stackoverflow.com/q/78230930</id>
  303.        <re:rank scheme="https://stackoverflow.com">-3</re:rank>
  304.        <title type="text">What is tags in robot framework and how to define it?</title>
  305.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  306.        <author>
  307.            <name>user23544282</name>
  308.            <uri>https://stackoverflow.com/users/23544282</uri>
  309.        </author>
  310.        <link rel="alternate" href="https://stackoverflow.com/questions/78230930/what-is-tags-in-robot-framework-and-how-to-define-it" />
  311.        <published>2024-03-27T10:22:41Z</published>
  312.        <updated>2024-03-27T10:37:15Z</updated>
  313.        <summary type="html">
  314.            &lt;p&gt;what are the tags in the robot framework and how to define it?&lt;/p&gt;&#xA;&lt;p&gt;I want to know about tags in the robot framework and how to define the tags in the robot framework, how to use these tags in the robot framework, why we give this tags for robot framework&lt;/p&gt;&#xA;
  315.        </summary>
  316.    </entry>
  317.    <entry>
  318.        <id>https://stackoverflow.com/q/78230130</id>
  319.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  320.        <title type="text">CreateProcess Error = 5 Access Denied in Robotframework Pycharm</title>
  321.            <category scheme="https://stackoverflow.com/tags" term="python" />
  322.            <category scheme="https://stackoverflow.com/tags" term="pycharm" />
  323.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  324.            <category scheme="https://stackoverflow.com/tags" term="automation-testing" />
  325.        <author>
  326.            <name>Maaz Ahmad</name>
  327.            <uri>https://stackoverflow.com/users/23815541</uri>
  328.        </author>
  329.        <link rel="alternate" href="https://stackoverflow.com/questions/78230130/createprocess-error-5-access-denied-in-robotframework-pycharm" />
  330.        <published>2024-03-27T08:01:26Z</published>
  331.        <updated>2024-03-27T10:17:03Z</updated>
  332.        <summary type="html">
  333.            &lt;p&gt;I am trying to do automation database testing with robotframework in Pycharm. On running the Test Case I am getting this error:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Error running &#x27;run current file&#x27; Cannot run program &amp;quot;C:\Users\Maaz\AppData\Local\Programs\Python\Python312\Scripts&amp;quot; (in directory &amp;quot;C:\Users\Maaz\PycharmProjects\Test_Project&amp;quot;): CreateProcess error=5, Access is denied&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;
  334.        </summary>
  335.    </entry>
  336.    <entry>
  337.        <id>https://stackoverflow.com/q/78225395</id>
  338.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  339.        <title type="text">Error while importing Database Library in robot framework in Pycharm</title>
  340.            <category scheme="https://stackoverflow.com/tags" term="python" />
  341.            <category scheme="https://stackoverflow.com/tags" term="pycharm" />
  342.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  343.        <author>
  344.            <name>Maaz Ahmad</name>
  345.            <uri>https://stackoverflow.com/users/23815541</uri>
  346.        </author>
  347.        <link rel="alternate" href="https://stackoverflow.com/questions/78225395/error-while-importing-database-library-in-robot-framework-in-pycharm" />
  348.        <published>2024-03-26T12:40:00Z</published>
  349.        <updated>2024-03-27T08:52:42Z</updated>
  350.        <summary type="html">
  351.            &lt;p&gt;I am importing DatabaseLibrary in the Robot Framework in Pycharm but it&#x27;s showing Unresolved Module. I have tried all possible reasons from my side but unable to resolve this problem.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Unresolved library: DatabaseLibrary. Error generating libspec: Importing library &#x27;DatabaseLibrary&#x27; failed: ModuleNotFoundError: No module named &#x27;DatabaseLibrary&#x27; Consider adding the needed paths to the &amp;quot;robot.pythonpath&amp;quot; setting and calling the &amp;quot;Robot Framework: Clear caches and restart&amp;quot; action.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Please help me out from this.&lt;/p&gt;&#xA;&lt;p&gt;I have tried installing &lt;code&gt;pip install robotframework-databaseLibrary&lt;/code&gt;&#xA;and much more that i can not explain that here in writing.&lt;/p&gt;&#xA;
  352.        </summary>
  353.    </entry>
  354.    <entry>
  355.        <id>https://stackoverflow.com/q/78224734</id>
  356.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  357.        <title type="text">How to fail robot framework execution in listener?</title>
  358.            <category scheme="https://stackoverflow.com/tags" term="python-3.x" />
  359.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  360.        <author>
  361.            <name>rider45</name>
  362.            <uri>https://stackoverflow.com/users/13869895</uri>
  363.        </author>
  364.        <link rel="alternate" href="https://stackoverflow.com/questions/78224734/how-to-fail-robot-framework-execution-in-listener" />
  365.        <published>2024-03-26T10:53:41Z</published>
  366.        <updated>2024-03-26T10:53:41Z</updated>
  367.        <summary type="html">
  368.            &lt;p&gt;I would like to know if this is possible to fail and stop robot framework execution from within a listener api version 2 (so python code)?&lt;/p&gt;&#xA;&lt;p&gt;Sincerely&lt;/p&gt;&#xA;
  369.        </summary>
  370.    </entry>
  371.    <entry>
  372.        <id>https://stackoverflow.com/q/78208470</id>
  373.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  374.        <title type="text">Run Robot in Jenkinsfile does not fetch the correct test.robot file from Github</title>
  375.            <category scheme="https://stackoverflow.com/tags" term="jenkins" />
  376.            <category scheme="https://stackoverflow.com/tags" term="testing" />
  377.            <category scheme="https://stackoverflow.com/tags" term="version-control" />
  378.            <category scheme="https://stackoverflow.com/tags" term="automated-tests" />
  379.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  380.        <author>
  381.            <name>P&#xE4;r Ershag</name>
  382.            <uri>https://stackoverflow.com/users/23742695</uri>
  383.        </author>
  384.        <link rel="alternate" href="https://stackoverflow.com/questions/78208470/run-robot-in-jenkinsfile-does-not-fetch-the-correct-test-robot-file-from-github" />
  385.        <published>2024-03-22T19:28:42Z</published>
  386.        <updated>2024-03-22T22:52:36Z</updated>
  387.        <summary type="html">
  388.            &lt;p&gt;So I have a school project that have given me so many headaches in every step of the way. It is located on Github and is run through Jenkins as a pipeline project, parameterized with git parameters for branches. There are 2 branches, main and b1 and this is my Jenkinsfile&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;pipeline {&#xA;    agent any&#xA;    stages { &#xA;        stage(&#x27;build&#x27;){&#xA;           steps{&#xA;               sh &amp;quot;mvn compile&amp;quot;&#xA;           }&#xA;        }&#xA;        stage(&#x27;Test&#x27;) {&#xA;            steps{&#xA;                sh &amp;quot;mvn test&amp;quot;&#xA;            }&#xA;            post {&#xA;                always {&#xA;                    jacoco(&#xA;                        execPattern: &#x27;target/*.exec&#x27;,&#xA;                        classPattern: &#x27;target/classes&#x27;,&#xA;                        sourcePattern: &#x27;src/main/java&#x27;,&#xA;                        exclusionPattern: &#x27;src/test*&#x27;&#xA;                    )&#xA;                    junit &#x27;**/TEST*.xml&#x27;&#xA;                }&#xA;            }&#xA;        }&#xA;        stage(&#x27;Run Robot and Post Test&#x27;) {&#xA;            steps{&#xA;                sh script: &#x27;python -m robot C:/Users/ersha/.jenkins/workspace/P&#xE4;r_Ershag/Selenium/test.robot&#x27;, returnStatus: true&#xA;            }&#xA;            post {&#xA;                always {&#xA;                    robot outputPath: &#x27;C:/Users/ersha/.jenkins/workspace/P&#xE4;r_Ershag@2&#x27;, passThreshold: 100.0, unstableThreshold: 70.0, onlyCritical: false&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;My issue is that regardless of what branch I choose to build it will always use an old version of test.robot located at the same path as the step sh script: &#x27;python -m robot...&#x27; is refering to. Main and b1 have both different versions of the file but neither are run. This despite having a &amp;quot;clean before cheackout&amp;quot; step in additional behaviours.&lt;/p&gt;&#xA;&lt;p&gt;I have compared my Jenkinsfile to others doing the same project and the biggest difference is that the stage for &#x27;Run Robot and Post Test&#x27; is stated as:&#xA;bat &amp;quot; robot &lt;em&gt;their test.robot path&lt;/em&gt;&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;I can&#x27;t use bat for my steps for some reason even though I use windows hence why I had to use sh and a script in Jenkins to make it work.&lt;/p&gt;&#xA;&lt;p&gt;ps: I&#x27;m kinda new to Jenkins so there are many things that I don&#x27;t understand yet.&lt;/p&gt;&#xA;
  389.        </summary>
  390.    </entry>
  391.    <entry>
  392.        <id>https://stackoverflow.com/q/78207470</id>
  393.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  394.        <title type="text">Import Variables in Suite Setup does not import variables for all the test suite</title>
  395.            <category scheme="https://stackoverflow.com/tags" term="python" />
  396.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  397.        <author>
  398.            <name>Romain Bosq</name>
  399.            <uri>https://stackoverflow.com/users/6051534</uri>
  400.        </author>
  401.        <link rel="alternate" href="https://stackoverflow.com/questions/78207470/import-variables-in-suite-setup-does-not-import-variables-for-all-the-test-suite" />
  402.        <published>2024-03-22T16:04:09Z</published>
  403.        <updated>2024-03-22T16:04:09Z</updated>
  404.        <summary type="html">
  405.            &lt;p&gt;I am kinda new with Robot.&#xA;similarly to this &lt;a href=&quot;https://stackoverflow.com/questions/47490802/how-to-make-variables-from-import-variables-globally-available&quot;&gt;How to make variables from &amp;#39;Import Variables&amp;#39; globally available?&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I am trying to import dynamically variables defined in a python file depending if the tester specified --variable device:A or device:B&lt;/p&gt;&#xA;&lt;p&gt;Both devices have the same variables but values are different.&lt;/p&gt;&#xA;&lt;p&gt;My repo looks like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;folder&#xA;      |_ __init__.robot&#xA;      |_ test.robot&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I have something like that in the __init__.robot:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;In __init__.robot:&#xA;&#xA;Suite Setup      Initialize Device&#xA;&#xA;*** Keywords ***    &#xA;Initialize Device&#xA;    [Documentation]    Initializes the device based on a constant value&#xA;    [Arguments]    ${device_type}&#xA;    IF   &#x27;${device_type}&#x27; == &#x27;A&#x27;&#xA;        Import Variables  projects/A/variables_A.py&#xA;    ELSE IF    &#x27;${device_type}&#x27; == &#x27;B&#x27;&#xA;        Import Variables  projects/B/variables_B.py&#xA;END&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And in test.robot:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;*** Test Cases ***&#xA;Print device ID&#xA;    Log ${device_id}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The variable device_id is defined in both variables_X.py files&lt;/p&gt;&#xA;&lt;p&gt;It works fine for the Setup Suite function, variables are loaded as I expected but as soon as my first test starts, the variables imported are unknown, like out of scope. I thought importing them from the Suite Setup would import them for the whole Test suite as described by robot manual:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Variables imported with this keyword are set into the test suite scope&#xA;similarly when importing them in the Setting table using the Variables&#xA;setting.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;My solution would be to iterate this file and use Set Global Variable/Set Suite Variable but I am curious to know why it does not work as I expected, any ideas?&lt;/p&gt;&#xA;
  406.        </summary>
  407.    </entry>
  408.    <entry>
  409.        <id>https://stackoverflow.com/q/78206052</id>
  410.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  411.        <title type="text">&quot;Importing test library &#x27;SSHLibrary&#x27; failed: ModuleNotFoundError: No module named &#x27;SSHLibrary&#x27;</title>
  412.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  413.            <category scheme="https://stackoverflow.com/tags" term="robotframework-sshlibrary" />
  414.        <author>
  415.            <name>Pop I like</name>
  416.            <uri>https://stackoverflow.com/users/13374367</uri>
  417.        </author>
  418.        <link rel="alternate" href="https://stackoverflow.com/questions/78206052/importing-test-library-sshlibrary-failed-modulenotfounderror-no-module-name" />
  419.        <published>2024-03-22T11:54:28Z</published>
  420.        <updated>2024-03-22T11:54:28Z</updated>
  421.        <summary type="html">
  422.            &lt;pre&gt;&lt;code&gt;&amp;quot;message&amp;quot;: &amp;quot;Importing test library &#x27;SSHLibrary&#x27; failed: ModuleNotFoundError: No module named &#x27;SSHLibrary&#x27;\nTraceback (most recent call last):\n  None\nPYTHONPATH:\&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;python version: 3.12&#xA;robot framwork : 6.0&#xA;sshlibrarry :3.8.0&#xA;visual studio 2019&lt;/p&gt;&#xA;&lt;p&gt;still I see the import error .&lt;/p&gt;&#xA;&lt;p&gt;please help in resolve.&lt;/p&gt;&#xA;&lt;p&gt;what exact version i need to have here ?&#xA;i switched to python 2.7. still it does not help&#xA;anyone facing similar issues?&lt;/p&gt;&#xA;
  423.        </summary>
  424.    </entry>
  425.    <entry>
  426.        <id>https://stackoverflow.com/q/78205265</id>
  427.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  428.        <title type="text">How do I scroll down the child popup scrollbar using the robot framework?</title>
  429.            <category scheme="https://stackoverflow.com/tags" term="selenium-webdriver" />
  430.            <category scheme="https://stackoverflow.com/tags" term="automation" />
  431.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  432.            <category scheme="https://stackoverflow.com/tags" term="automation-testing" />
  433.        <author>
  434.            <name>Ash</name>
  435.            <uri>https://stackoverflow.com/users/18963282</uri>
  436.        </author>
  437.        <link rel="alternate" href="https://stackoverflow.com/questions/78205265/how-do-i-scroll-down-the-child-popup-scrollbar-using-the-robot-framework" />
  438.        <published>2024-03-22T09:39:37Z</published>
  439.        <updated>2024-03-22T09:46:40Z</updated>
  440.        <summary type="html">
  441.            &lt;p&gt;I have to scroll down the child popup scroll bar up to the bottom of the popup using the robot framework. Can you please help with it? Thanks in advance.&lt;/p&gt;&#xA;&lt;p&gt;I have the below code as an example, but it is not working.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Get Product Price&#xA;    ${Value1}=    Get WebElement     ${SubTotal}&#xA;    Wait Until Element Is Visible    ${Value1}    timeout=60s&#xA;    Execute JavaScript    window.document.getElementById(&#x27;${Value1}&#x27;).scrollIntoView();&#xA;    ${Price}=       Get Text        ${SubTotal}&#xA;    Log      Price is:- ${Price}&#xA;    Log To Console    \nPrice is:- ${Price}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;${SubTotal} element is under the child window, and it has the bottom of the child window popup, so I have to scroll down to the ${SubTotal}&lt;/p&gt;&#xA;
  442.        </summary>
  443.    </entry>
  444.    <entry>
  445.        <id>https://stackoverflow.com/q/78200950</id>
  446.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  447.        <title type="text">Selenium Webdriver is not using proxy</title>
  448.            <category scheme="https://stackoverflow.com/tags" term="python-3.x" />
  449.            <category scheme="https://stackoverflow.com/tags" term="selenium-webdriver" />
  450.            <category scheme="https://stackoverflow.com/tags" term="selenium-chromedriver" />
  451.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  452.        <author>
  453.            <name>Edwin</name>
  454.            <uri>https://stackoverflow.com/users/10388204</uri>
  455.        </author>
  456.        <link rel="alternate" href="https://stackoverflow.com/questions/78200950/selenium-webdriver-is-not-using-proxy" />
  457.        <published>2024-03-21T15:06:38Z</published>
  458.        <updated>2024-03-21T15:35:26Z</updated>
  459.        <summary type="html">
  460.            &lt;p&gt;I&#x27;m trying to let selenium use the company proxy server for downloading the webdriver. But that keeps on failing. I can use proxy for using downloads manually.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;from selenium import webdriver&#xA;&#xA;class seleniumOptions:&#xA;  def local_options(self):&#xA;      options = webdriver.ChromeOptions()&#xA;      options.add_argument(&#x27;--no-sandbox&#x27;)&#xA;      options.add_argument(&#x27;--disable-web-security&#x27;)&#xA;      options.add_argument(&#x27;--disable-software-rasterizer&#x27;)&#xA;      options.add_argument(&#x27;--proxy-server=&amp;quot;http=10.10.10.10:80&amp;quot;&#x27;)&#xA;      options.add_argument(&#x27;--ignore-certificate-errors&#x27;)&#xA;      options.add_experimental_option(&amp;quot;detach&amp;quot;, True)&#xA;      return options&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I have tried many differents ways in giving it the address of the proxy server. But none of them worked. Also using the experimental options failed.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;options.add_experimental_option(&amp;quot;proxy-server&amp;quot;, &amp;quot;http=10.10.10.10:80&amp;quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Setup is&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Robot Framework 7.0&lt;/li&gt;&#xA;&lt;li&gt;Robotframework-seleniumlibrary 6.2.0&lt;/li&gt;&#xA;&lt;li&gt;Selenium 4.18.2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The error message is:&#xA;Exception managing chrome: error sending request for url (&lt;a href=&quot;https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json&lt;/a&gt;): error trying to connect: tcp connect error:&lt;/p&gt;&#xA;
  461.        </summary>
  462.    </entry>
  463.    <entry>
  464.        <id>https://stackoverflow.com/q/78199133</id>
  465.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  466.        <title type="text">Optimizing Test Scenarios in Robot Framework: Reducing Redundancy and Enhancing Efficiency</title>
  467.            <category scheme="https://stackoverflow.com/tags" term="python" />
  468.            <category scheme="https://stackoverflow.com/tags" term="automated-tests" />
  469.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  470.        <author>
  471.            <name>Theerastillhere</name>
  472.            <uri>https://stackoverflow.com/users/21984607</uri>
  473.        </author>
  474.        <link rel="alternate" href="https://stackoverflow.com/questions/78199133/optimizing-test-scenarios-in-robot-framework-reducing-redundancy-and-enhancing" />
  475.        <published>2024-03-21T10:21:48Z</published>
  476.        <updated>2024-03-21T15:11:38Z</updated>
  477.        <summary type="html">
  478.            &lt;p&gt;I need assistance with Robot Framework. How can I create test scenarios? By test scenarios, I mean combining multiple test cases together. For example, if I have the following test cases:&lt;/p&gt;&#xA;&lt;p&gt;1.Login backend&lt;/p&gt;&#xA;&lt;p&gt;2.Add content backend&lt;/p&gt;&#xA;&lt;p&gt;3.Edit content backend&lt;/p&gt;&#xA;&lt;p&gt;4.Check frontend content section&lt;/p&gt;&#xA;&lt;p&gt;And then I have the following test scenarios:&#xA;1.Login backend -&amp;gt; Add content backend -&amp;gt; Check frontend content section will update&#xA;2.Login backend -&amp;gt; Edit content backend -&amp;gt; Check frontend content section will update&lt;/p&gt;&#xA;&lt;p&gt;Alright, so now, how can I proceed to write these in Robot Framework? Currently, in the *** Test Cases *** section, I have written out 2 test cases:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Login backend -&amp;gt; Add content backend -&amp;gt; Check frontend content section will update&lt;/li&gt;&#xA;&lt;li&gt;Login backend -&amp;gt; Edit content backend -&amp;gt; Check frontend content section will update&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Both of these test cases have the Login backend and check frontend content section commands repeated. Is there a way for me to reduce code redundancy? For example, could I write Login Backend and check frontend content section as functions and then call them later in the *** Test Cases *** section?&lt;/p&gt;&#xA;
  479.        </summary>
  480.    </entry>
  481.    <entry>
  482.        <id>https://stackoverflow.com/q/78186941</id>
  483.        <re:rank scheme="https://stackoverflow.com">1</re:rank>
  484.        <title type="text">How to run data driven tests parallelly in robot framework?</title>
  485.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  486.            <category scheme="https://stackoverflow.com/tags" term="ui-automation" />
  487.            <category scheme="https://stackoverflow.com/tags" term="parallel-testing" />
  488.            <category scheme="https://stackoverflow.com/tags" term="robotframework-browser" />
  489.        <author>
  490.            <name>Pradeep Kumar Mahendran</name>
  491.            <uri>https://stackoverflow.com/users/23660959</uri>
  492.        </author>
  493.        <link rel="alternate" href="https://stackoverflow.com/questions/78186941/how-to-run-data-driven-tests-parallelly-in-robot-framework" />
  494.        <published>2024-03-19T13:19:41Z</published>
  495.        <updated>2024-03-20T13:06:31Z</updated>
  496.        <summary type="html">
  497.            &lt;p&gt;I have N number of test cases in my csv file and i have added it as a test template as shown below&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Test Template    My test template&#xA;&#xA;&#xA;*** Test Cases ***&#xA;sample testcase    ${field1}    ${field2}       test1      test2&#xA;&#xA;*** Keywords ***&#xA;My test template&#xA;    [Arguments]     ${field1}    ${field2}&#xA;    /* some code here */&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Let say i have a csv file like the below which has more than 100 records&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GCy9F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now if i have to run all these in parallel, can anyone explain how to do that?&lt;/p&gt;&#xA;&lt;p&gt;Tried pabot -testlevelsplit and  pabot --processes N [path to tests] but this runs only one test and does not support when we have case like the above for data driven testing&lt;/p&gt;&#xA;&lt;p&gt;I am expecting to run all tests in parallel for data driven testing scenarios&lt;/p&gt;&#xA;
  498.        </summary>
  499.    </entry>
  500.    <entry>
  501.        <id>https://stackoverflow.com/q/78185692</id>
  502.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  503.        <title type="text">How to send Selenium options as a data structure in Robot Framework without &#x27;AttributeError: &#x27;list&#x27; object has no attribute &#x27;capabilities&#x27;&#x27;?</title>
  504.            <category scheme="https://stackoverflow.com/tags" term="selenium-webdriver" />
  505.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  506.        <author>
  507.            <name>Edwin</name>
  508.            <uri>https://stackoverflow.com/users/10388204</uri>
  509.        </author>
  510.        <link rel="alternate" href="https://stackoverflow.com/questions/78185692/how-to-send-selenium-options-as-a-data-structure-in-robot-framework-without-att" />
  511.        <published>2024-03-19T10:04:06Z</published>
  512.        <updated>2024-03-19T13:02:57Z</updated>
  513.        <summary type="html">
  514.            &lt;p&gt;I would like to use a data structure to send the options to the Selenium Open-browser interface.&lt;/p&gt;&#xA;&lt;p&gt;The documentation of the library tells that it accepts type &#x27;Any&#x27;, therefore a list or dictionary or any combination is assumed to be allowed.&lt;/p&gt;&#xA;&lt;p&gt;Sending the options as a long string does work.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;add_argument(&amp;quot;--no-sandbox&amp;quot;); add_argument(&amp;quot;--disable-web-security&amp;quot;); add_argument(&amp;quot;--disable-software-rasterizer&amp;quot;); add_argument(&amp;quot;--proxy-server=http://10.10.10.10:80&amp;quot;) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;but not sending it as a data structure such as:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;[{&#x27;add_argument&#x27;: [&#x27;--no-sandbox&#x27;]}, {&#x27;add_argument&#x27;: [&#x27;--disable-web-security&#x27;]}, {&#x27;add_argument&#x27;: [&#x27;--disable-software-rasterizer&#x27;]}, {&#x27;add_argument&#x27;: [&#x27;--proxy-server=http://10.10.10.10:80&#x27;]}]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The error message here is:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;AttributeError: &#x27;list&#x27; object has no attribute &#x27;capabilities&#x27; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I have tried many other data structures but none has worked.&lt;/p&gt;&#xA;&lt;p&gt;The setup is:&lt;/p&gt;&#xA;&lt;p&gt;RobotFramework 7.0&lt;/p&gt;&#xA;&lt;p&gt;RobotFramework-SeleniumLibrary 6.2.0&lt;/p&gt;&#xA;&lt;p&gt;Selenium 4.18.1&lt;/p&gt;&#xA;&lt;p&gt;Python 3.12&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;${arguments}     Create List&#xA;${options}       Create List&#xA;Append To List  ${options}  --no-sandbox&#xA;Append To List  ${options}  --disable-web-security&#xA;Append To List  ${options}  --disable-software-rasterizer&#xA;Append To List  ${options}  --proxy-server=http://10.10.10.10:80&#xA;FOR  ${elem}  IN   @{options}&#xA;  ${elem_list}   Create list  ${elem}&#xA;  ${dict}  Create Dictionary  add_argument  ${elem_list}&#xA;  Append To List  ${arguments}  ${dict}&#xA;END&#xA;Log To Console    ${arguments}&#xA;${current_open_window}=  Open Browser  browser=Chrome  options=add_argument(&amp;quot;--no-sandbox&amp;quot;); add_argument(&amp;quot;--disable-web-security&amp;quot;); add_argument(&amp;quot;--disable-software-rasterizer&amp;quot;); add_argument(&amp;quot;--proxy-server=http://10.10.10.10:80&amp;quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;
  515.        </summary>
  516.    </entry>
  517.    <entry>
  518.        <id>https://stackoverflow.com/q/78185639</id>
  519.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  520.        <title type="text">Not able to create custom keyword in robot using python</title>
  521.            <category scheme="https://stackoverflow.com/tags" term="python-3.x" />
  522.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  523.        <author>
  524.            <name>sunil talaviya</name>
  525.            <uri>https://stackoverflow.com/users/23659032</uri>
  526.        </author>
  527.        <link rel="alternate" href="https://stackoverflow.com/questions/78185639/not-able-to-create-custom-keyword-in-robot-using-python" />
  528.        <published>2024-03-19T09:57:20Z</published>
  529.        <updated>2024-03-26T22:44:46Z</updated>
  530.        <summary type="html">
  531.            &lt;pre class=&quot;lang-py prettyprint-override&quot;&gt;&lt;code&gt;from robot.api.deco import library,keyword&#xA;from robot.libraries.BuiltIn import BuiltIn&#xA;&#xA;@library&#xA;class Shop:&#xA;    def __init__(self):&#xA;        self.selLib = BuiltIn().get_library_instance(&amp;quot;SeleniumLibrary&amp;quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The last line is not working it is giving some error in robot file&#xA;&lt;a href=&quot;https://i.stack.imgur.com/l58DV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;getting this error in the robot file&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Should be able to create custom keyword&lt;/p&gt;&#xA;
  532.        </summary>
  533.    </entry>
  534.    <entry>
  535.        <id>https://stackoverflow.com/q/78171521</id>
  536.        <re:rank scheme="https://stackoverflow.com">0</re:rank>
  537.        <title type="text">Robot Framework, control it there is error in event viewer/application</title>
  538.            <category scheme="https://stackoverflow.com/tags" term="process" />
  539.            <category scheme="https://stackoverflow.com/tags" term="pycharm" />
  540.            <category scheme="https://stackoverflow.com/tags" term="operating-system" />
  541.            <category scheme="https://stackoverflow.com/tags" term="robotframework" />
  542.            <category scheme="https://stackoverflow.com/tags" term="sikuli" />
  543.        <author>
  544.            <name>Noob_Testautomation</name>
  545.            <uri>https://stackoverflow.com/users/23070353</uri>
  546.        </author>
  547.        <link rel="alternate" href="https://stackoverflow.com/questions/78171521/robot-framework-control-it-there-is-error-in-event-viewer-application" />
  548.        <published>2024-03-16T11:08:07Z</published>
  549.        <updated>2024-03-16T11:08:07Z</updated>
  550.        <summary type="html">
  551.            &lt;p&gt;When i test external Windows application with Robot Framework i would control if there is new error in event viewer/application.&lt;/p&gt;&#xA;&lt;p&gt;there is a way?&lt;/p&gt;&#xA;
  552.        </summary>
  553.    </entry>
  554. </feed>

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid Atom 1.0" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//stackoverflow.com/feeds/tag%3Ftagnames%3Drobotframework%26sort%3Dnewest

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda