QA

QA

Trending Questions and Lessons

Follow 4,697 Followers

Feed

Ask a Question

All

Lessons

Discussion

Overview

Questions 459

Lessons 62

Total Shares  

Answered on 06 May IT Courses/QA/Selenium

WiTTyMinds

Training Centre

Hi Swapnil, We are here to spread all kind of technical knowledge among people. Feel free to contact us to learn Selenium with Python. Regards, wiTTyMinds
Answers 6 Comments
Dislike Bookmark Share

Lesson Posted on 07 Apr IT Courses/QA/Selenium IT Courses/QA/Selenium/Selenium with Java

Selenium Web Driver commonly used method

Sam

I have total 12.5+ years of professional experience as a Proficient as Lead and Manage QA activities...

Navigation Loading a web page in a current browser window driver.get("www.google.com") driver.navigate().to("www.google.com") driver.navigate().to("www.google.com") Move back & forward Driver.Navigate().Back() Driver.Navigate().Forward() Refresh page Driver.Navigate().Refresh() Locating... read more

Navigation

Loading a web page in a current browser window

  • driver.get("www.google.com")
  • driver.navigate().to("www.google.com")
  • driver.navigate().to("www.google.com")

Move back & forward

  • Driver.Navigate().Back()
  • Driver.Navigate().Forward()

Refresh page

  • Driver.Navigate().Refresh()

Locating web elements

By class

  • Id
    • driver.findElement(By.id(”some_id”));
  • ClassName
    • driver.findElement(By.className(”some_class_name”));
  • LinkText
    • driver.findElement(By.linkText(”Signin”));
  • PartialLinkText
    • driver.findElement(By.partiallinkText(”Sign”));
  • Name
    • driver.findElement(By.name(”password”));
  • TagName

    • driver.findElement(By.tagName(”label”));
  • CssSelector
    • Absolute path
      –driver.findElement(By.cssSelector(”html>body>div>p>input”));
    • Relative path
      –driver.findElement(By.cssSelector(”input”));
    • Classselection
      –driver.findElement(By.cssSelector(”.login”));
  • XPath
    • Absolute path
      –driver.findElement(By.xpath(”html/body/p/input”));
    • Relative path
      –driver.findElement(By.xpath(”//input”));
    • Attribute selection
      –driver.findElement(By.xpath(”//input[@id=’username’]”));

Synchronization

Page Load Timeout

  • driver.manage().timeouts(). pageLoadTimeout(30, TimeUnit.SECONDS);

Explicit Wait

  • WebDriverWaitwait = new WebDriverWait(driver, TIME_OUT); wait.until(ExpectedConditions.method);

Window Handling

Handles

  • String windowHandle= driver.getWindowHandle();                                             Iterator<String> windowIterator=browser.getWindowHandles();
  • SwitchTo : driver.switchTo().window(windowHandle);
read less
Comments
Dislike Bookmark Share

Lesson Posted on 02 Apr IT Courses/QA

What is Unit Testing?

Devendra V.

I have been working as software engineer for the past 8 years. Currently associated with Opentext as...

What is Unit Testing? Unit testing is the testing of a single entity (class or method). Unit testing is very essential for every software company to give a quality product to their customers.
Comments
Dislike Bookmark Share

Lesson Posted on 02 Apr IT Courses/QA/Selenium/Selenium with Java

How to toggle b/w frames in webdriver

Devendra V.

I have been working as software engineer for the past 8 years. Currently associated with Opentext as...

driver.switchTo().frame() method takes one of the three possible arguments: A number - Select a frame by its (zero-based) index. A name or ID - Select a frame by its name or ID. A previously found WebElement - Select a frame using its previously located WebElement. read more

driver.switchTo().frame() method takes one of the three possible arguments:

  • A number - Select a frame by its (zero-based) index.
  • A name or ID - Select a frame by its name or ID.
  • A previously found WebElement - Select a frame using its previously located WebElement.
read less
Comments
Dislike Bookmark Share

Lesson Posted on 02 Apr IT Courses/QA/Selenium/Selenium with Java

Difference between find element () and findelements () in webdriver

Devendra V.

I have been working as software engineer for the past 8 years. Currently associated with Opentext as...

findElement Find the first element within the current page using the given "locating mechanism". Returns a single WebElement. findElements Find all elements within the current page using the given "locating mechanism". Returns List of Web Elements. read more
findElement
  1. Find the first element within the current page using the given "locating mechanism".
  2. Returns a single WebElement.
findElements
  1. Find all elements within the current page using the given "locating mechanism".
  2. Returns List of Web Elements.
read less
Comments
Dislike Bookmark Share

Lesson Posted on 02 Apr IT Courses/QA/Selenium/Selenium with Java

Commonly occurred exceptions you know in WebDriver

Devendra V.

I have been working as software engineer for the past 8 years. Currently associated with Opentext as...

WebDriverException NoAlertPresentException NoSuchWindowException NoSuchElementException TimeoutException
Comments
Dislike Bookmark Share

Top Contributors

Connect with Expert Tutors & Institutes for QA

Answered on 25 Jan IT Courses/QA/Selenium

Arun Sharma

Tutor

As a beginner level you should have some meaningful idea of some basic terminologies and their functional behaviors like classes, data types or methods. Once you start understanding these, then you can jump on the concept of OOPS and can start your selenium learning simultaneously so that you can correlate... read more

As a beginner level you should have some meaningful idea of some basic terminologies and their functional behaviors like classes, data types or methods. Once you start understanding these, then you can jump on the concept of OOPS and can start your selenium learning simultaneously so that you can correlate your learning with the practical and hands on work. In case of any more doubt, you can contact me on my number. We can have a discussion.

read less
Answers 3 Comments
Dislike Bookmark Share

Answered on 09 Feb IT Courses/QA/Selenium

Geetha

Teacher

By id
Answers 3 Comments
Dislike Bookmark Share

Answered on 25 Apr IT Courses/QA/Selenium

Mindmajix Technologies INC

Selenium is good to learn. It has good future. Learn selenium automation & expertise in using Selenium 3.0 to create robust, browser-based regression automation suites and tests, scale and distribute scripts and create quick bug reproduction scripts. You will master selenium IDE, Selenium webDriver,... read more

Selenium is good to learn. It has good future. Learn selenium automation & expertise in using Selenium 3.0 to create robust, browser-based regression automation suites and tests, scale and distribute scripts and create quick bug reproduction scripts. You will master selenium IDE, Selenium webDriver, JaCoCo, TestNG, Sikuli, Page Object Modeling and Optimize XPath with Xpather and Selenium RC. You will also get an exposure to industry based real-time projects in various verticals.

 

Mindmajix provides best Selenium online training. Training by real time experts. Schedule and attend free online demo here! https://mindmajix.com/selenium-training

read less
Answers 4 Comments 1
Dislike Bookmark Share

Answered on 14 Mar IT Courses/QA/Selenium

Nisha K.

Selenium Trainer

Yes, it is an awesome career option and it will add value too. I saw people from Manual Testing upgraded themselves to Selenium. If you want to make career in Automation Testing field, then Selenium is the best option for you.Selenium, the most popular automated testing technology, is open source and... read more

Yes, it is an awesome career option and it will add value too. I saw people from Manual Testing upgraded themselves to Selenium. If you want to make career in Automation Testing field, then Selenium is the best option for you.
Selenium, the most popular automated testing technology, is open source and free of charge.

read less
Answers 8 Comments
Dislike Bookmark Share

About UrbanPro

UrbanPro.com helps you to connect with the best QA Training in India. Post Your Requirement today and get connected.

x

Ask a Question

Please enter your Question

Please select a Tag

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 25 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 6.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more