Tuesday, October 18, 2016

Sample Selenium test for JIRA

Selenium Basic code for login in to JIRA


Below code will be login to our JIRA System and validate the Title of the User logged in Page

==============================================
package JIRALogin;

import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.testng.annotations.AfterTest;

public class JIRALoginLogout
{
WebDriver driver;
@Test
public void LoginToJira(String username, String password ) throws InterruptedException
{
driver=new FirefoxDriver();
driver.manage().window().maximize();
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
driver.get("http://ABCD.COM"); // >> replace the actual JIRA URL

driver.findElement(By.id("login-form-username")).sendKeys(username);
driver.findElement(By.id("login-form-password")).sendKeys(password);
driver.findElement(By.xpath(".//*[@id='login']")).click();

Thread.sleep(5000);


Assert.assertTrue(driver.getTitle().contains("Resource"),"User naot able to Login to JIRA system");

System.out.println("User can able to Login Successfully in to JIRA System");
}

@AfterTest
public void tearDown()
{
driver.quit();
}
public Object[][] passData()
{
Object[][] data=new Object[3][2];

data[0][0]="abcd"; //>> Replace with actual Username
data[0][1]="xxxx"; // >> Replace with actual password
return data;
}
}

Friday, August 5, 2016

New Website Launch: SK Marine Solutions - A Worldwide Marine and Offshore Consultancy Service

SK Marine Solutions are specialists in Marine and offshore consultancy services, providing high-quality services for our customers worldwide. Having our registered office in Hong Kong a Maritime business hub, we are at your ease of reach.
Our highly skilled and experienced team of engineers will ensure every inspections are carried out according to international standards, statutory requirements and best in class shipbuilding practices. We strive to make our customers to feel Rest assured by providing world class services delivered with passion.
SK Marine Solutions
SK Marine Solutions

Services

New Building Projects (Ship/Offshore)

SK Marine Project Management provides a wide range of services at most competitive and affordable prices. From assigning an individual group of skilled Engineers and Inspectors.


Repair and Drydocking Inspections Services

SK Marine Inspection Services are one of the leading international surveying companies who provide inspection services for clients worldwide.


Third Party Inspections Services

Our integrated third party inspection team represents interest of client and our service ensure to provide right & cost effective solutions for the project requirements.

Tuesday, June 28, 2016

Key Role of Offshore Team in the IT Industry

Outsourcing Offshore, is a type of service exporting of IT-Related work from other developed countries to areas of the world where there is both political stability and lower labor costs and or tax savings. 

Outsourcing is an arrangement in which one company provides services for another company that can also be or usually have been provided. Offshore means "any country in the world other than your own." The Internet and high-speed Internet connections make it possible for outsourcing to be carried out anywhere in the world, all business giants call it as globalization. 

In general, any domestic companies interested in offshore outsourcing are not only trying to save money in order to be more price competitive against each other, but also to enable them to compete with businesses in other countries. Offshore team also called as Back Office and It's depends on the each company norms. 


Communication play important role in Outsourcing business because the both team working in different time zone and culture so we should always keep in better line of communication to provide better services.