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


4

A link (A tag) does not respect the "disabled" property as per the HTML spec, so if you have a "disabled" link then your developers have done something special to make it that way. Generally a "disabled" link is either not a link at all (text with styles applied to it such as a blue color and underline) or where the default behavior is overridden via ...


4

I don't think that QTP 10 supports IE9, it doesn't appear in the PAM. As far as I know support for IE9 was added in QTP11 via some patches.


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

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

Anytime ordinal position values for x,y coordinates or indexes are used in a test script there is a high probability of failure. Not only will the test throw a false positive if the object is moved, but also consider different screen resolutons, and different devices. In general ordinal values for objects is generallly not a good practice in robust test ...


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

I found a partial solution to your problem. You can change the Key Bindings with Tools>Options>Key Bindings. Unfortunately, you cannot use the Backspace as new shortcut key, because the interface thinks you want to delete the previous character (try it if you want, I wasn't able to do this in QTP 10). So we have to work around this: Close QTP Go to the ...


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

I Googled for "agentlib:jvmhook". The first link Could not create Java Virtual Machine suggests that your problem may be related to having installed QTP. Someone in that forum said, "There is a document from HP about how to fix your issue: http://support.openview.hp.com/selfsolve...t/KM543247". I am unable to access that link, but perhaps you are. I do ...


2

I hope this helps. http://www.qtpworld.com/index.php?cid=77 The site in general is really good and on the left menu you have all the main blocks of QTP. I do have to say though, there are the versions 11 and 11.50 which have some slight changes... Thanks.


2

SoftwareTestingHelp.com now has a Free QTP / UFT training series comprised of 27 detailed videos Last Updated: "February 7, 2018". This online free QTP training article series is designed for beginners as well as advanced users. Check it out: 27 HP Quick Test Professional (QTP) Training Tutorials by SoftwareTestingHelp.com QTP Introduction: Tutorial #1 – ...


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

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

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

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


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