Hot answers tagged qtp
6
I have worked on both, and used QTP extensively before. It works best for teams that have one or two engineers who can create and maintain the test suites, and few more QAs with not so much programming skills can run the tests, and make minor changes. It's record and play (IMO) is better than selenium's.
Selenium is open source, so you are saving a lot of ...
5
In the HP > QTP > Dat directory there are XML configuration files for each of the plugins loaded into QTP. The .NET file is called SwfConfig.xml. In this file, you can tell QTP how to interact with the control types it sees. In this case, you can define the following:
<Control Type="ControlTypeName" MappedTo="SwfCheckBox"></Control>
Note ...
5
Note: Last I worked on QTP was back in 2008. My notes are based on that.
The most significant difference felt when I transitioned from QTP to Selenium was the programming / scripting language. QTP only supports(ed) VBScript, hence OO approach to test framework used to be more challenging for me. I still used Page object models. I used to create a text ...
3
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 ...
3
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.
2
Guidelines For Automation Framework Design
Introduction
A Framework defines a set of guidelines for all phases of test automation: Requirement Analysis, Script Design, Execution, Reporting and maintenance. A framework can be a wrapper around some complex internal architecture which makes it easy to use for the end user. It also enforces a set of standards ...
2
If you are looking for a spy for SAP GUI in particular, there is a integrated script recorder in SAP GUI.
You can access it via "Customize Local Layout (Alt+F12)" > "Script Recording and Playback...".
I also remember a SapGuiScriptingSpy.exe which I think came from SAP, but I don't remember where you can get it from.
2
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 ...
2
I Googled for "agentlib:jvmhook". The first link (http://www.learnqtp.com/forums/Thread-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 ...
1
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.
1
I am not QTP expert but one QTP expert told me once that it is best to not use Object Repo as -
It makes project heavy when it begins to grow in size.
You can not version control object repo
You can easily port script from one machine to other if you use
Descriptive Programming than Object Repo
1
It really depends on what the underlying technology. For Win32 there is Spy++ that ships with Visual Studio. For applications that properly implement the MSAA api's for accessibility you can use UIAutomation, so the tool for that is UISpy which is part of the Windows SDK. For managed .net applications I cannot recommend Hawkeye enough.
If the application is ...
1
There is an open source app you can get from here that works in a similiar manner:
http://uiautomationverify.codeplex.com
And microsoft has a UISpy tool:
http://msdn.microsoft.com/en-us/library/ms727247.aspx
1
Srihari... I'm also relatively new to QC. With regard to querying the QC DB, mostly I retrieve BUG data, and learned primarily through trial and error in the Dashboard module. Initially, I didn't know which columns to include so I just did a query to select * from BUG where bg_bug_id = <some bug ID I had logged>
Essentially, my base query on BUG is ...
Only top voted, non community-wiki answers of a minimum length are eligible
