New answers tagged

0

Selenium determines an element is visible or not by the following criteria (use a DOM inspector to determine what css applies to your element, make sure you look at computed style): visibility != hidden display != none (is also checked against every parent element) opacity != 0 (this is not checked for clicking an element) height and width are both > 0 ...


0

Issue has solved I was looking in different folder which had different pom.xml, :p :)


0

For verifying Look and feel of the application , What Did was integrating an image comparison library to my selenium scripts .Selenium has the capability of taking screenshots , what we need to do is developing a solution which could compare the screen shots taken in current run against previously taken set of screens . In my case I had lot of screen shots ...


0

Great that you resolve on your own. Similar issue I faced. Below solution works for me - Open project in Eclipse Right click on "JRE System Library" Click on Properties Select "JAVASE - 1.7" In your case, java version might be different. But this works perfectly!


2

The simplest approach is to use the 'Base URL' in IDE. http://www.seleniumhq.org/docs/02_selenium_ide.jsp#using-base-url-to-run-test-cases-in-different-domains The Base URL field at the top of the Selenium-IDE window is very useful for allowing test cases to be run across different domains. Suppose that a site named http://news.portal.com had an ...


1

We cannot perform image recognition in selenium, following way can be used. Upload image with unique file name (Probably appending the date and time to image file) Verify the after new image name file name in the image tag is what you uploaded. P.S: For image recognition you can use open source automation tool which is based on image recognition called ...


0

Microsoft's Visual Studio can collect details of which pieces of code are executed by which tests. This data can then be used when code is changed to suggest tests that should be rerun. You could try some Web searches for terms such as "Microsoft test impact data" and "MTM recommended tests".



Top 50 recent answers are included