Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
achuspillai Frequent Contributor.
Frequent Contributor.
1128 views

Selenium- Appium not working in Mobile Center

Jump to solution

Hey,

I have been using HP Mobile Center for last one year for mobile automation using selenium-appium. But since couple of months i am not able to run my scripts in Mobile Center which was running before. I have tried options to change the reference jars for the automation. But the script is not working. Also tried with both RemoteWebDriver as well as AndroidDriver.

When using AndroidDriver i am getting the below error:

org.openqa.selenium.WebDriverException: Returned value cannot be converted to WebElement: {ELEMENT=0.0722761051873857-1}
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:09'
System info: host: 'SEV000268', ip: '10.59.66.99', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_172'
Driver info: driver.version: AndroidDriver.

When using RemoteWebDriver I am getting the below error:

Exception in thread "main" org.openqa.selenium.ElementNotVisibleException: element not visible
(Session info: chrome=66.0.3359.158)
(Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 938 milliseconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:09'
System info: host: 'SEV000268', ip: '10.59.66.99', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_172'

It would be great if any solution can be provided to make this script run successfully on Mobile Center.

Appreciate your assistance here please. PFA the sample code.

Thanks in Advance

Regards,

Achu S Pillai

0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

Re: Selenium- Appium not working in Mobile Center

Jump to solution

Hi,

Mobile Center 2.70 brings Appium 1.7 version, while MC 2.60 is 1.6.3.

I believe this is the issue.

3 Replies
achuspillai Frequent Contributor.
Frequent Contributor.

Re: Selenium- Appium not working in Mobile Center

Jump to solution

Updating Mobile Center version from 2.60 to 2.70 solved the issue !!!

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Selenium- Appium not working in Mobile Center

Jump to solution

Hi,

Mobile Center 2.70 brings Appium 1.7 version, while MC 2.60 is 1.6.3.

I believe this is the issue.

arogyalokeshv Contributor.
Contributor.

Re: Selenium- Appium not working in Mobile Center

Jump to solution

Good to here from you. I have also faced the same issue and resolved as mentioned.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.