Tag Info

New answers tagged

1

You might try WTFramework It seems like a decent starting place for python test infrastructure. I didn't end up using it because my tests ended up using more php and javascript. There are examples of using the page object design pattern.


0

I ended up writing my own Page Object framework which had some mobile-specific GUI automation features like locators by platform and other nice things so that my tests are platform agnostic. I'm considering open-sourcing it. Will post here with any updates on that, or if I find another Page Object framework in Python.


0

I believe that answers to your questions and more are in the The WebDriver Sampler: Your Top 10 Questions Answered guide. In particular: Get data from WebDriver Sampler into JMeter variable: You can pass data to JMeter via WDS.sampleResult.setResponseHeaders() method (body and message are being overwritten by the WebDriver Sampler). Once you set the ...


0

According to me test automation is in itself a project - test automation as far as I believe is writing a program that will be used to test another program. So how about you consult the other stakeholders or say the developers in your company. If there is a project where developers have changed over time, discuss it with them about their experience of the ...


2

I just set the Selendriod up last week with this guide on the official site selendroid.io/setup.html. It's a step by step since System Requirements to the first test case. I think it's a good kickstart, pretty straight forward. You could post for a specific question, if you are struggling in any step. Hope it helps,


1

You want to use component query. From Webdriver you can execute arbitrary javascript - that means you can use ComponentQuery to get things from a high level and then drill down with (maybe) xpath to get more specific things. This article helped me figure it out. for example you'd probably use component query to get hold of a control and a button in that ...


0

I think Sikuli approach (image/pattern matching with customizable similarity) is the best solution when it comes to visual intensive content as in big data applications, I am currently working with it on both web and desktop application test automation and I find it a great tool, am importing it in my java classes and creating test cases and suites as I ...


1

You can refer this link and let us know is this ok for you Link


0

I think you should try Ranorex 5.0 it's a great took to work with pie charts and bar graphs. It is based on dot net framework hence uses c# language, I am saying this because I have worked on this tool and work with bar graphs and pie charts. There are various cases in which we have to validate the tool tip on a bar graph and with the help of this tool it ...


0

There are two Type of Automation (in this specific Scenario) Unit Test Automation, in which we develop automation scripts for Unit testing. I have seen project where Jmeter and other tools are used and the automation testing teams doing this automation with the help of Developers. Function Test Automation, in which Automation team gets the product / ...


1

It's possible you're tackling a symptom and not the root cause? Do you have User Stories* and are they managed in some tool? Do you have acceptance criteria for each User Story? Do you formalize the acceptance criteria as Test Cases? Do you "link" each automated test to its corresponding Test Case? If you can answer Yes to all questions then all you need ...


2

I think we have two types of testers: Manual Testers (Write test cases, run manual test-suites, Processes, etc) Software Test Engineers (Developers who only write automated test suites) Personally I think you should have focus on one or the other. Its very hard to combine both into a single person and therefor manual testers should not do test ...


1

The exact answer to this question is opinion based, although saying automation testing is 100% the developers job or 100% the testers job is clearly incorrect. Just like there are many kinds of developers, and many kinds of testers, there are also many kinds of automated tests - and people discussing automated tests don't always agree what kinds of tests ...


0

Basically developers do test their codes, no question about it. However, there is a proper set of test processes in which a software should undergo and this is the job of a Software Quality Assurance Engineer. To ensure that the released software is stable, it is being tested through a series of software tests. For instance, Google has their SET(Software ...


1

Why not both? Tester has the test idea and the dev codes it up


0

I've written some of these frameworks in the past and have followed a few guidelines in writing the code, and in creating design documents. My basic view is that if I have left and in 6 months someone needs to work on this, would they (or I) have the information they need to continue to work with the tool? If the answer is no, then you need to document. ...


0

If the code is for Selenium WebDriver, the documentation process can be greatly simplified with automated tools. Selenium supports Java very well, so unless you are using another language like C#, javadoc could be the way to go from a development maintenance point of view.


2

Eugene S, I had a similar problem with testing UI generated by ExtJS library. The solution I found useful was to create separate classes for more complex visual components. For instance, for data grid components I have created ExtJsDataGrid class that let me pick up a specific cell in the grid, abstracting me from obscure details in Selenium (dynamic ...


0

What does that mean in terms of automation tools like Selenium? In short some collaboration like qunit + selenium to run and collect results. Will DOM based tools become useless? They are tools. As a tool if you lack the skills to use it then it will remain a useless tool for you. Software engineer picks tools he can handle and are well suited ...


2

I don't see DOM based tools going away until DOM itself goes away. In general this is getting more and more complex with graphics, animations, tricks to increase speed, etc... but the underlying structure of the browser and html is the same. The tricky parts are really just timing as the DOM is modified based on user interactions to avoid page reloading. ...


0

Others have had had very good points, but I have one more thing to add to managing a huge amount of tests. Make sure you have a way to take one step ( ore few steps) backwards from the test results to form groups. Generally forming groups by functionality of the software works, and you might need to add groups for end-to-end tests etc. that do not fit ti ...


0

If you prefer to use PHP you're stuck with using the PHPUnit implementation of the bindings. Unfortunately I'm not aware of any BDD PHP framework that supports mobile devices. Information about php-client can be found at https://github.com/appium/php-client .


0

Often Selenium tests tend to become a bit messy, mainly as naturally they are initially written in a quick manner, just to progress through the scenario and as a proof of concept. In addition, extensive usage of XPATH can make the test look even more cryptic than it is already. As a result, the scripts become very hard to understand, at least from the first ...


1

Yes, definitely, documenting your project is absolutely necessary. But I'm not talking about for automation tests specifically, but for all programs in general. Selenium automation tests are programs just like anything else, which means that all coding standards within your company should also apply. The quality of the automation tests should be as high as ...


0

You can link up your WebDriver tests to use PhantomJSDriver and catch those pesky JavaScript errors that might cause a manual test to fail, as well.


0

Generally, it is bad practice to set the WebDriver instance as static. You should create a base class that each of your test classes extend so that each test class has its own instance of WebDriver to be used (this is especially important with parallel execution), then just declare/define your WebDriver variable within that base class.


0

The short answer: No. The long answer: There may be, but it would probably come in the form of an IDE plugin that utilizes one of the popular unit testing frameworks. If you come up with no solutions, I would heavily recommend looking into TestNG, as that is, in my opinion, the best unit testing framework out there. I really wish there was a .NET ...


2

The Microsoft stack is surprisingly still very popular, regardless of other cheaper alternatives. TFS is basically the central repository. Call it git and Jenkins rolled into one. It manages version control as well as builds. MTM is just Microsoft's test management tool. This is very useful for linking a manual test that has been created within MTM (its ...


1

You can try appium, https://github.com/appium/appium I believe there is some support for web testing however it may not be stable at the moment. Another option would be to try a service like https://www.browserstack.com/automate


1

MS has several command line tools that will run tests. There's more information about how to use them and how to choose the tool you use on the MSDN site: http://msdn.microsoft.com/en-us/library/ms182486.aspx I'd suggest reading the documentation and experimenting with the different tools to decide which of the tools works best for your situation.


0

Googling for 5 seconds found http://selendroid.io/ - selenium driver for android. Does it help? What else you need?


2

One thing that is often overlooked is to make use of your coverage tool(s) for more than ensuring that every line of code gets tested - if you configure your tool to produce a separate named output file for each test/test sequence then you can quite easily scan these for lines/blocks that are being tested in more than one test. The other key point is - as ...


3

Naming and separating out your reused parts (tests, keywords for maps). I call this "common" tests/maps. If you already have alot of tests automated then this will be more tedious, but pulling out your unique maps and naming them appropriately will identify the actual controls that are being duplicate tested. Test Naming conventions that follow the ...


4

This problem hits everyone with a decent-sized application sooner or later. Some of the things you can do to help manage your test cases more cleanly: Use a self-documenting system - if you're coding Selenium with C#, use the MS XML commenting and something like Sandcastle to publish the documentation that's generated on build to a common site. That way ...



Top 50 recent answers are included