Verify Specific Position of an Element

Verify Specific Position of an Element

Selenium IDE indicates the position of an element by measuring (in pixels) how far it is from the left or top edge of the browser window.
·         verifyElementPositionLeft - verifies if the specified number of pixels match the distance of the element from the left edge of the page. This will return FALSE if the value specified does not match the distance from the left edge.
·         verifyElementPositionTop - verifies if the specified number of pixels match the distance of the element from the top edge of the page. This will return FALSE if the value specified does not match the distance from the top edge.


Comments

Popular posts from this blog

Handling Dynamic Web Tables Using Selenium WebDriver

Read it out for TESTNG before going for an iterview