Contact Us


Contact Us


In case of any query on training and automation solution,

Please mail me at : naveenanimation20@gmail.com
What's app me at: +91-9902233400


Join my Facebook Page:
https://www.facebook.com/groups/naveenqtpexpert

Join Telegram group:
Automation QA Experts (Naveen AutomationLabs) - Telegram Group

Connect me on LinkedIn:
https://www.linkedin.com/in/naveenkhunteta/

Subscribe to my channel, and press bell icon to get some interesting videos on Selenium and Automation:
https://www.youtube.com/c/Naveen%20AutomationLabs?sub_confirmation=1




Cheers!
Naveen AutomationLabs

12 comments:

  1. Hi Naveen, I have been learning your tutorials and my java and selenium skills are improved from your tutorials, Kindly upload videos on mobile automation, passing arguments with xpath or generalazing xpath using regular expression concept and use of session variables

    ReplyDelete
  2. Hi naveen,
    i need notes for Roles and responsibilities and tell me about yourself.
    my mail id: poli.rsreddy@gmail.com

    ReplyDelete
  3. Hi

    Please provide the details on next batch selenium classes

    ReplyDelete
  4. Hi
    I have a issue in dropdown, developer using a "span tag html" dropdown and how to use span dropdown in automation.

    ReplyDelete
  5. Hi Naveen,

    When is the next batch for Selenium is starting, my team wants to participate..

    Thanks

    ReplyDelete
  6. Hi Naveen,

    Do we have any automated test tools for White box testing of salesforce application?

    Thanks

    ReplyDelete
  7. Hi Naveen,
    I have been learning soapUI ,but can find only part I on youtube the part II that covers assertions i could not find.I am stuck pls help me find the tutorial!

    ReplyDelete
  8. Hello Naveen,
    please upload videos of SQL query and how does it related to the framework

    ReplyDelete
  9. i am using ubuntu please explain me how to launch browser here and how to set path for (key, value) for path

    ReplyDelete
  10. Unable to parameterize the drop down value in selenium cucumber. below is the code:

    Feature file:
    Feature: Registration

    Scenario: User Registration for Online Flight Booking
    Given Browser Initiated
    And User logged into NewtoursDemo site
    When User clicked REGISTER link
    And Entered/Selected "Amit" and "Pachange" and "9309952372" and "pachangeamit@gmail.com" and "535 Narayan Peth" and "Pune" and "Maharashtra" and "411030" and "INDIA" and "pachangeamit" and "newNEW@123" and "newNEW@123"
    And Submit the Details
    Then User Registration activity completed successfully and User closed the browser



    ReplyDelete
  11. stepDefinition class:
    package stepDefinition;

    import org.openqa.selenium.By;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.WebElement;
    import org.openqa.selenium.chrome.ChromeDriver;
    import org.openqa.selenium.support.ui.Select;

    import cucumber.api.java.en.Given;
    import cucumber.api.java.en.Then;
    import cucumber.api.java.en.When;

    public class RegStepDefinition {
    WebDriver driver;
    @Given("^Browser Initiated$")
    public void browser_Initiated() throws Throwable {
    System.setProperty("webdriver.chrome.driver", "D:\\Selenium Trainning Files\\chromedriver.exe");
    driver = new ChromeDriver();

    }

    @Given("^User logged into NewtoursDemo site$")
    public void user_logged_into_NewtoursDemo_site() throws Throwable {
    driver.get("http://newtours.demoaut.com");

    }

    @When("^User clicked REGISTER link$")
    public void user_clicked_REGISTER_link() throws Throwable {
    driver.findElement(By.linkText("REGISTER")).click();

    }

    @When("^Entered/Selected \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\"$")
    public void entered_Selected_First_Name_and_Last_Name_and_Phone_and_Email_and_Address_and_City_and_State_and_Postal_Code_and_Country_and_User_Name_and_Password_and_Confirm_Password(String FNAME,String LNAME,String Phone,
    String Email,String Address,String City,String State,String PIN,String Cntr,String Uname,String pwd,String conpwd) throws Throwable {
    driver.findElement(By.xpath("//input[@name='firstName']")).sendKeys("FNAME");
    driver.findElement(By.xpath("//input[@name='lastName']")).sendKeys("LNAME");
    driver.findElement(By.xpath("//input[@name='phone']")).sendKeys("Phone");
    driver.findElement(By.xpath("//input[@id='userName']")).sendKeys("Email");
    driver.findElement(By.xpath("//input[@name='address1']")).sendKeys("Address");
    driver.findElement(By.xpath("//input[@name='city']")).sendKeys("City");
    driver.findElement(By.xpath("//input[@name='state']")).sendKeys("State");
    driver.findElement(By.xpath("//input[@name='postalCode']")).sendKeys("PIN");
    Thread.sleep(2000);
    WebElement we = driver.findElement(By.xpath("//select[@name='country']"));
    Select se = new Select(we);
    se.selectByValue("Cntr");
    driver.findElement(By.xpath("//input[@id='email']")).sendKeys("Uname");
    driver.findElement(By.xpath("//input[@name='password']")).sendKeys("pwd");
    driver.findElement(By.xpath("//input[@name='confirmPassword']")).sendKeys("conpwd");

    }

    @When("^Submit the Details$")
    public void submit_the_Details() throws Throwable {
    driver.findElement(By.xpath("//input[@name='register']")).click();

    }

    @Then("^User Registration activity completed successfully and User closed the browser$")
    public void user_Registration_activity_completed_successfully() throws Throwable {
    driver.close();

    }

    }

    ReplyDelete
  12. Getting below mentioned error:
    org.openqa.selenium.NoSuchElementException: Cannot locate option with value: Cntr
    For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
    System info: host: 'AMITPACHANGE', ip: '192.168.43.115', os.name: 'Windows 8', os.arch: 'x86', os.version: '6.2', java.version: '1.8.0_191'
    Driver info: driver.version: unknown
    at org.openqa.selenium.support.ui.Select.findOptionsByValue(Select.java:283)
    at org.openqa.selenium.support.ui.Select.selectByValue(Select.java:186)
    at stepDefinition.RegStepDefinition.entered_Selected_First_Name_and_Last_Name_and_Phone_and_Email_and_Address_and_City_and_State_and_Postal_Code_and_Country_and_User_Name_and_Password_and_Confirm_Password(RegStepDefinition.java:48)
    at ?.And Entered/Selected "Amit" and "Pachange" and "9309952372" and "pachangeamit@gmail.com" and "535 Narayan Peth" and "Pune" and "Maharashtra" and "411030" and "INDIA" and "pachangeamit" and "newNEW@123" and "newNEW@123"(cucumber.feature:7)

    ReplyDelete

Featured Post

Advanced Selenium Webdriver Interview Questions and Answers in Java

Advanced Selenium Webdriver Interview Questions and Answers in Java Selenium WebDriver - QA Here is the list of Selenium Inte...