STE
  • Member for 8 years
  • Last seen more than a week ago
  • Chennai
I am not able to click on Google Search Button
2 votes

//div[@class='FPdoLc VlcLAe']//input[@type='submit' and @value= 'Google Search'] There are 2 matching nodes available. The only difference is the class name. So construct your xpath with the class ...

View answer
Appium-Android-Unable to access elements after login to the account
1 votes

caps.setCapability(MobileCapabilityType.AUTOMATION_NAME, 'uiAutomator2'); Added the capability and it works now

View answer
How to create an Xpath for a checkbox?
1 votes

Try with the below xpath. //input[contains(text(),'poetin alfa')]/preceding-sibling::input[@type='checkbox'] As you didnt provide the html structure of the text (poetin alfa), I will go with your ...

View answer
How do I use find_elements_by_xpath to only get some elements in python selenium?
1 votes

Try using the below xpath. //table[@id='table_name']//tbody//tr[not(@class)] This will give you the highlighted tr tags. Java Example: List<WebElement> elements = driver.findElements(By....

View answer
Xpath returning 2 nodes. I am trying to return 1 node
1 votes

1) When you are identifying single element, dont use * instead specify the exact tag. So in this case it would be //div[id="'tabMiddleDIV_Port Details'"] 2) There are 2 matching nodes, in which 1 ...

View answer
Unable to locate element using XPath getting NoSuchElementException
1 votes

Try with the below xpath. //a[contains(text(),'Logout')]

View answer
Unable to launch uiautomator in mac terminal
0 votes

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home export ANDROID_HOME=/Users/username/android-sdks export PATH=$PATH:$ANDROID_HOME/platform-tools ...

View answer
Automation Using iframe
0 votes

Try using driver.switchTo.frame("frameid"); and then try to use input text

View answer
Unable to find the element using XPath
0 votes

Try with the below xpath: //[@id='clB']/div[1]/div[1]/a/div

View answer
How to handle tooltip on onmouseover in selenium java
0 votes

You have to mouseOver to $0.00. 1) If you need click, perform click and find the tooltip. Actions actions = new Actions(driver); actions.moveToElement(driver .findElement(By....

View answer
Unable to locate element (Selenium, Sharepoint2010)
0 votes

Try with the below xpaths: //div[@id='ctl00_MSO_ContentDiv']//div[@style]/h2/span[@id='ctl00_PlaceHolderMain_LabelCourseTitle'] //div[@id='ctl00_MSO_ContentDiv']/child::div[@style]/h2/span[@id='...

View answer
Multiple @tests but did not execute the priority 2 and priority 3
0 votes

You shouldn't use driver.quit(); in your @AfterMethod. Instead you can use it in @AfterClass. So your execution will be as follows: @BeforeClass @Test(priority=1) @Test(priority=2) @Test(priority=3) @...

View answer
Testing the popup with Selenium IDE
0 votes

On clicking a link on the active page, a new tab gets opened.Is this the scenario you are looking for. Then, here is your answer. Firefox usually prevents opening new windows. So you should change ...

View answer
How to test the field with different languages?
-1 votes

I found these sites to be helpful for getting the characters in different languages. http://www.lexilogos.com/keyboard/ http://gate2home.com/

View answer