Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1105

Use for questions involving problems with automated tests. Relevant for designing test automation, debugging test automation, automation tooling questions, and questions about when it is appropriate to automate. Questions regarding specific tools should tag those tools as well.

0 votes

Disabling failing tests in CI if they discover known bugs

What we do is tag the known-to-fail tests as non-critical, and then tell Jenkins to only consider critical tests when determining whether the build succeeded or failed. This way you still run the test …
Bryan Oakley's user avatar
1 vote

Can developer do automation test for the feature that he has implemented?

Remember that the ultimate goal is to create high quality code. Anything you do that gets you closer to that goal is OK. So, yes, it's OK for a developer to write automated acceptance tests if they wa …
Bryan Oakley's user avatar
1 vote

How to modify/delete <div> section using Robot Framework

Deleting an element Neither robot nor SeleniumLibrary have any way to add or remove items from a page, but you can use the execute javascript keyword to run javascript to do that. For example, to d …
Bryan Oakley's user avatar
3 votes

Issue with Data driven testing in robot framework

The error should be very self-explanatory: you are passing an argument to the keyword FIRST_NAME ("got 1"), but that keyword doesn't take an argument ("expected 0"). To define your keyword to take an …
Bryan Oakley's user avatar
2 votes
Accepted

How to get no. of elements with particular 'id' using robot framework?

Selenium2Library has a keyword named Get Matching XPath Count which can return the number of items that match an xpath. The documentation even includes an example of counting items based on an id. It …
Bryan Oakley's user avatar
6 votes
Accepted

Fitnesse vs Robot

Overview Robot framework is an excellent choice that meets all of your goals. Robot can be used for UI tests (via selenium), REST and SOAP service tests, database tests, and just about any other type …
Bryan Oakley's user avatar
1 vote

What are some good open source UI Testing tools for testing Windows GUI?

One option would be to use robot framework with the autoit library. Robot is a keyword driven acceptance testing framework, which allows you to write your tests in a very readable, english-like format …
Bryan Oakley's user avatar
10 votes

Compare screenshots of rendered web pages

Imagemagick, a cross-platform imaging library and command line tool, has functions that can be used to compare images. A team I worked on circa 2012 used it with pretty good success to determine if t …
Bryan Oakley's user avatar
4 votes

Wait for a random time with robot selenium 2 library

Putting a sleep in a selenium test is generally not the best solution. Selenium has keywords to wait for some condition on a page, such as wait for condition, wait until element is visible, wait until …
Bryan Oakley's user avatar
1 vote
Accepted

How to upload a csv file from local machine using robot framework script?

The solution is to use Choose File. You claim it only works on Firefox, but I use it on chrome regularly. Assuming that your web page has an input element with an id of "file_input", and you have a f …
Bryan Oakley's user avatar
2 votes
Accepted

How to find the CSS style attribute of a particular HTML element using Robot Framework?

You can use the Selenium2Library Get Element Attribute keyword to get the style attribute: | | ${style}= | Get element attribute | id=check_style@style You can then either use a regular expression …
Bryan Oakley's user avatar
2 votes

Robot Framework data-driven automation testing: Can data derived from a database be used as ...

Since this question was cross-posted to stackoverflow, I'll cross-post my answer: Unfortunately, the use of test templates more-or-less require that the data is hard-coded in the test case. However, …
Bryan Oakley's user avatar
1 vote

Selenium: driver.findElement(By.xpath("xpath").click(); failing

There are perhaps three reasons why this might fail: The page hasn't finished loading, so the element isn't there The page has finished loading, and the page simply doesn't contain the item -- perha …
Bryan Oakley's user avatar
2 votes
Accepted

what is the relation between test plan, test suite and test case?

I think your understanding is fundamentally correct. A test plan is just that -- a test plan. It is how you plan to go about testing an application or change to an application as a whole. The plan m …
Bryan Oakley's user avatar
1 vote

Automation halts when browser popup appears in chrome for robot framework

You can add the keyword Choose OK on Next Confirmation or Choose Cancel on Next Confirmation to have the test dismiss the dialog. You would call this keyword right before calling the keyword that caus …
Bryan Oakley's user avatar

15 30 50 per page