My automation suite was running fine till yesterday but today,
i am either unable to record or run the test.
I got the update that the application has been upgraded with 10.3 version of control set .
I was using 10.2 v of TA so far, please let me know which version will be supported for the new controls.
Thanks in anticipation :)
Hi,
I would be curious to know what assemblies are loaded in when the test is going on. My gut instinct on this is telling me that your developers are using the Version free assemblies of NetAdvantage, and as such to test them you will need the version free of TestAdvantage, which as of 10.3 are included, although you do need to manually copy the assemblies in place.
Prior to doing this I would recommend confirming it, either with your developers directly or with ProcessExplorer to see what assemblies are loaded when you get this exception. ProcessExplorer is a freeware product that you can download from Microsoft technet or sysinternals, that is like a superchanged version of the TaskManager.
To check the loaded assemblies:
Start QTP Open up Process Explorer Select the AUT process Make sure the lower pane view is displaying DLL’s, either simply (Ctrl+D) or View->Lower Pane View->DLLs Make sure the data is fresh, IE the update speed wasn’t paused (Ctrl+2) or View->Update Speed-> 1 second Make sure the Columns Name, Description, Version, Company Name and Path for the dll’s are visible via right clicking on the column in the lower pane view -> Select Columns -> DLL tab Record the data supplied via (Ctrl+A) or File ->Save As…
The last step of Recording the data supplied you will only need if this isn't the issue and we need to look at this more, but what I imagine you will see is Infragistics NetAdvantage assemblies loaded, without the .v10.3, you will likely also see TestAdvantage assemblies, which can be differentiated from the NetAdvantage ones by QTPServer in the name. Those TestAdvantage assemblies will have v10.3. If that is the case then your developer is using the version free assemblies of NetAdvantage and you will need to use the version free assemblies of TestAdvantage, which are supplied in version 10.3, under the TestAdvantage installed directory called Version-Free, with a txt file denoting how to use them.
If this isn't the issue, if you could post the text of loaded assemblies from ProcessExplorer it may help in identifying the underlying cause.
I hope this helps,
Thanks Ammar....
tried with the solution posted , but to no avail..
I got the follwoing errors
Could not load file or assembly 'Infragistics2.Win.v10.3, Version=10.3.20103.9000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies.
The system cannot find the file specified.
you need to get 10.3 version of TestAdvantage. you can find the installer here: http://ko.infragistics.com/dotnet/testadvantage.aspx#Downloads
After you download the product, run the version utility from the Start Menu and disable TestAdvantage, then run the install and verify that 10.3 is the current version using the version utility.
Let me know if you have any question.
Regards,
Ammar