Forum Discussion
KumaranRavi
New Contributor
WinFormsObject("EditVictimWizardDlg").WinFormsObject("propertyPagePanel").WinFormsObject("pagePanel").WinFormsObject("DynamicDataDisplayWizardPage").WinFormsObject("VictimMainView").WinFormsObject("splitContainer1").WinFormsObject("SplitterPanel", "").WinFormsObject("centerPanel").WinFormsObject("IDataDisplayField0").WinFormsObject("lastName")
If the Script is generated with random click/coordinates, can we use the same Coordinates every time with the new build as well.
Marsha_R
2 years agoChampion Level 3
Best practice is to use the object name because generally that doesn't change. The coordinates are much more fragile and can break the test more frequently.
Related Content
Recent Discussions
- 3 hours agoGane195