I am new to Test Advantage . I am using Test Advantage 7.3 with QTP 9.2
I am not able to click on menu.
I want to click on Close button on the top .
Swfwindow("PTM 2010.2 (8.0.0c)").SwfToolbar("_MainMDIForm_Toolbars_Dock_Are").
ClickToolbarTool "ToolbarsManager,Toolbars,ExcelUIToolbar","Close"
Attached is screen shot for .Net Spy and Application
Hello,
I am going to assume that your application is running in 32 bit mode, as if it weren't nothing would record for any control, yet you mentioned that it did record for other controls. That being said, I believe it best that I refer you to our developer support, if they samples record and replay fine, and other Infragistics controls on the same application record and replay fine, and it's just these toolbars that are not record or replaying correctly, then there is something deeper that is likely wrong that needs to be looked into.
Hi Michael
I am not getting any exception errors. When I run it only says object does not support
this method.
SwfWindow("").SwfToolbars("pnlBottom_Toolbars_Dock_Area_Bottom").ClickToolbarTool "UltraToolbar1", "Go"
I have checked as TestAdvantage match your NetAdvantage version coz other parts
of the application with infragistic controls are recording fine.
No I am not using trial version of Test Advantage
No I am not using WinControls in Webapplications.
Our servers are running in 64 bit but application is not designed to run as 32 bit
I have tried recording and replaying against the included samples and it works fine.
Attached is the window screenshot
Typically if it is not recording it is likely either setup or environmental in nature. So let's start there with some of the basics.
First are you getting any exceptions at all on record or replay. If so please include the exception text.
Second, does your TestAdvantage match your NetAdvantage version in your application. IE you said you were using TestAdvantage 2007 Volume 3, is your application using NetAdvantage 2007 Volume 3.
Is your TestAdvantage a trial version, and if so could it be expired?
Are you running in a 64 bit environment, if so is your application specifically designed to run as 32 bit, if not it is not expected to work. Most application by default run in the best mode for the system architecture that it is running on, but QTP cannot record or replay properly against a 64 bit application, this is a known limitation in all version of QTP. You can typically verify this if QTP can record and replay simple actions on the Windows form itself(Activate,Move,Resize), then this should not be the case.
Extremely rare but has come up, are you using the NetAdvantage Win controls in a web application. Generally not supported, but depending on the version of TestAdvantage varying degrees of success.
Have you tried recording and replaying against the included samples, does it work correctly?
As to your latest sample, clicking on lets say the "Go" button should be something like :SwfWindow("").SwfToolbars("pnlBottom_Toolbars_Dock_Area_Bottom").ClickToolbarTool "UltraToolbar1", "Go"
You don't show the window so I can't verify that, but the action and the parameters should be correct.
Thanks for the reply . But its not working.
QTP is not recording at all on Ultratool bar so i had to hand code to find out if the toolbar exist
and the toolbar key exit.
I was able to confirm that ultratoolbar exist and inside that key Go for the tool exist .
Attached are the new screenshot for spy and toolbar which might give more insite .
Let me start off by saying in almost every scenario, you should be able to record against any toolbar tool and it should record the proper actions and parameters that you will ever need. In looking at your action it appears to be likely hand-coded, would you be able to included the recorded action of clicking on the tool. In looking at your image ClickToolbarTool appears to be the correct action as the tool is a button, and therefore would be a Click based Action, and it appears to be on an UltraToolbar and not a Ribbon as was later suggested. But the first parameter should only be the Toolbar key and if it was on a drop down, which it is not, comma-delimited for the path of dropdowns to the tool. You don't show the Toolbar key, in the image, but I am guessing it is either "ExcelUIToolbar" or some derivation of "XLeRate Toolbar". Also it appears that the Close button is MDIMerged, in which case it should likely have been recorded with a dollar sign to denote that such as "$Close"
Let me know if that helps, and if not what the recorded action was against the tool.