Sumukh
-
Sumukh and Ajoy Kumar Singha are now friends 10 years, 9 months ago
-
Sumukh posted an update in the group Selenium Scientists 10 years, 10 months ago
-
Sumukh started the topic Handling Hidden Pop-up. in the forum Selenium Scientists 10 years, 10 months ago
Ex:URL:: http://www.yatra.com
driver.get(“http://www.yatra.com/”);Actions action=new Actions(driver);
//Moving cursor onto webelemnt to open hidden popup. action.moveToElement(driver.findElement(By.xpath(“//a[@id=’htls_dwnarw_yttkd’]”))).perform();
//Other methods which can be…[Read more]
-
Sumukh started the topic Scroll down or Drag & Drop Browser. in the forum Selenium Scientists 10 years, 10 months ago
Actions action=new Actions(driver);
WebElement source = driver.findElement(By.id(“”));
WebElement target = driver.findElement(By.id(“”));action.dragAndDrop(source,target).perform();
-
Sumukh started the topic Working with FRAMES. in the forum Selenium Scientists 10 years, 10 months ago
//Handling using locator of webelement.
driver.switchTo().frame(driver.findElement(By.id(“”)));//Handling using INTEGER value.
driver.switchTo().frame(1);//Handling using STRING value.
driver.switchTo().frame(“frame1”); -
Sumukh started the topic Handling Browser navigation. in the forum Selenium Scientists 10 years, 10 months ago
//Traverse forward.
driver.navigate().forward();//Refreshing the screen.
driver.navigate().refresh();//Traverse Back.
driver.navigate().back();//Move to another URL
driver.navigate().to(“”);//Getting Current URL.
driver.getCurrentUrl(); -
Sumukh started the topic Handling Alert & Confirmation Pop-up: in the forum Selenium Scientists 10 years, 10 months ago
//Accepting the Pop-up.
driver.switchTo().alert().accept();//Getting text from Pop-up displayed.
driver.switchTo().alert().getText();//Canceling the Pop-up.
driver.switchTo().alert().dismiss(); -
Sumukh started the topic Working with Drop down or List box. in the forum Selenium Scientists 10 years, 10 months ago
Select select=new Select(driver.findElement(By.id(“List ID”)));
select.selectByIndex(1);
select.selectByValue(“value”);
select.selectByVisibleText(“Text”);
select.deselectAll();
select.deselectByIndex(1);
select.deselectByValue(“value”);
select.deselectByVisibleText(“text”);
//select.getAllSelectedOptions(); -
Sumukh started the topic Synchronization in Selenium. in the forum Selenium Scientists 10 years, 10 months ago
//Implicit way of synchronization:
driver.manage().timeouts().implicitlyWait(20,TimeUnit.SECONDS);//Explicit way of synchronization:
WebDriverWait wait=new WebDriverWait(driver, 20); wait.until(ExpectedConditions.visibilityOf(driver.findElement(By.id(“”))));//Dumb way: NOTE::Value should be in Milli seconds
Thread.sleep(3000); -
Sumukh started the topic capturing snapshot. in the forum Selenium Scientists 10 years, 10 months ago
public static void get_screen_shot(String imagename)
{
String image_location;image_location=”D:// Folder location”+imagename+”.jpeg”;
File image = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);try
{ FileUtils.copyFile(image, new File(image_location));}
catch (Exception e)
{ Reporter.log(“error while c…[Read more] -
Sumukh started the topic Entering value into Excel sheet. in the forum Selenium Scientists 10 years, 10 months ago
public static void get_value_into_excel(String filepath,String sheet, int rownum, int cellnum, String value)
{try
{
FileInputStream fis=new FileInputStream(filepath);
Workbook wb = WorkbookFactory.create(fis);
Sheet s = wb.getSheet(sheet);
s.createRow(rownum).createCell(cellnum).setCellValue(value);FileOutputStream…[Read more]
-
Sumukh started the topic Geting value from Excel sheet. in the forum Selenium Scientists 10 years, 10 months ago
public static String get_value_from_excel(String filepath,String sheet, int rownum, int cellnum)
{
String value;
try
{
FileInputStream fis=new FileInputStream(filepath);
Workbook wb = WorkbookFactory.create(fis);
Sheet s = wb.getSheet(sheet);
value=s.getRow(rownum).getCell(cellnum).getStringCellValue();
return value;…[Read more] -
Sumukh started the topic Using selenium webdriver in Internet Explorer ! in the forum Selenium Scientists 10 years, 10 months ago
System.setProperty(“webdriver.ie.driver”,”D:\IEDriverServer.exe”);
DesiredCapabilities capab =DesiredCapabilities.internetExplorer();
capab.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true);
WebDriver driver =newInternetExplorerDriver(capab);` -
Sumukh posted a new activity comment 10 years, 10 months ago
Might be problem with system configuration !
-
Sumukh and Andreas Kleffel are now friends 10 years, 10 months ago
-
Sumukh started the topic Looking for JOB CHANGE ! in the forum Testing Jobs 10 years, 10 months ago
If there are any job opportunity for Selenium WebDriver automation testing then please do let me know.
I have overall 3.9 year of experience.
+91 9036110388
-
Sumukh and Jayshree are now friends 10 years, 10 months ago
-
Sumukh and Debojit Gogoi are now friends 10 years, 11 months ago
-
Sumukh and Jyothi Rangaiah are now friends 10 years, 11 months ago
-
Sumukh and Monica Movva are now friends 10 years, 12 months ago
- Load More