-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White unable to find modal widows post latest nuget update #247
Comments
Are you sure that the exact same code on the exact same application worked fine in 0.12.0? |
yeah.. 200% sure .. it was my working code and a whole lot of automation was running before |
This is for a win32 app? https://github.com/TestStack/White/pull/221/files was an attempt to fix #165. This is likely the cause, would be good to figure a fix which works for both |
Can you copy the full stack trace from your exception above. I can't see the context from the screenshot |
at System.Linq.Enumerable.Cast[TResult](IEnumerable source) |
Through the Package Manager Console, i tried to uninstall 0.13.0 version and install 0.12.0 - the installation was successful, but running any test results in - Test Name: TestMethod1 Result Message: Unable to create instance of class QuickBooks.Tests.UnitTest1. Error: System.IO.FileLoadException: Could not load file or assembly 'TestStack.White, Version=335.0.0.0, Culture=neutral, PublicKeyToken=2672efbf3e161801' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'TestStack.White, Version=0.12.0.0, Culture=neutral, PublicKeyToken=2672efbf3e161801' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040). |
I have unlisted the package. It looks like i have an issue in my build version stamping process Uninstall, then reinstall v0.12. I will try to fix the issues and get v0.13.1 released by the end of the week Sorry for the inconvenience. |
Jake.. i uninstalled and reinstalled 0.12.0, still the same problem. Result Message: Unable to create instance of class QuickBooks.Tests.UnitTest1. Error: System.IO.FileLoadException: Could not load file or assembly 'TestStack.White, Version=335.0.0.0, Culture=neutral, PublicKeyToken=2672efbf3e161801' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'TestStack.White, Version=0.12.0.0, Culture=neutral, PublicKeyToken=2672efbf3e161801' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040). |
Can you check your references? Looks like maybe you have multiple projects both referencing white and they are referencing different versions |
I have fixed the versioning issue (it being stamped wrong), I still think that particular issue for you is due to two different projects referencing different versions and I also have reverted the window change that went into 0.13.0. I will release 0.13.1 tomorrow morning. |
Ok, please update to 0.13.2 (I had a mishap with 0.13.1 and it didn't publish properly). Let me know how you go, sorry for the delay. Have been busy |
Jake - i created a new project and got the latest nuget package and ran a simple test to check the updates from the package.. the result is here.. :( there is a some problem with the package that is being pushed Jake. Either it is not signed properly or something is going wrong. I am not even able to go back to 0.12.0 version because the same problem exists there as well. |
0.12.0 seems to be working for me now.. i shall stay in that version till the new version gets fixed. |
Damn, I did forget to upgrade the NuSpec as well. Though you should just be able to add a binding redirect or upgrade the castle.core dependency manually. Pushing out 0.13.3 to fix the NuSpec. |
13 really does seem to be an unlucky number |
Ok, that has been pushed. Thanks heaps for your patience. I haven't done a white deployment in ages and it is setup a bit different to my other projects which is why I missed the NuSpec. Thanks for the report. Let me know how you go |
This is a new issue in the new version? Sent from my Windows Phone From: Ashok Kumar Natarajanmailto:[email protected] Additional Inputs.. [screen shot 2014-06-12 at 12 26 53 pm 2]https://cloud.githubusercontent.com/assets/7577538/3254774/5fa1a460-f1ff-11e3-9af4-843019cc318b.png — |
White unable to extract DataItems (ListViewRow) #241 was the defect that was fixed by ilya and got delivered in 13 version .. still it is not working. |
Ok cool, thanks. Have reopened #241 and will close this issue. |
I updated my solution with the latest White nugget package and apparently found that GetWindows() which returns a collection of modal windows have stopped working with error an from the core itself. This sounds to be problem with White itself for me.
Please check and assist.
In the below screenshot, qbWin contains my parent window and i could confirm that, but latter when try to get the modal windows, the problem occurs.
The text was updated successfully, but these errors were encountered: