Forum Discussion

a_automation's avatar
Occasional Visitor
2 years ago

Automation for menu items


I am using TestComplete for automation and I am currently working on menu Items. In automation, if menu item is clicked, how should I dynamically verify if correct window is opened. 

For example say if Employee Menu Item is clicked which opens new window with header "Employee Details". How should I write a script that confirms that  "Employee Details" window is opened which means automation is succeeded else it fails.

Thanks in advance.