Sourov19 Posted August 18, 2016 Share Posted August 18, 2016 I am testing windows app(calculator given by AutoIt). I have written a scritp for percentage(%). Then addend it in CalculatorGUIMap. After running my test case following error message is showing... Quote Dictionary does not contain key '%' This is my dictionary... # GUIMAP_61 is the mapping for Calculator version 6.1 (Win7 version) GUIMAP_61 = { "0" : "Button6", "+" : "Button23", "=" : "Button28", "%" : "Button26", // I have added } I have added it for Standard mode. Calculator mode is also checked. But not getting any point. Can any one help me please. Link to comment Share on other sites More sharing options...
johnb910 Posted August 19, 2016 Share Posted August 19, 2016 hi. Read info here http://stackoverflow.com/questions/2138982/what-happens-to-c-sharp-dictionaryint-int-lookup-if-the-key-does-not-exist Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now