Questions tagged [robotframework]
Robot Framework is an open-source test automation framework for acceptance testing and ATDD (acceptance test driven development).
131
questions
1
vote
2
answers
19k
views
RobotFramework: Global variables which change only locally
In the root of the test directory, I have this setting.robot file which includes the global variables used in all test suites and test cases. This file has been used as resource in all test cases:
***...
4
votes
0
answers
3k
views
Jenkins Build Is Hanging
We are using Jenkins for continuous integration. I have already created a Jenkins job for running all my robot framework automation test scripts & Everything was absolutely working fine.
But now,...
0
votes
1
answer
3k
views
The state of the checkbox, which was set in Robot Framework is not stored
I'm new to Robot Framework and Selenium. I can not set a checkbox. There are several settings, which is controlled by the checkbox. I see that it was set by Robot, but the result is not stored. The ...
1
vote
2
answers
10k
views
How to select few text lines using Robot Framework?
I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application ( in .txt format ).
One of my test cases involves to select few lines of text from ...
5
votes
1
answer
9k
views
Handling different input fields using Robot Framework
I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application (I am writing test cases in .txt format)
I am having a problem on handling two ...
2
votes
3
answers
17k
views
How to find the CSS style attribute of a particular HTML element using Robot Framework?
I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application. One of my test cases involves checking the CSS style attribute of an HTML tag.
Is ...
1
vote
2
answers
20k
views
How to get no. of elements with particular 'id' using robot framework?
I am writing an automation test script for our web application using Robot framework and Selenium2Library. One of my test case involves the following scenario.
I have to run a particular test case ...
2
votes
2
answers
14k
views
How to upload a csv file from local machine using robot framework script?
Is there any option in robot framework to upload a csv file ( or any kind of file ) from local machine ?
Here is my testing scenario -
While clicking on 'Upload file' button a new window will pop ...
4
votes
1
answer
40k
views
How to set a value for a variable in Robot framework test case?
Is there any option in Robot framework to set the value of a variable "TRUE" or "FALSE" depending upon a condition ?
I want to run a keyword only if a condition is TRUE, i.e. a keyword should run ...
1
vote
1
answer
4k
views
Unable to handle Google Authentication pop up window in robot framework test case
I am having a problem on handling google authentication pop up window in robot framework.
The process I want to automate is -
When a button( Sign in with google) is clicked , google authentication ...
9
votes
4
answers
25k
views
TestNG vs Robot Framework - pros and cons
What are the pros and cons of using Robot Framework with selenium2Library (webdriver).
Which one is the better option for web application testing - TestNG or Robot Framework?
2
votes
1
answer
5k
views
Can you run Powershell scripts with command line parameters in Robot?
We use Robot Framework to run our tests and we do use the Run command to execute some Powershell scripts to perform some external tasks. This works when we set up the command line parameters in one ...
3
votes
4
answers
12k
views
Wait for a random time with robot selenium 2 library
After submitting a POST request with a button click from a webpage, I want to wait for 60 seconds and click a link on that same page.
The wait for 60 seconds part, is that possible to implement with ...
1
vote
1
answer
959
views
How to authenticate with certificates using sudslibrary in robotframework?
I'm testing soap messages using RobotFramework and sudslibrary. I need to authenticate session with a certificate. Is there a way to do this? I did not find a mentioning of this in the documentation ...
4
votes
3
answers
2k
views
what is the relation between test plan, test suite and test case?
I have searched a few things about the differences and relations between test plan, test suite and test case and I found out the following picture as a summary:
Is my understanding fully right?
Is ...
3
votes
5
answers
16k
views
How to edit field in Robotframework using Selenium2library
My problem is being unable to enter text in login and password fields in certain page.
I would like to know how to be able to enter text in this situation. I have been able to automate entering text ...
1
vote
1
answer
4k
views
How to check status of checkbox in robotframework
I have a scenario to verify the status of checkbox whether this is disable or enable but i did not fine any keyword for that, It would be great if somebody help to get this.
3
votes
4
answers
654
views
Robot framework installation
I want to learn robot framework with java and python, but not sure how to use this?. I searched over the net but did not get steps to instal robot framework.
I installed only selenium2library file in ...
2
votes
1
answer
5k
views
Robot Framework data-driven automation testing: Can data derived from a database be used as a data source for a test template?
I am familiar with using template keywords in data-driven Robot Framework testing and know that external sources of data such as text files and csv files can be used to provide test data. However, the ...
4
votes
3
answers
6k
views
Fitnesse vs Robot
We are choosing what system to start using in our company.
it should be used for both backend (REST API, some DB checks) and UI testing
it should use a simple language so even non-programmers/tester ...
2
votes
1
answer
3k
views
How to start all tests with a clear session after browser crash,
Im using WebDriver and Python to automate a website. I have a suite of tests and sometimes running into the following problem.
Test no.1 = Login to home page, navigate to Account page, perform some ...
-1
votes
2
answers
23k
views
Robot framework. How to select option by text but value?
I want to select an option from list, but I won't use value for it.
<tbody>
<tr>
<td colspan="3"><a href="admin.php?dpt=catalog&sub=products_categories&...
1
vote
2
answers
3k
views
Force selenium to use the portable firefox application
I have installed firefox 14 and has firefox portable version 25.0.1 on the machine, where I run tests for a web site.
Due to a limitation in the site I'm testing, I cannot run my tests on firefox 14 ...
2
votes
2
answers
34k
views
How to use Run Keyword If in Robot Framework
I want to run Keyword if Element is visible. E.g I want to check that if a button is visible on the page then run particular Keyword.
Below is my code.
Create button is Keyword and want to run if ...
9
votes
7
answers
1k
views
Recommend Automated test tools for cross platform including IE and .NET software
I'm working in an QA team.
We do the automated work from the scratch. So many testing methods may be anti-pattern or disobey some discipline.
We pay lots of effort on test web pages on our products....
1
vote
2
answers
2k
views
Robot Framework Integration
We have a project which uses Robot Framework 2.7.7, while we are using HP-QC for Bug tracking.
Is it possible to integrate Robot Framework with HP Quality center?
3
votes
3
answers
17k
views
How to know if a checkbox is selected when using robot framework
I am using robot framework. How can I test if a checkbox is selected?
I want to run a keyword if a checkbox is selected like:
${checked} = Checkbox Should Not Be Selected xpath=.//*[@id='0,1,1,6']...
2
votes
2
answers
6k
views
Robot Framework and Browser support
Has the robot framework support for IExplorer or only for Firefox and Chrome? (If yes, how to configure it?)
Thanks!
3
votes
2
answers
6k
views
Failed to start new browser session: Error while launching browser + selenium + robotframework
I'm using robotframework+seleniumlibrary and I often got the following error when I launch test cases
Failed to start new browser session: Error while launching browser
I'm connected by "ssh -X ...
5
votes
4
answers
12k
views
Are there ready solutions for saving robot framework test results into a database?
I like the level of details and more or less how they look like — report.html and log.html files created as a result of selenium/robot tests run. What I don't like is if I run pybot several times (...
4
votes
2
answers
3k
views
Problems with escaping the equals sign in a Watir Robot argument
We're currently using the very lovely Robot Framework for our automation.
Unfortunately, we've run into a hitch with the '=' character - we have a number of places in the app where we have a link to ...