Tag Info

New answers tagged

0

Adding to user246 answer- languages like Perl or Python have libraries to read textual and non-textual formats like PDF, DOC or XML. Once you read the file into a data structure comparison is relatively easy, but keep in mind that reading itself converts the file to something new, and like user246 wrote there are no simple rules for conversion.


0

No. The issue here is that these mappings are not 1-1; in other words, there is no single, definitive mapping between these formats. Each mapping requires additional heuristics that (I assume) are built into the conversion software you are interested in testing. Still, I think there is hope. You can probably find APIs for extracting data from each of ...


1

I would always vote for hand-coding automated test over the use of Record and Playback. With programming test-cases its much easier to keep the tests DRY and if you think about maintainability of the tests up-front this will safe you a lot of time in the end. Some record and playback tools do support cutting up recordings in pieces and or replacing ...


0

I couldn't find much info about the CA Lisa tool, but if it uses a programming language then most have a JSON parsing library to make your life easier. If not then you could write your own: http://stackoverflow.com/questions/17063690/how-to-write-a-basic-json-parsing-class


0

That is a reasonable list, but people tend to solve these problems by glueing different frameworks together. In particular, saving results to a database, generating reports, and sending emails may be well-served by Jenkins. Selenium has APIs for a number of languages -- I assume that is the part you want to script. Virtually any open-source testing ...


0

There are no well-established methods for comparing test tools. You need to evaluate them based on your own requirements. If you don't know what your requirements are, try using both tools and write down what you learn. Or if one tool is free and the other costs money, try the free tool first.


0

How can I find that the input is constant when its a complex piece of code like UI of web-page (like a hash?) Depending on how you use Jenkins, there may be a build number associated with the test. You can look for code changes associated with that build. How can I Get that input data from Jenkins or other place? For UI automation of web-sites ...


2

Run all the tests just right after the build as soon as possible, before deploying to the test environment. Developers should have feedback about their check-ins as soon as possible. Also you say the test-env is used for manual testing, why would you want to risk deploying a non working build. Certainly if you could have run the tests first. In short the ...


2

If QA and DEV environments are equal (have the same dependencies installed, the same build, etc.), there is no much sense to run acceptance tests on both of them, since it will be just duplicated execution and additional overhead in terms of analysing test results on two environments instead of one. Acceptance tests are the tests which provide you ...


1

to my experience in automation test, it is more valuable to run in qa environment but you should communicate with developer frequently on changing part which may affect your automated test cases so you can prepare your automated test cases during development phase and give priority to more static features of the product to prevent updating automated cases ...


0

To test the Native and Hybrid Apps, Appium and Calabash are the best options. You can test your app on both platforms i.e. Android and iOS using any of the above tool. Appium can be used if you are already familiar with selenium and free to use multiple supported languages for scripting. Calabash is mainly used with ruby language and have its own calabash ...


1

Run the MonkeyLab tests from the commandline: http://www.cloudmonkeymobile.com/monkeytalk-documentation/monkeytalk-faq#1.13 If you are a able to run a single test from the command line then wrap it around a bash script that loops 500 times. Example bash script: #!/bin/bash COUNTER=0 while [ $COUNTER -lt 500 ]; do java -jar monkeytalk-runner.jar -agent ...


0

JMeter Provides different Assertion types so you can easily apply an assertion to your request to check: Response body/headers/message/code Request duration Response size etc. See How to Use JMeter Assertions in 3 Easy Steps guide for detailed information on each assertion provided. You can check concurrency i.e. via Active Threads Over Time Listener ...


0

Your question is a little bit general, that's why I'll also give you a general answer. Concurrency can be measured in different ways. Let's assume you have a web-site where the users can execute some actions by interacting with some elements on the web-pages. Here if we're talking about concurrency, we are meaning concurrent (simultaneous) users interacting ...


1

The blog post is about determining whether Instant Pages renders web pages correctly. Or to be more precise, it is about determining whether Instant Pages renders a web page the same way that Chrome would ordinarily render a page. If Chrome renders the page the same way in both cases, but renders the page the wrong way, their test will not detect the ...


0

I am not sure on how to get the Selenium version through code. I dont think there are any methods to do so. But, the version is clearly mentioned in the CHANGELOG file that comes along with your Selenium installation. You can read the version from this file. Below is the content of the log file: v2.43.0 ======= WebDriver: Updating Native ...


0

Please post your frame html code. Make sure your driver is switching to frame successfully. Is Content your frame name? You can switch to frame using three different ways. driver.switchTo().frame(<frame name>); driver.switchTo().frame(<frame index>); // Zero- based index driver.switchTo().frame(<frame element>); // use driver.findElement ...


0

You should integrate your tests in to a continuous integration pipeline, and then you can automatically trigger the tests whenever there is a code change to your source code.


3

Short answer: Yes it is a bad practise, unless you have a very very very good reason, do not use implicit wait. This Stack Overflow answers really puts the difference in great detail. I once had someone on my team who thought it was a good idea, until I started researching why all our tests had such a long starting time. Somewhere in our setup the implicit ...


0

I suggest you to use fine reporting tool such as Allure framework. Here is an example of report: Allure is based on standart xUnit results output but adds some supplementary data. Any report is generated in two steps. During test execution (first step) a small library called adapter attached to testing framework saves information about executed tests ...


0

ATU Graphical Reporter is an Open Source Reporting utility for TestNG. It is basically a listener for generating customized graphical reports. Following reports can be generated by this listener. Line Charts Bar Charts Pie Charts Details from the report: An Index page - A Start Page, you can set any Description in this page A Consolidated Report ...


1

Please check the replies on the question asked here. The easiest way is to create database scripts which clean up and reset data whenever you're running a test suite. That way, you'll have the same starting point every time - so that excludes unexpected data as a reason your tests fail.


0

I found this article that describes Selenium architecture and how Selenium works. Quote from the article: WebDriver controls browsers that are running in other processes. Although it's easy to overlook it, this means that every call that is made through its API is an RPC call and therefore the performance of the framework is at the mercy of network ...


1

Yes, it most certainly does. Selenium can only address elements once they're loaded, but that loading (controls, ajax calls, ...) is depending on your connection (and browser). In fact, I had a perfectly working script with nice explicit waits for our test environment. But the execution on the production website went bad in places, because the ajax calls ...


2

I think the Op is asking two questions: If, in the version control system, the code in QA is tagged (or branched) separately from code in development, which version should you use with the Selenium tests? Where should the Selenium tests run: on the developer's desktop or in the QA environment? I don't have enough organization/business/technology ...


0

It's unclear which part will be "constantly changing". A lot of this depends on which parts of the source page will not change If the row number will change and the row id is dynamic but has part that doesn't change, you could use the following xpath as your locator: //tr[contains(@id,'rgvTransactions')]/td[5] Or an alternative css locator that does the ...


1

Sikuli with Robot Framework might be a good fit for you. Sikuli uses image recognition to identify and control GUI components. Sikuli automates anything you see on the screen.


0

Here is what we did at my company: write a webapp that talks to Gmail over IMAP. The webapp displays your inbox, or individual messages, in a form that is easy for Webdriver to process. It can also display individual messages.


0

First of all, if you get an exception in your test script, add a wait function (see the how-to via this link). That way, you'll only enter values in a control once that control is available. Secondly, if your page is loading very slowly even when going through it manually, it has nothing to do with Selenium. It seems like a performance and/or network issue, ...


0

is it any way to get object by combining UI elements in such way: hp.get(Widget.class, "Page name").get(Link.class, "Link name").click


0

Please check this if it helps.


0

We are human beings (developers, architects, managers and everyone involved in an IT project) we make mistakes. As PaulDonny mentioned earlier sometimes these mistakes can be costly and catastrophic. By finding these problems (and hopefully fixed by devs) the risk is reduced and the product is made safer to use. We don't add value to the product directly ...



Top 50 recent answers are included