Tag Info

Hot answers tagged

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 ...


2

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

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 ...


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

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

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

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