Senior Member Technical
Senior Member Technical Interview Questions and Answers for Freshers
Q1. Find second highest vowel occurance in a string
Find the second highest occurrence of a vowel in a string.
Iterate through the string and count the occurrences of each vowel (a, e, i, o, u).
Store the counts in an array and find the second highest count.
Return the vowel with the second highest count.
Q2. count no of links in as web page
To count the number of links on a web page, you can use a web scraping tool or inspect the page's HTML code.
Use a web scraping tool like BeautifulSoup or Selenium to extract all the links from the webpage.
Inspect the HTML code of the webpage and look for anchor tags (<a>) which contain the links.
Count the number of anchor tags to determine the total number of links on the webpage.
Q3. Write locator for element in webpage
Use CSS selector to locate element on webpage
Use unique id or class names to locate element
Use CSS selectors like 'id', 'class', 'name', 'tag name', etc.
Use XPath if necessary for complex element locating
Q4. remove zeros from arrays list
Remove zeros from arrays list of strings
Iterate through each string in the array
Use filter method to remove zeros from each string
Return the updated array without zeros
Q5. return type of Findelements
FindElements method returns a list of web elements matching the specified locator.
Return type of FindElements is List
It returns a list of all elements matching the specified locator
Example: List
elements = driver.findElements(By.xpath("//input[@type='text']"));
Senior Member Technical Jobs
Top Interview Questions for Senior Member Technical Related Skills
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month