XPath for finding both modal and in-application windows.
Posted: Wed May 04, 2011 4:41 pm
Our application have MDIClient area, where the windows are placed by default, so the XPath will be like:
But, sometimes those windows are modal ant thier XPath is like:
I can find them both by using "/.//form" but its takes too much time. Is there a way to find them faster?
Have been trying XPath "/form | /application/mdi-client/form", but it seems or operator does not work.
P.S. Sorry for my english.
Code: Select all
/application/mdi-client/form
Code: Select all
/form
Have been trying XPath "/form | /application/mdi-client/form", but it seems or operator does not work.
P.S. Sorry for my english.