Haiyangwhu
10 years agoContributor
Control type issue
Hi,
I have a test case with simple flow:
1. click on button A, dialog B will be prompted
2. get buttons from dialog B and perform click on it
Dialog B is a WinForm object, and most of the time the flow works well, but sometimes it doesn't because test complete / execute doesn't know what control type of dialog B is, and treats it as a generic Widnow control. While window control doesn't have extented & .NET properties, that's why couldn't find dialog B by mapped alias.
Why above issue occurs, and how should i avoid it?
Thanks,
Ocean
I have a test case with simple flow:
1. click on button A, dialog B will be prompted
2. get buttons from dialog B and perform click on it
Dialog B is a WinForm object, and most of the time the flow works well, but sometimes it doesn't because test complete / execute doesn't know what control type of dialog B is, and treats it as a generic Widnow control. While window control doesn't have extented & .NET properties, that's why couldn't find dialog B by mapped alias.
Why above issue occurs, and how should i avoid it?
Thanks,
Ocean