Forum Discussion
weototheheo
11 years agoOccasional Contributor
Hi Tanya, Hanya,
Thanks for your suggestion.
My web page is still being developed. It is ussually modified about GUI, html structure (hml code is genearated by Devexpress tool).
Only ID property is rarely changed.
Therefore, I have to use ID properly to handle controls.
If finding object by CSS Selector or XPath, test scripts have to be updated frequently when each time of updating web page.
So I will investigate to find control's parent then find child control in parent.
However this way is only effective if applying for a few controls.
If applying for many controls, numbers of line of test code and effort for coding test script are very huge .
Hien
Thanks for your suggestion.
My web page is still being developed. It is ussually modified about GUI, html structure (hml code is genearated by Devexpress tool).
Only ID property is rarely changed.
Therefore, I have to use ID properly to handle controls.
If finding object by CSS Selector or XPath, test scripts have to be updated frequently when each time of updating web page.
So I will investigate to find control's parent then find child control in parent.
However this way is only effective if applying for a few controls.
If applying for many controls, numbers of line of test code and effort for coding test script are very huge .
Hien
Related Content
Recent Discussions
- 5 hours agoMW_Didata