Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Testing Interviews:Analyst TestingAutomationDatabase TestingJSUnitJUnitLocalization TestingManual TestingMobile TestingNetwork TestingQA ConceptsQA TestingQTPQUnitRadar TesterRational TestSuiteSoftware QASoftware TestingTest CasesTest Documents ReportingWebsites Stress TestingWinRunnerWireless Testing
Copyright © 2018. All Rights Reserved
Automation Interview Question:
Tell me how can the user get a text of a web element?
Submitted by: MuhammadUser can retrieve the text of the specified web element by using get command. It doesn't require any parameter but returns a string value.
String Text = driver.findElement(By.id(“Some Text”)).getText()
is an example of it.
Submitted by: Muhammad
String Text = driver.findElement(By.id(“Some Text”)).getText()
is an example of it.
Submitted by: Muhammad
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.