Automation, Automation Framework, Design patterns, Java, Maven, Safari, Selenium

Running selenium scripts on browser Safari and Mac Operating System

Safari Logs

SafariDriver Launcher
 [ 0.007s] [safaridriver.client] Connecting to SafariDriver browser extension...
 [ 0.019s] [safaridriver.client] This will fail if you have not installed the latest SafariDriver extension from
 http://selenium-release.storage.googleapis.com/index.html
 [ 0.020s] [safaridriver.client] Extension logs may be viewed by clicking the Selenium [✓] button on the Safari toolbar
 [ 0.071s] [safaridriver.client] Connected to extension
 [ 0.072s] [safaridriver.client] Requesting extension connect to client at ws://localhost:10975

Continue reading “Running selenium scripts on browser Safari and Mac Operating System”

AndroidDriver, Appium, Maven, Selenium, TestNG

FAILED CONFIGURATION: @BeforeTest startDriver org.openqa.selenium.SessionNotCreatedException:

ERROR
FAILED CONFIGURATION: @BeforeTest startDriver
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: No app set; either start appium with --app or pass in an 'app' value in desired capabilities, or set androidPackage to launch pre-existing app on device) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 828 milliseconds
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40'
System info: host: 'HSNMM-KhyatiS', ip: '10.50.33.63', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_79'

Continue reading “FAILED CONFIGURATION: @BeforeTest startDriver org.openqa.selenium.SessionNotCreatedException:”

eclipse, Java, Maven, SubVersion, TestNG

Eclipse – Integrated Development Environment

Today I will share my personal know-how of a great tool which every developer must have used and many automation tester should-have used. This is an Integrated Development Environment and is very likely known tool among-st IT world.

For development purpose we can use Eclipse. It comes in exotic flavors, depending on the requirement you can opt for any.

TIP: Always go with the flow, i.e. always take the latest and most stable version of the open-source tool.

Gone with the days, where we use to type all programs on Notepad and try executing it with the compiler-first and then executor. Here comes the mostly adopted and highly recommended tool for project developement. Not only small-size projects but also Enterprise Edition, Standard Editions, Mobile Edition type projects.

Eclipse is a well-to-do Integrated Development Environment that can be used for Java, groovy, grails, and much-more development. You can pick one that suits your desires from a whole lot of list available here.

Continue reading “Eclipse – Integrated Development Environment”