Hot answers tagged

8

I do not know what features QC delivers for running automated tests, but this is what I would do to maintain a Selenium test-suite: As a test runner for Selenium just use a unit-test runner in the language you are developing your tests in. Most xUnit-tests runners generate the same result files, which can be parsed by report generators for reporting. To ...


5

Google freelance websites. Try freelancer.com Elance.com Odesk.com And there are many other sites for such services. Find help on forums like softwaretestingclub.com


3

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 ...


3

There are many sites like that: utest.com Amazon's mechanical Turk: https://www.mturk.com/mturk/welcome Freelancer.com elance.com I got them by 15 seconds of googling for title of your question. There are more, but you get the idea. Disclosure and warning: I never used any of them in any way, do your own research (google for reviews) before signing in.


3

Numbers in computations Exponential representation of numbers is used for Double data type (15 significant digits, so called mantissa, and E-part, so called exponent). Let's see your example 15525.22352000e25. It is converted to Double because it is greater than the biggest integer data type Long (values from -2,147,483,648 to 2,147,483,647) There is ...


3

This was surprisingly difficult to track down. VBScript does not allow a variable to be declared and assigned in the same statement. You need to change your code to Dim plus plus = 10


2

You must use Java Add-in for QTP to recognize the java objects.


2

Insight objects can contain the image either internally (when created during record or learn) or by supplying an image (this is probably what you're looking for). When supplying an image you need to put in in the test object's ImgSrc property, this can done either by using descriptive programming thus: InsightObject("ImgSrc:=C:\pictureOfImageA.jpg").Click ...


2

The question is too broad, however I will try to answer as best as I can. A framework is a combination of predefined process and components that can be used to write actual automation scripts. Following are the critical features of any automation framework Test GUI Object Repository - Any UI automation will have objects to interact with. These object ...


2

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; } ...


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

@Imen: I know below mentioned reporting techniques. And more important is how you want your reports (Line by line/step by step execution report, class/method level report, etc..?). What's the best appropriate method used by Selenium Testers to generate tests reports? Selenium will support multiple reports generation techniques. Testers will be using ...


2

If it's just a counter (or another single value) that changes, track it as a variable in your test method and concatinate it. driver.findElement(By.Xpath("fixed path" + counter + "fixed path 2")); If that's not enough, check this thread for some other tricks. It's basically the same question as yours.


2

If you have a support contract and an account for the HP Software Support Online site, you can find the Product Availability Matrices for QTP/UFT in the given link here According to HP Documentation, IE 11 is not supported for QTP 11.0. The first version to support IE 11 on Windows 8 is UFT 12. The first version to support IE 11 on Windows 7 SP1 is also ...


2

go to Computer>Properties>Advanced system settings From Advanced tab choose Environment Variables From System Variables delete JAVA_OPTIONS, JAVA_TOOL_OPTION and IBM_JAVA_OPTIONS Re-Run Application. Works for me while trying to run JMeter On 6/5/2014: Just to add- if the same environment variables exist in User variables list then delete them as well ...


2

Seems Version One has an API which should let you build support for any tool. The tools you name are not yet on the Version One integration list, but depending on your requirements it might be easy to implement for you team themselves. From the Version One integrations page: As organizations begin to scale agile VersionOne’s open, web-service API and ...


2

So to select value from Autosuggest list, first you need to make sure atleast the value which you want to select or the position of that element in the list. Than you can click on that perticular item by either taking the text validating it with the desired input or we can directly click on the 4th position element. Also for the same case if it all you are ...


2

I don't use uft and they seem to hide a lot of their documentation, but per http://uft-help.saas.hpe.com/en/14.00/UFT_Help/Content/User_Guide/Und_Chkpt_Statements.htm it looks like you should just pass a Checkpoint to the Check without the = true. Otherwise you're actually passing a boolean comparison to Check rather than the actual result of a Checkpoint ...


2

I would suggest to go for Selenium. Selenium is an open source tool and requires a lot of coding in order to perform automation testing. For example, you have to write functions for file operations (in order to read and write from the files). Whereas QTP being a paid tool, has many inbuilt functionalities like file operations, capturing screens and many ...


2

They should be marked as succeeding, not failing. The test itself is to validate that low privilege users can't access things that they aren't permitted to, so a successful test is one in which they are unable to access the resource, and a failing test is one where they can access the resource. The test case should be written as such, and not rely on the ...


1

For that you can write descriptive or directly drag and drop that link from OR and add event in the last for click. For example: Browser("Google").Page("Google Search").Link("Help").Click


1

Here is how I solved this. Would love to hear better solutions: Set WshShell = CreateObject("WScript.Shell") WshShell.SendKeys("+{TAB}") 'shift + tab wait(1) WshShell.SendKeys("{RIGHT}")'right arrow wait(1) WshShell.SendKeys("{RIGHT}")'right arrow wait(1) WshShell.SendKeys(Chr(13)) 'enter wait(1) WshShell.SendKeys("o") 'o


1

Good luck in your intention. The most popular proprietary/paid performance testing tools as for now are: HP LoadRunner Borland Silk Performer Microsoft Visual Studio Load Testing Framework Each tool has free trial so you should be able to perform your own assessment, Loadrunner seems to be the most popular one. In regards to free/open source tools, ...


1

QTP 11.0 does not support IE11. The first version that supporto IE11 is UFT 12.


1

Putting in arbitrary sleep times is usually a very bad idea when it comes to test automation. Instead of putting in sleeps between test steps (or test cases), it is far better to put in checking mechanisms to ensure that the system under test is ready for the next test step (or test case). Here's a generic example: Do Step A sleep 10 seconds Do Step B The ...


1

We are looking for a test management tool similar to Quality Center I would actually suggest that the equivalent tool does NOT exist. My experience over the past few years is that you have to pick the programming language and the test automation framework within that language. Even with test frameworks though, you will still need to manually write the ...


1

I also use Tosca Testsuite. I can create Execution lists, do distributed execution, link to our CI and have the risk contribution of the test case. and use the other features, like service virtualization, distributed execution and test case design. http://www.tricentis.com/solutions/testing-with-selenium/ I am not sure if it actually does more than you ask ...


1

Don't forget Serenity aka Thycidides (http://thucydides.info/docs/serenity-staging/) It is in that sense a test management tool as it excels in creating a living test documentation for you which is also a great test report. You can use it with JBehave or Cucumber or just with plain jUnit. It depends on maven or grade to run the tests.


1

Adding to Niels answer that CI-Servers like Jenkins are the tool of choice for automated test execution (which I strongly support), I like to point out that there are also plugins available for transferring the test results from Jenkins to a full blown test management application for archiving and reporting as well as merging them with other test results as ...


1

I've used Google Chromium blog in the past, it is a repository of all the older builds. http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html Change your settings to manual update to newer versions, this will prevent automatic updates.


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