I am currently using QTP 9.2 with WPF , .NET plugins installed and selected.
I get the following script on record. This is a calender item . When i click the WpfButton , the WpfList is displayed , and i select a date in it(23rd item).
'WpfWindow("Countrywide eDoc Classificatio").WpfButton("PART_ToggleButton").Set "On"
'WpfWindow("Countrywide eDoc Classificatio").WpfList("PART_VisibleDaysHost").Ma keVisible
'WpfWindow("Countrywide eDoc Classificatio").WpfList("PART_VisibleDaysHost").Se lect 23
The Problem is that the script works fine sometimes and throws "could not find ("PART_VisibleDaysHost")error on otehr occassions. I tried applyin a wait in between but it didnt work.
Try looking at the object properties, stored in the OR, to ensure that they only consist of unique and identifiable (every time) values.
If you had to identify, in one word, the reason
why the human race has not achieved, and never
will achieve, its full potential that word would be "meetings".