srinu-kodi / oneframework Goto Github PK
View Code? Open in Web Editor NEWAutomation for iOS, Android, & Web Apps with one codebase. Like it, Star it & spread the word !!!
Automation for iOS, Android, & Web Apps with one codebase. Like it, Star it & spread the word !!!
I have done the setup as mentioned in the ReadMe file. Tests are working fine on web and Android. It only fails on IOS. PFB the error logs:
[debug] [XCUITest] Xcode version set to '10.3' (tools v10.3.0.0.1.1562985497)
[debug] [XCUITest] iOS SDK Version set to '12.4'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1574946385622 (18:36:25 GMT+0530 (IST))
[debug] [XCUITest] Available devices:
[XCUITest] Error: Unknown device or simulator UDID: '01A1C80D-7DD0-4C7E-88E6-13BBF4B4AEBA'
[XCUITest] at XCUITestDriver.determineDevice$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:693:17)
[XCUITest] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[XCUITest] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[XCUITest] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[XCUITest] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [XCUITest] Not clearing log files. Use clearSystemFiles
capability to turn on.
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1574946389555 (18:36:29 GMT+0530 (IST))
[debug] [W3C] Encountered internal error running command: Error: Unknown device or simulator UDID: '01A1C80D-7DD0-4C7E-88E6-13BBF4B4AEBA'
[debug] [W3C] at XCUITestDriver.determineDevice$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:693:17)
[debug] [W3C] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 4921 ms - 1207
[HTTP]
TEST SKIP: testSignInOption - testing the signin page visually
TEST SKIP: testSignUpOption - testing the signup page visually
Nov 28, 2019 6:36:45 PM org.oneframework.logger.LoggingManager logMessage
INFO: Appium server has been stopped
the test flow for individual system (viz andoid, ios, web) seems redundant. Can we have multiple annotations for same scenario?
Really awesome job bro,small request could you please integrate bdd framework to this project.hopefully it will be useful to your followers and who wants to learn bdd with appium like me .Thanks a lot
--Siddu
I always throws this error when application gets launched "org.openqa.selenium.WebDriverException: java.io.IOException: unexpected end of stream on Connection{127.0.0.1:4723,"
Line = PageFactory.initElements(new AppiumFieldDecorator(driver), this);
is it because appium version 1.15.1?
org.openqa.selenium.WebDriverException: java.io.IOException: unexpected end of stream on Connection{127.0.0.1:4723, proxy=DIRECT hostAddress=/127.0.0.1:4723 cipherSuite=none protocol=http/1.1}
Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z'
System info: host: 'Deepaks-MBP.lan', ip: 'fd89:86c7:1fec:0:8b0:22ab:75ec:7127%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.14.6', java.version: '1.8.0_222'
Driver info: driver.version: IOSDriver
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:233)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:46)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at io.appium.java_client.HasSessionDetails.getSessionDetails(HasSessionDetails.java:39)
at io.appium.java_client.HasSessionDetails.getSessionDetail(HasSessionDetails.java:56)
at io.appium.java_client.HasSessionDetails.getPlatformName(HasSessionDetails.java:65)
at io.appium.java_client.pagefactory.AppiumFieldDecorator.<init>(AppiumFieldDecorator.java:96)
at io.appium.java_client.pagefactory.AppiumFieldDecorator.<init>(AppiumFieldDecorator.java:144)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.