Hi, I have a script where i am selecting an item in a dotnet application using SwfWindow("...").SwfObject("...").SelectItem "...","..." This was working fine, but when i transfer my script to other sysetm and execute it getting an error "object doesn't support this method" and in some other machine its giving "general run error". I have installed TestAdvantage also as this application have infrgistics controls, but still facing the issue in few particular machines. Please let me know if any one have any solutions for this.
Thanks In Advance,
Abhisek Mohanty
Hello Dave,
Please find SwfConfig.xml file in the attached zip file.
Thanks,
Hello Abhisek,
Thank you for your response. The information you provided makes it clear that TestAdvantage isn't even being loaded, which is why you're getting the error messages you mentioned previously.
I'd like you to provide me with a copy of the SwfConfig.xml file. You can find this by navigating to "<QTP Installation Folder>\dat\". I would recommend putting it in a ZIP file before attaching it.
Hello Dave,I tried executing scripts under "C:\Users\Public\Documents\Infragistics\TestAdvantage for Windows Forms (HP) 2011.2\Samples\CLR4.0\Scripts" and was getting the following errors:
And as you sugested when i see the processes in proces explorer for the AUT i see 5 processes starting with Infragistics but doesnot include the word "QTPServer" in the name. DLLs starting with infragistics are:
Same is the case with my AUT.
Thank you for your response. Your version of TestAdvantage and NetAdvantage match, so that's not the cause of the issue. Have you tried opening the sample scripts that come with TestAdvantage to see if they run without any errors?
It might also be helpful to put a breakpoint in the script and step through to see if the TestAdvantage DLLs get loaded. You can check which DLLs are loaded by a process by using the free Process Explorer from Microsoft. (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx)
Once Process Explorer is running, type CTRL+D to display the list of loaded DLLs in a pane on the lower half of the window. Once you select your AUT's process in the upper pane, you will see a list of DLLs in the lower pane. The TestAdvantage DLLs will start with "Infragistics" and include "QTPServer" in the name.
Hello Dave,When i go to one of the infragistics dll and right click and go to properties and goes to the Details tab, version is mentioned as 11.2.20112.1000. Let me know if this what you required.Thanks,Abhisek Mohanty