Tag Info

Hot answers tagged

3

From: http://robotframework-seleniumlibrary.googlecode.com/hg/doc/SeleniumLibrary.html?r=2.9.1 Possible values for browser are all the values supported by Selenium and some aliases that are defined for convenience. The table below lists the aliases for most common supported browsers. firefox FireFox ff FireFox ie Internet Explorer ...


3

Welcome to SQA poc, Many people's first encounter with automation is to start with a record and playback tool. You quickly learn the limitations of that method because the code it produces is crude and not very maintainable. I do know some people who continue to use a recorder only for the purpose of getting the ID's or other unique identifiers, however ...


2

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 of acceptance test. You can even use robot tests to improve your manual testing process. Robot is keyword driven Robot is keyword-driven, which makes it very ...


2

At least on http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.8.5#getting-started is nicely detailled installation instructions.


2

If you can't determine why the browser won't launch, you can make your tests more robust. Make sure to clean the environment during test warmup, add some retry/wait/timeout wrappers around the section that launches the browser, and kill any processes and services that aren't relevant to the test. In order to find out why the browser is crashing, you can ...


1

Here is an answer here which might help: https://groups.google.com/forum/?fromgroups=#!topic/selenium-users/nFhusJoAzV8 I know that I have had issues with firefox driver not killing the firefox process when it was finished and had to add code to kill all firefox processes as part of the cleanup of my tests.


1

Well it depends on what you set up, in my environment I had Python, Java, PiP and EasyInstall loaded then it was simply a matter of running: pip install robotframework But it's simple enough to find the instructions on the Robot Framework site and check out the link to the Installation Instructions. The Robot Framework site has links to examples as well, ...


1

It seems like you don't want to report error if element was not found. In such case, the most straight-forward way is to run the keyword and ignore errors if element is not found: Run Keyword And Ignore Error Click Element id=element_id Also, hard-coding sleep intervals can make your tests slow and flaky. Using Wait Until Page Contains is better.


1

When you instantiate Selenium set the full path to the Firefox install you want to use instead of just using "firefox" which will use the defaul path. def setUp(self): self.selenium = selenium("localhost", 4444, "*firefox C:\\Program Files\\Mozilla self.selenium.start()


1

Based on the example of RF keywords list, you should write the condition, in your case should be ${CreateButtonVisible} == 'PASS' Run Keyword If ${CreateButtonVisible} == 'PASS' Create Button


1

If you use Selenium2Library, which is much better than SeleniumLibrary so possible values for browser are as follows: firefox | FireFox ff | FireFox internetexplorer | Internet Explorer ie | Internet Explorer googlechrome | Google Chrome gc | Google Chrome chrome | Google Chrome opera | Opera phantomjs | PhantomJS htmlunit | HTMLUnit htmlunitwithjs | ...


1

Use Run Keyword And Return Status It runs the given keyword with given arguments and returns the status as a Boolean value. This keyword returns True if the keyword that is executed succeeds and False if it fails. This is useful, for example, in combination with Run Keyword If. If you are interested in the error message or return value, use Run Keyword And ...


1

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, the test template is not much more than a wrapper around a for loop. You could do something like this: | | ${database_rows}= | Run sql query | | ... | Select * ...


1

Selenium/Python is what we use and are very happy with it. Re #1: You can write tests in pure Python (without Selenium) to test rest/DB and run them using same test runner. Test are just python programs using Selenium libraries or whatever else you need. And there are libraries for anything I ever needed. Re #2: Python is famously easy to read. Our own ...


1

As a previous answer stated, it is possible to save the test output as XML (output.xml) but to put the results into a database, you would have to create a parser and table structure to handle all that. If you are just wanting to have the test results stored in a central place then I would recommend setting up Jenkins and running your Robot Framework tests ...


1

if you are UI does not change that frequently, it is worth while to investigate on the usage of Sikuli


1

Take a look at TestCafe from DevExpress. It provides cross-platform testing in multiple browsers simultaneously. Disclaimer: I work on the TestCafe team. I'd love to help you learn more about it and to hear any feedback.


1

To prevent overwriting the earlier results, you can specify where you want the logs and results with command line options --output, --log (-l) and --report (-r). There is also an option --timestampoutputs (-T) for automatically timestamping the result files to get output-20080604-163225.xml or similar. There seems to be at least two database libraries ...


1

testerab, you mentioned escaping the equals sign with the relevant HTML escape character. There are two kinds of encoding for special characters in HTML: entity notation and URL Encoding. In entity notation, an equals sign would be &#x003D In URL encoding, an equal sign would be %3D For your problem, the appropriate encoding would be URL ...



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