Mouse Over Dom can be used to analyze element in a web page.
This would be useful for the applications which are to be automated but do not
support Firefox Browser (Hence Selenium IDE or Firebug can not be used to
analyze elements). Browser which are currently supported are -
Firefox, Mozilla, Netscape 8, Opera 7.5+ and MSIE6+
http://slayeroffice.com/tools/modi/v2.0/modi_help.html
Note: If you are new to java and selenium then start with selenium java training videos . I prefer css locator over xPath but there are times when css locators don't fit requirement. One such requirement is when you want to navigate to parent element of an element and may be parent of parent and even more. Unfortunately css locators don't provide any mechanism to navigate to parent of an element. See this for more. Of late I came across a scenario when I wanted to click on a link depending upon the text in a text box. Herein parent of text box and parent of link were at the same location. More over there could have been many such combinations in application. Fortunately I just need to pick first such instance and Web Driver any way considers only first instance when multiple locators are found matching an element. Element in question is in following html - Here I need to click on highlighted anchor on the basis of input element (which is also hig...
Hi Tarun, you will probably be interested in http://getfirebug.com/lite.html
ReplyDeleteEven though it's not as fast and complete the real version of firebug, it's a great tool for "IE only" applications...