Tag Info

Hot answers tagged

5

IMHO, a team lead who is a developer with less knowledge in testing, is the wrong kind of person to be selecting a test tool. Do you have any QA Professionals on your team - perhaps someone with test tool experience? Or, lacking that do you have anyone on the team who will actually be tasked with using a test tool? I would suggest you turn to them. If ...


4

The main differences between Appium and AndroidDriver/iPhoneDriver are architectural. The AndroidDriver/iPhoneDriver work the same basic way - they are applications you launch on the phone that create a webview that you can remote control with selenium. The limitations to this approach are: No control over hardware/operating system. Webviews are not a ...


4

In your comment you mentioned that the element is within a <frameset> \ <frame>. To work with any element within a frame, you need to first switch the context of the driver from the main page to that frame: driver.switchTo().frame("foo"); In this example "foo" would be the name of the iframe. You can also do it by index if the frame has no name ...


4

If I understand correctly, the only thing that makes this scenario a challenge is the use of the "live feed". Thus, stub out the live feed. Replace it with your own "non-live feed" and you end up with predictable states where your expected calculation results are truly predictable. Your "non-live feed" can be generated by hand, or if you are automating ...


3

Browsermob-proxy could be used to blacklist the GA hosts, so the code isn't even loaded. https://github.com/lightbody/browsermob-proxy It integrates well with Selenium. Here is a general purpose talk describing using BMP to blacklist cruft that can slow down automation (Facebook & Twitter widgets are specifically mentioned, but I'm sure GA can also ...


2

We've gone through a very similar process over the last few years and I can share some things that have worked for us. What to Test There are a lot of facets to web apps and there's a lot of benefit in testing behind-the-scenes code, but the best place to start is usually the web interface (so browser automation tests). This will help you identify where ...


2

There are a number of tools that can do everything you want. Do you have a specific language/programming environment you prefer? I prefer RestSharp and json.net if you've got visual studio and C#, however there's nothing built in to do the performance stuff unless you have visual studio ultimate in which case you can use the load testing tool. As for the ...


2

As long as you make sure the element you want to click is actually ready, then it will work reliably. There are ways to find elements without throwing exceptions by using try-catch conditions inside of loops. For example, this method I wrote (which can be simplified depending on what you use if for) will return a WebElement and it makes sure that it's ...


2

For functional testing, you should have no difficulty with automation. The SSL client authentication prompt is simply another element of a web page, as is the signed control. You will likely need different code for the ActiveX control vs the Firefox add on and include logic to determine which path your functional automation follows. The certificate to select ...


2

CSS selectors can also match strings that start with, end with, or contain a certain substring. For example input[id^="E_DOS_TITEL"] will match an input element whose id attribute starts with the text E_DOS_TITEL. The ends with comparison operator is $=, and contains is *=. The example provided above should work as long as it's the only input element ...


2

I don't see why this couldn't be done if you have a code driven Selenium test suite. You would need to implement a method run on test failure that adds a bug to Bugzilla using their HTTP REST API. For the first step, if you are using Java, see this answer on taking a screenshot when selenium fails and the referenced blog post. You need to similarily ...


1

A little hacky, but might work: You do the SendKeys(), and then wait with a WebDriverWait. I don't really know the C# syntax, but should be similar: (new WebDriverWait(yourdriver, 10)).until(visibilityOf(theDropdownWebelement)); This would throw a TimeoutException after 10 seconds of not finding the dropdown. Having wrapped all the process in a method, you ...


1

Such Intermittent faults are the hardest ones to debug. What I would like to suggest is to look around: Run tests under Fiddler. This tool may help you to find http requests with errors. Also, it would be helpful to find the request which gets the suggestion list and reissue it several times (there is an option in context menu – reissue request.) When ...


1

This is how I approached a similar situation in validating a PDF creation service. Convert the doc -> PDF using an automated method you control. This will be your oracle. Use your conversion process under test Do a file comparison between the two PDFs That method seems to me the easiest to implement, but it may not meet your test needs. Another ...


1

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 some manner. You should be able to determine what the selected or triggered price was. You can use the total transaction value against the quantity to see if ...


1

I found a pretty simple way to do it for Chrome and Firefox using the Google Analytics Opt out Add ons, which are maintained for basically all browser. Refering to this SO question about browser plugin testing with selenium, I was able to open a GA/free selenium session with the following code for C# var options = new ChromeOptions(); options.Proxy = ...


1

For web app testing, I am giving some points/suggestions according to my experience : UI Testing : It should be done on various configurations like Windows XP/7 + FF, Mac OS + Safari and so on. Functionality Testing : It should be done for testing the functionality of the web app. For Ex. What should be the nest step if I click on a particular link ? etc ...



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