In Coded UI there are some predefined search configuration to perform actions on controls.
Below are the 5 search configurations.
1. Always Search: UI Test uses cache to perform actions on controls in an application, Always Search force UI test to search the control in the application and not in cache.
2. Disambiguate Search: If parent and child has same properties and there is a chance where UI test perform the action on parent itself, Disambiguate search force UI test to perform the action for child control instead of parent control.
3. Next Sibling: UI test Searches the next sibling in the container and performs the action.
4. Expand While Search: UI test expands the control before searching the control inside. ex., Tree View
5. Visible Only Search: UI test Performs action only if the control is visible.
For Free Demo Call me on Mobile/Email - 9597100592/vardhancuit@gmail.com
You can help yourself with more information from my website www.software-testing-zone.info
Below are the 5 search configurations.
1. Always Search: UI Test uses cache to perform actions on controls in an application, Always Search force UI test to search the control in the application and not in cache.
2. Disambiguate Search: If parent and child has same properties and there is a chance where UI test perform the action on parent itself, Disambiguate search force UI test to perform the action for child control instead of parent control.
3. Next Sibling: UI test Searches the next sibling in the container and performs the action.
4. Expand While Search: UI test expands the control before searching the control inside. ex., Tree View
5. Visible Only Search: UI test Performs action only if the control is visible.
For Free Demo Call me on Mobile/Email - 9597100592/vardhancuit@gmail.com
You can help yourself with more information from my website www.software-testing-zone.info
There is one more to add Search in Minimized window
ReplyDeletePlayback.PlaybackSettings.SearchInMiniMizedWindow = true;
"SearchInMiniMizedWindow " will not come under Search Configuration, that is used for playback under Synchronization.
Delete