3

DatabaseLibrary is based on DB API 2.0 which supports these database systems: Generic Database Interfaces and APIs. So you won't be able to use this library in your case. I think you best option would be to use a Python module and write your own library that you import into Robot. I don't really know these technologies (hive etc.) much, but it seems you can ...


2

You have tools already , You can run test in jenkins or octopus according to which tool you use for deployment . Both Jenkins and octopus are just softwares that you can configure "What code to run on what System on what condition" So you can configure "Trigger" that says "Run test code" on "New Deployment" For your ...


2

Set mouse coordinate as 0 using set option: Auto It Set Option 'MouseCoordMode' 0 Auto It Set Option 'GUICoordMode' 0 Auto It Set Option 'PixelCoordMode' 0 https://www.autoitscript.com/wiki/AutoItSetOption MouseCoordMode Sets the way coords are used in the mouse functions, either absolute coords or coords relative to the current ...


2

To simplify the link I sent to the comment section: *** Settings *** Library OperatingSystem *** Test Cases *** Get User Home ${user_home}= Get Environment Variable UserProfile Log To Console ${user_home}\\Downloads In Windows, there's UserProfile environment variable that resolves to e.g. C:\Users\PavelSaman, so you can just get its ...


1

*** Test Cases *** One Return Value ${ret} = Return One Value argument Multiple Values ${a} ${b} ${c} = Return Three Values @{list} = Return Three Values ${scalar} @{rest} = Return Three Values *** Keywords *** Return One Value [Arguments] ${arg} ${value}= Set Variable 1 [Return] ${value} ...


1

Check your python architecture ( is it 32 or 64 bit) Just type python and see For 32: Open cmd in "Run as administrator" mode run the command pip install robotframework-autoitlibrary Now clone the autoit library source code: nokia/robotframework-autoitlibrary. in the root directory run the below command: python setup.py install using cmd in admin ...


1

Solved by this yaml: stages: - deploy - tests1 pages: stage: deploy script: - mkdir .public - cp test_website/index.html .public - mv .public public artifacts: paths: - public only: - master tests1: stage: tests1 script: # Update apt-get and install pip - apt-get update - apt-get install -y python3-pip # Install ...


1

Get your developers to add element ids, finding elements in this fashion is error prone and breaks your tests whenever the app changes in ways that are hard to diagnose and repair quickly. This kind of test code is a testing anti-pattern. Here is the seminal work on the broader topic Heuristics of Software Testability (links to a PDF). A more specific ...


1

Use the below keyword and locator: Click Element //span[text()='kw']/../*[@class="Select-value-icon"] Click Link match is based on "on link text and href." as span is not a link it may not work


1

I'll first copy and format your piece of code you posted in the comment section: *** Settings *** Library SeleniumLibrary Library Collections Library String Variables variables.py *** Test Cases *** My_Test Open browser example.com ie Maximize Browser Window ${home_count}= Get Element Count ${home} Run ...


1

As @pavelsaman say, regex would be suitable. In it's simplest form https.* ${url}= Get Regexp Matches ${email} https://.* . stands for match of any type of character. * stand for zero or more of the preceding character. This is a very greedy expression and will match from https to the end since it will match one or zero of any character after https. ...


1

The DesktopLibrary portion of Robotframework-Zoomba extends AppiumLibrary to support windows applications better. There is a calculator example using Appium or running on WinAppDriver itself. Some examples of the features can be found here and the keyword docs here.


1

You could use Pabot: A parallel executor for Robot Framework tests. From their GitHub page. You can find more advanced use-cases and documentations here. Run same tests with two different configurations. pabot --argumentfile1 first.args --argumentfile2 second.args [path to tests] I am not very familiar with RIDE, but I think you can configure Pabot as an ...


1

You can use the Appium Inspector to find the 'Close' button. This should give you an XPATH to work with. If it says 'Element Not Interact-able' in the properties pane then the trick I use is to get the Size and Location of the element to find the center and then webDriver.Tap(x,y)


1

That version of ride does not support Python 3.8 - you will need to install a dev version - more details are at https://github.com/robotframework/RIDE/


1

The closest you can get to your Katalon example is using Templates with embedded arguments: Verify Prices of All Plans [Template] Account ${account} and ${plan} Should Have Price ${price} Free Android 19.79 Free IOS 19.79 Free Both 24.99 All other logic would be inside Account ${account} and ${plan} Should Have ...


1

I am not sure what you are trying to do , if you want to make the tr index dynamic just call a variable index. ${nameColumn}= get text xpath=//*[@id="tableData"]/tbody/tr[${index}]/td[9] And write some logic to change value to index as you want


Only top voted, non community-wiki answers of a minimum length are eligible