appium-ios

Appium inspector for iOS 10?

十年热恋 提交于 2019-12-04 05:54:18
问题 Until now, i was using Xcode 7.X with Appium 1.4/1.5.X to automate iOS 9.X apps. Now, to automate iOS 10, i installed Xcode 8 with Appium 1.6.0 beta. The automation succeeds, but the problem is that Appium 1.6.0 beta only has a cli version that, of course, doesn't include Inspector to inspect app elements. My question is: Is there an equivalent for the Appium inspector to inpect element on iOS 10? 回答1: There are two ways to inspect the elements for ios 10 using appium 1.6. You can get the XML

iOS Automated Tests - XCTest vs Appium

最后都变了- 提交于 2019-12-03 05:47:14
I am looking for opinions from test engineers and iOS developers regarding a specific matter. I have been using Appium for over a year now, and I have come across various difficulties while running mobile web tests on real devices. Every time Apple makes changes in XCTest or Safari, Appium is directly impacted (even if they fix something, some other issue pops up in its place), and it has come to a point where I'm spending more time resolving Appium related issues as opposed to the ones from an AUT. Furthermore, you would need an Apple computer to develop and execute Appium iOS tests anyway.

Using Selenium Webdriver Selectors in Appium ios

谁都会走 提交于 2019-12-02 15:38:09
问题 A project I'm on is developing a web app at the same time as an ios app (for the same thing) and I'm hoping to be able to use existing Selenium tests, but we're having trouble with selectors. Is there a selector type or attribute name that can be used for both Selenium Webdriver and Appium ios, so that I can just set a variable to either browser or app and they run and work on both. Nobody on this project has used Appium before, so we are lacking a lot in knowledge. I tried using IDs and

Using Selenium Webdriver Selectors in Appium ios

不打扰是莪最后的温柔 提交于 2019-12-02 06:46:47
A project I'm on is developing a web app at the same time as an ios app (for the same thing) and I'm hoping to be able to use existing Selenium tests, but we're having trouble with selectors. Is there a selector type or attribute name that can be used for both Selenium Webdriver and Appium ios, so that I can just set a variable to either browser or app and they run and work on both. Nobody on this project has used Appium before, so we are lacking a lot in knowledge. I tried using IDs and found that ios doesn't work with them, changed to names and found that names have been removed from appium.

How to use Appium to automate a 3rd party ios app on real device

那年仲夏 提交于 2019-12-02 00:35:51
I'm trying to automate a 3rd party ios app (YouTube, for example) on a real iPhone using Appium . I haven't been able to find a single guide/tutorial to achieve this, but from the information I gathered, it seems to involve the following steps: Extract the pre-installed app and decrypted it (using a tool such as Clutch ) Resign it with my development cert I know I omitted lots of details in each step, but my question is, has anyone done this successfully and can confirm this is actually achievable? Or is there any other less involved ways to automate a 3rd party ios app using Appium ? In order

Not able to identify element in WEBVIEW in iOS hyprid app automation using Appium on real device

懵懂的女人 提交于 2019-12-01 12:07:11
I was trying to automate the hybrid app build using ionic2/Angular2 and typescript. I am using C# for code writing. test are in BDD - specflow Versions: iOS:9.3.1 Xcode: 7.3 Appium: 1.4.13 I am not able to identify elements after swtiching Context to WEBVIEW. Calling IOSDriver using below code private IOSDriver<IOSElement> driver = null; public IOSDriver<IOSElement> GetDriver(string platformVersion, string deviceName, string udid ,string appPath, string serverUri) { Capabilities iosCapabilities = new Capabilities(); DesiredCapabilities capabilities = iosCapabilities.Get(platformVersion,

Not able to identify element in WEBVIEW in iOS hyprid app automation using Appium on real device

不羁的心 提交于 2019-12-01 10:18:28
问题 I was trying to automate the hybrid app build using ionic2/Angular2 and typescript. I am using C# for code writing. test are in BDD - specflow Versions: iOS:9.3.1 Xcode: 7.3 Appium: 1.4.13 I am not able to identify elements after swtiching Context to WEBVIEW. Calling IOSDriver using below code private IOSDriver<IOSElement> driver = null; public IOSDriver<IOSElement> GetDriver(string platformVersion, string deviceName, string udid ,string appPath, string serverUri) { Capabilities

Returned value cannot be converted to WebElement

我的梦境 提交于 2019-11-29 12:31:28
I'm using Appium for iOS Automation testing and I'm getting this error Returned value cannot be converted to WebElement //*[@text='Search Results'] Appium Java client version: 6.0.0-BETA5 Downgrading java client is not an option for me as I'm using some methods from the latest beta version. try { MobileElement titleView = navigationBar.findElement(By.xpath("//*[@text='" + title + "']")); return titleView.isDisplayed(); } UPDATE: I added selenium in my gradle like this: dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:26.1

How to scroll with Appium 1.7.1 using TouchAction

北慕城南 提交于 2019-11-29 08:25:43
I'm having trouble with scrolling down to a certain element in an iOS and Android app. Since the update from Appium 1.6.3 to 1.7.1 and io.appium to 6.1.0 the swipe method is deprecated and the only solution for it is to use TouchActions. I tried to solve it with TouchActions but it didn't scroll at all or the scroll direction was wrong. My solution so far looks like this, maybe someone can explain what I'm doing wrong: public void scrollDownUntilElementVisible(WebElement element){ TouchAction touchAction = new TouchAction(getDriver()); for(int i=0; i<dimensions.getHeight();i++){ if(element

How to scroll with Appium 1.7.1 using TouchAction

天涯浪子 提交于 2019-11-28 01:38:55
问题 I'm having trouble with scrolling down to a certain element in an iOS and Android app. Since the update from Appium 1.6.3 to 1.7.1 and io.appium to 6.1.0 the swipe method is deprecated and the only solution for it is to use TouchActions. I tried to solve it with TouchActions but it didn't scroll at all or the scroll direction was wrong. My solution so far looks like this, maybe someone can explain what I'm doing wrong: public void scrollDownUntilElementVisible(WebElement element){ TouchAction