Tag Info

Hot answers tagged

3

Or there's a third alternative to what Vangelisz suggested. There're several bug reports in the github bug tracker of the said project, and in one of them some nice gentleman points at how to fix the problem. However this requires building the upstream yourself, which in my case takes forever to do so due to a large dependency chain (I've seen QT among ...


2

Of-course it will add value, automated testing is partly programming. Understanding the challenges the developers have while making software products you test is very good. With 8 years of experience you could be under 30 or 55+ in age, depending on how old you are I would decide if you want to learn programming skills and pick it up or not. Also even if ...


2

Looking at the examples at their sites, I think using Selenium might be hard since the maps are rendered in images. Maybe a image based testing tool like Sikuli is worth trying. We have build a GIS system based on the Google Maps API in the past and we did successful test this with Selenium, but as Google uses canvas this was also not easy and straight ...


2

You can get the nodevalue of the element using Javascript document.getElementsByClassName('dialog-components')[0].getElementsByTagName('h2')[0].childNodes[2].nodeValue; Use executescript to execute JavaScript in the context of the currently selected frame or window Below is an example in java Don't forget to add return since you need to return the ...


1

I've solved!! Here you're the code that works! package myTestProjects; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.firefox.FirefoxProfile; import ...


1

Just use an Excel library to load data from Excel files and use that data in your Asserts? C# and Excel: http://stackoverflow.com/questions/657131/how-to-read-data-of-an-excel-file-using-c C# and Asserts: https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.assert.aspx


1

If link is not visible, wait.until(ExpectedConditions.visibilityOf(lnk)); will time out. Wait cannot succeed if link is hidden. In general, Selenium does only what user could do. If user cannot click on a link because it is hidden, Selenium cannot either. That's the whole point.


1

I like the method that is used by the conversion from Selenium IDE to Selenium C# personally, which is as follows: for (int second = 0;; second++) { if (second >= 60) Assert.Fail("timeout"); try { if (IsElementPresent(By.Id("blargh")"))) break; } catch (Exception) ...


1

Have you tried programming in some languages easy for beginners, like Python? Did you like it? If you did, adding test automation to your skills is positive. But if you did not like programming, adding skills for a job you do not enjoy will make you miserable and makes no sense. You may consider becoming a test manager instead (or continue to be an even ...


1

Instead of simple new FirefoxDriver(); try new FirefoxDriver(new FirefoxBinary(), new FirefoxProfile(), TimeSpan.FromSeconds(180));


1

There are at least 2 approaches: If Jenkins is used in your company, you create a job that runs tests and then e-mails report by Email ext plugin. Or you can add such functionality to @BeforeSuite method with JavaMail.


1

I found the solution at http://stuffandtech.blogspot.in/2012/03/android-quick-tip-adb-over-wifi.html. It worked for me. Steps from article: Connect with USB debugging and do adb tcpip 5555 result is: restarting in TCP mode port: 5555 Now do adb connect <you'r devices IP adress> result is: connected to (you'r devices IP adress) You ...



Only top voted, non community-wiki answers of a minimum length are eligible