Dan Snell
  • Member for 10 years, 9 months
  • Last seen more than a month ago
How to download a file using Selenium's WebDriver?
0 votes

An approach that I took I took recently to this was to capture to response via fiddler. In my case I am making a call directly to the export handler in our application. I have wrapped the selenium ...

View answer
Not getting all links from page
2 votes

I believe you are actually getting all the links from the page I think what you are seeing is that when you go to print them out you are getting the String representation of the List<WebElement> ...

View answer
How to select a cell in a tableView thats inside an alertView in UIAutomation?
2 votes

You may want to take a look at the index position of the cell you are trying to tap. I am guessing that: target.frontMostApp().alert().tableViews()["Empty list"].cells()[2].tap(); The [2] is ...

View answer
Upgrade SilkTest automation scripts to work with IE9
3 votes

If IE 9 is breaking your SilkTests you may need to check with the vendor to see what support they have. It may or may not be supported yet.

View answer
Type mismatch: cannot convert from element type Object to WebElement
Accepted answer
2 votes

The problem is that you are not declaring your Lists correctly. You need to specify the type of object they should contain. In this case they need to be List<WebElement> and not just List. ...

View answer
How to find broken links using Selenium IDE
0 votes

The approach I took in was to use Selenium Webdriver to collect all of the links on a given page. I then used a simple http request to get the response and check it. So it looks something like this, ...

View answer
TDD and client-server interactions
3 votes

Lets assume that you go with the TDD approach to writing your tests. In this case you should be focusing on writing tests for the code you are implementing. If in this case you are working on client ...

View answer
Performance Testing of data retrieval from backend
0 votes

So before you start going down the route of tools, I would ask yourself how often will you need to do this. If once or twice your best tool is a good stop watch and a spreadsheet. Then ask if you ...

View answer
Scrubbing Production Data For Test?
1 votes

It is considered a good practice to scrub any identifying information as jruberto noted. We also put different protections in place to such as dead drop mail servers for internal environments and ...

View answer
How to pass two strings (Username and Password) one by one in the two different text fields (Username and Password) in webdriver (Java)
Accepted answer
4 votes

So if you want to stick with String[] for you two username and password values here is one approach. Instead of your current loop I would use a traditional for loop and access the array elements by ...

View answer
XPath not recognised in page object model in WebDriver
Accepted answer
1 votes

There are two parts to this. The first is that you need to be sure that your xPath is correct. One way to validate that is to use a tool like Firefinder (a firefox extension for firebug). Navigate ...

View answer
What are the key properties of a great QA team member?
45 votes

Testing aptitude Willingness to ask questions Ability to negotiate Technical ability (reading and writing code) Strong communication skills Curiosity Tenaciousness

View answer
Testing Exchange Rates / FOREX in an accounting app
1 votes

I would hope since this is a financial application there is some sort of auditing you could utilize. If not I would ask to see if it could be injected into the app if you can't control the feed in ...

View answer
Automated White box/backend testing for a Test Engineer?
7 votes

I am working under the assumption that you would be familiar with the language the tools are being written in. If the team you are on already is writing unit tests a good place to start might be with ...

View answer
How do you write a great bug report?
7 votes

A clear title - I want to be able to be able to tell at a glance without going into the report itselt what I am looking at. Description of the bug - this should be as concise as possible. ...

View answer
Is it possible to connect to a Test Resource in HP ALM as a database?
1 votes

If the file is available on the network you might be able to set up an DSN to use with and ODBC connection that you can use with the ADO objects. Here are a couple references that might help Connect ...

View answer
How to configure HtmlUnit Driver
Accepted answer
3 votes

The issue I had is that the HtmlUnit driver requires works a bit differently than the FireFox, Chrome or InternetExplorerDriver. Those drivers will get started by the application that is calling them....

View answer
Unit Testing: Windows Forms using MS Visual Studio 2008
Accepted answer
3 votes

To set up your unit tests they need to initialize all of the variables. They should end up looking something like this: Code To Be Tested: public class Class1 { public int CombineValues(int a, ...

View answer
Is it necessary to test third party tools?
2 votes

It is always necessary to validate how your tools are working in conjunction with the rest of the application workflow. In your case it sounds like you are already testing the inputs that your are ...

View answer
What is the best way to have a SpecFlow project run across multiple browsers?
2 votes

It appears that NUnit http://www.nunit.org/index.php?p=testFixture&r=2.5 now supports parameterized test fixtures. This may allow you to create a test that will do what you need. This SO answer ...

View answer
What free Kanban boards link with TFS
Accepted answer
1 votes

You might take a look at this project on Codeplex for a WIP board that you could use in as a Kanban board. It appears to be process agnostic. It does not appear to have moved out of Beta 2 so I am ...

View answer
Can we auto create TestCases from the PBI Acceptance Criteria?
1 votes

There appears to be a VS Powertool TFS Tester Power Tool-Auto Create Test Cases from PBI Acceptance Criteria in beta that will allow for this to be done. http://visualstudiogallery.msdn.microsoft....

View answer
Prepare TestComplete project suite for submit
Accepted answer
1 votes

It sounds to me what you are looking for is a policy suggestion regarding your check ins. While I have not used TestComplete and Perforce my general rule of thumb is to check in what another user ...

View answer
Verify text present in jquery dialog box
4 votes

It sound like you need to do an explicit check on the DOM because the page state is changing after you it the save button. You will need to recheck the DOM for the element post save. You could try ...

View answer
Why does IE9 running WebDriver scripts gets out of focus if other applications are open?
0 votes

One of the approaches that I have taken to running any sort of UI automation is to run it on a separate VM from my development box. This allows me to both keep working on my existing code plus ...

View answer
Is there a way to shorten the time Selenium2/Webdriver takes to look for an element when a failure is expected?
Accepted answer
4 votes

I have not used the java implimentation but can you utilize the ImplicityWait method to configure the timeout? This is a c# example that gets set in the Setup stage of the unit test. driver.Manage()....

View answer
Looking for a content-aware library for regression testing of PDF files
1 votes

While not precisely a library in the past I have used Beyond Compare to do this sort of comparisons. It supports being scripted. I essentially created the script which drove the how I wanted the ...

View answer
MS-SQL server sql test automation
7 votes

Another approach that might help with the portability is to run you SQL from an application test harness. If you use the SQL inline with this you have the ability to take the exe to any installation ...

View answer
Is FitNesse the only DSL for Selenium, or is there another DSL available?
0 votes

I believe Cucumber is an alternative. There is also an artical on MSDN about doing acceptance testing with IronRuby and RSpec with RSpec filling the role of FitNesse I believe. I have not used any ...

View answer
Netsparker community edition: how to start with it?
4 votes

I think much like any new application, once you get it up and running walk through any demos that may be provided. If there are forums you might want to look at those as well. Clearly as their site ...

View answer