Avtar Krishna Jha
  • Member for 4 years, 10 months
  • Last seen more than a month ago
Type mismatch: cannot convert from void to WebElement
1 votes

This error is thrown because of the in the following line WebElement a= driver.findElement(By.id("<id>")).sendKeys("<abc>"); You are declaring a variable of type WebElement here, but ...

View answer
Explicit wait with more methods to same element
1 votes

Q: Is it possible to use more methods to same element? A: You can do that, but you wouldn't need to. If you check for clickability, like in the code snippet you provided, selenium makes a check for ...

View answer
Exception generated after exporting code as runnable jar
0 votes

I had similar issue with IE driver. I was able to resolve it by downloading the latest driver and updating the browser to the latest version. Try after updating your Chrome browser and downloading the ...

View answer
How to automate a select an item from list with Appium?
0 votes

You are getting this because of the classname used. Try the code below to get all textviews elements List<WebElement> textViews = driver.findElements(By.Xpath("//*[conatains(@class,'button-...

View answer
How to get XPath from different div?
0 votes

From what I understand, you are trying to get the <h4> tag that points to "Game Information" text. If so, you can write a xpath like shown below : //h4[text()='Game Information'] If you are ...

View answer
How to auto scroll Appium Server Console log at bottom
0 votes

If you start your appium through terminal, your appium server logs will show the latest logs, provided you don't manually intervene while the logs are getting generated. you can start appium server ...

View answer
ROBOT FRAMEWORK: [Error] Parsing ___.robot failed: Data source does not exist
0 votes

This happens when you run the robot or pybot command from folder other than the one which contains your .robot tedt suite. Navigate to the folder which contains the test suite and then run the pybot/ ...

View answer
Selenium IE Webdriver showing "Only Local connection are allowed" in TestNG
0 votes

Although, the error that you are stating is just an informational message and it should not stop your execution. But, if you are facing problem while execution you would need to check few combinations ...

View answer
visibilityOfElementLocated is not working
0 votes

You get a StaleElementReferenceException in either of the two cases listed below - 1. Your element is no longer attached to the DOM 2. Element has been deleted Before making any changes, please check ...

View answer
Appium couldn't identify the locators
0 votes

This is happening because you are trying to locate a non-hyperlink element element using linkText. Try locating the element using the code below - waitElement.until(ExpectedConditions....

View answer