Tag Info

New answers tagged

0

If you have a license for HP QTP give it a shot. You can even evaluate it for 30 days. On the other hand if you are looking for open-source tools, AutoIT might be helpful.


0

The height is calculated using getCssValue("height") property. I am not sure if it is the correct way to limit the count or is there any function which can limit rows? I am able to use table.size() to get the count of the rows which includes rows in the dialogbox (after scrolling down the dialog) whereas I want rows only screen on top without scrolling.


0

Do the elements have a VisibleOnScreen property? Or if you have access to the height property you can delete from the list the ones that don't matter... I'm just fishing here, never used it before...


1

WGet is a command-line tool used to download files. Here's a good tutorial on how it works; you'll need to call out to the command line from inside your test and execute wGet, then check the file it downloaded. How you do this differs depending on your setup (Java vs C#, Windows vs Linux, et cetera). Basically you want to execute the command wget ...


0

I found good and clear demo for you, it works fine for me: https://github.com/bootstraponline/calabash_android_example That example based on GitHub for android app.


1

Programs are great at waiting. If your using web driver you can easily add a wait clause like: public static bool WaitFor(this IWebDriver browser, By byLocator, int maxWait = 5) { for (int i = 0; i < maxWait; i++) { if (browser.IsElementPresent(byLocator)) return true; Thread.Sleep(1000); } return false; } ...


0

It appears on your site that the credit card form is loaded asynchronously meaning it may not be there if you don't have some kind of wait command. In the IDE you can add a command waitForElement and put your dropdown element identifier (id=cc_type_braintree_basic) so that it will wait for the element to be rendered before it tries to interact with it. ...


0

When I work with Selenium and drop downs, it usually looks like the following: command: select target: id=DropDownId value: label=label_id or value=Values_name


1

I'm the QA manager of Learni an education startup, and I'm a customer of applitools. Their brilliant app/sdk allows me to do exactly what you're describing, e.g adding one code of line, every time I want to take a screenshot, on the current selenium/appium code test you're already using, send it on the fly to their server, and when the test ends I go to ...


0

Plan plan plan!!! The greatest cost of automated tests is maintenance, and as the project grows it gets more and more difficult to do if the proper amount of planning wasn't utilized during the initial design of the test project. Whether an application is still under development or not, the first thing you should do (if you don't have one already) is write a ...


3

For really good, robust, maintainable UI automated regression, you need code. Using screenshots is bad for several reasons: Even with a fuzz tolerance built in to prevent things like the exact color of the display throwing false positives, there are too many trivial things that can throw a false positive. A change of display resolution will utterly destroy ...


0

You may find installation instructions on official Calabash repository actually. But you could get some issues. For successful installing follow this steps: Install Ant (1.9) http://ant.apache.org/ Install Ruby http://rubyinstaller.org/ Install the 1.9.3 version (not the 2.0.0 or higher yet). Install Ruby DevKit http://rubyinstaller.org/downloads ...


0

IMHO it is not always a good idea create tests based on UI, they are really hard to maintain, btw for your case you can have a look at SIKULI, it is an UI automate testing tool, it is perfect for your goal.


0

Ensure that the date field accept dates in the specified format ie dd/mm/yy or mm/dd/yy or yyyy. Ensure that the date field does not accept characters. Ensure that the day field accepts values between 1 and 30/31 according to the month. Ensure that the day field does not accept any values less than 1 or greater than 31. For example; day field should not ...


1

There are many different ways to do this, depending on the tools you have available and the way your server-side code runs. If you have a means to interact with the server via API, you can use that to test server side validation. Alternatively, you can use tools like Fiddlr to directly send parameters and parse responses. Some of the load-testing tools ...


1

Start by forgetting about the "micro-controller" and "embedded" parts and design tests like for any other system. Look at the specifications, explicit and implicit, and design tests o cover them. Test tools ? there are a lot of test tools that match your general description and can generate analog signals, RS232 (even your PC can) or digital signals, you'll ...


0

The four basic steps of any black box test are 1. Identify your oracles (How do you tell if something is a bug?), 2. Identify your "surfaces" (What are the variables that could change during testing?), 3. Identify your risks (What are the highest priority functions? - that will change as your testing progresses), and 4. Make a plan. For oracles, do you have ...


0

I never used it that way, but I guess you can do that with JMeter. Maybe this ?


1

You can have a look on Karma which is based on NodeJs and specifically designed for AngularJs. http://karma-runner.github.io/


1

Having a robust framework is always a challenge for an Automation Engineer. I had worked on a project in which, we added every single object into the repository and finally found the maintenance activity as a Herculean task. Also, maintaining a local OR for every script will add to more chaos. (I hope you agree to this) With the help of an Automation ...


2

Take a look at http://msdn.microsoft.com/en-us/library/windows/desktop/ms633494(v=vs.85).aspx, and http://www.pinvoke.net/default.aspx/user32/enumchildwindows.html This is a c# example, but you wrap this in a dll and import into QTP. Also, depending on the window you might be over-engineering a bit. If you top window is the parent, and the window you need ...


2

Can any one explain Assert.AreEqual(true, true) Verifies that two specified objects are equal. The assertion fails if the objects are not equal. Displays a message if the assertion fails. example and explanation? Very simple NUnit test: using System; using NUnit.Framework; namespace SampleUnitTest { [TestFixture] public Class SampleTest { ...


0

You probably need to use a Selenium JavascriptExecutor and call the command to get focus using JavaScript. If your Firefox was in non-native selenium events mode, then this would make sense. I would try Selenium 2.40.0 with Firefox 27 though, with native events enabled, just to see what happens, otherwise use the JavascriptExecutor as a workaround. I ...


0

As the other answers have said, there is no "typical" process. Everyone handles things their own way. That said, there are some common factors: most places will have some form of test plan repository. I've seen everything from a mix of documents and spreadsheets in a shared directory structure to the high dollar professional tools. most places will figure ...


5

The approach I've seen most often is to have the unit tests as a separate project in the application solution, so they can be run against production code as part of the build process, but are not included in the production code. Some of the reasons for the separation are: Logical separation. You want your unit tests to catch issues with initialization, ...


0

Firstly, Each company has own test process but it is typical in common. Secondly, each company has different development lifecycle so testing process differs. I can share with our current test process: Overview project structure Overview diagram of requirements Get Software requirements specification document Write test plan which includes the following ...


0

If the test code is excluded by a compiler option for the product version I see indeed no reason why this should be a questionable behaviour. On the contrary this is sometimes the only way to do unit tests, e.g. if you want to test static functions in C. There is noc other way to call them directly but from inside the translation unit. Secondly you can ...


0

This is an old thread, but now you can use Protractor, which is a C# port of original one Install-Package Protractor and it has a dependency on Selenium.WebDriver Install-Package Selenium.WebDriver


1

It is probably different for each organization/team/product/process, but here is a typical process I have used (starting from new functionality): Identify the key test parameters such as oracles, surfaces (variables like platform, inputs, outputs, etc), and risk areas. Explore the function under scrutiny at the time using multiple manual test sessions. ...


3

Like any other form of automated test, it depends on how you're invoking them and the environment you need to run. If you need a UI user session (which is the common setup) then you're probably not going to be packaging them with the unit tests. Some of the factors to consider are: CodedUI tests are slower than unit tests because they interact with the ...


3

If you have to support multiple versions for your software product I would keep the tests with in the same repository. Then the tests will version with the application itself. Which will make you able to run the tests for older versions with ease. Also you will want your developers to run and maintain the tests. For example when they need to change the ID ...



Top 50 recent answers are included