Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sai Krishna
    @saikrishna321
    version 8.0.0 which has support to execute tests on remote machine
    shane51
    @shane51
    @shane51 there would be delay in sync, coz appium installed the settings app so which means some device would be faster to install the app and the other would be slow Hi @saikrishna321 this video is based on my python-Docker solution but not AppiumTestDistribution. I will try newest version AppiumTestDistribution, and see if it works for me
    arunaousula9421
    @arunaousula9421
    @saikrishna321 facing the same problem as @shane51. Tests are not running in parallel instead it runs first tests on device 1 and run another tests on device 2, serially. I have around around 10 tests in the list all run in the same way. One after another
    arunaousula9421
    @arunaousula9421
    When I set Runner = distribute, even it does the same thing .. Run the first tests on first device and then seconde test on second device
    Sai Krishna
    @saikrishna321
    R u saying the first test completes and second one starts on next device ?
    if yes, can you share a video .. coz i cant reproduce this in my CI we run against 10 devices and they run in parallel
    karnan
    @friendlyspeak_twitter
    hi everyone ,
    for me in appium inspector - action not allowed to enter text in fields
    can anyone help me
    karnan
    @friendlyspeak_twitter
    Exception in thread "main" java.lang.IncompatibleClassChangeError: Implementing class
        at java.base/java.lang.ClassLoader.defineClass1(Native Method)
        at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1007)
        at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
        at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801)
        at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699)
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622)
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
        at example.main(example.java:35)
    again getting this error :(
    ThamaraiSelvi
    @ThamaraiSelvi

    @saikrishna321 I tried to integrate your application with my existing framwork[cucumber-java-Testng]. But it was not working.
    So I tried to execute your sample project PageObjectPatternAppium-single-server-session, but I struck here. PLs help
    D:\Android\PageObjectPatternAppium-single-server-session>mvn clean -Dtest=Runner
    test
    [INFO] Scanning for projects...
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building PagePatternAppium 0.0.1-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ PagePatternAppium ---
    [INFO] Deleting D:\Android\PageObjectPatternAppium-single-server-session\target
    [INFO]
    [INFO] --- cucumber-jvm-parallel-plugin:4.2.0:generateRunners (generateRunners)
    @ PagePatternAppium ---
    [INFO] Adding D:\Android\PageObjectPatternAppium-single-server-session\src\test\
    java to test-compile source root
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ PagePatter
    nAppium ---
    [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
    i.e. build is platform dependent!
    [INFO] skip non existing resourceDirectory D:\Android\PageObjectPatternAppium-si
    ngle-server-session\src\main\resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ PagePatternAppi
    um ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ Pa
    gePatternAppium ---
    [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
    i.e. build is platform dependent!
    [INFO] Copying 16 resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ PagePat
    ternAppium ---
    [INFO] Changes detected - recompiling the module!
    [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. b
    uild is platform dependent!
    [INFO] Compiling 35 source files to D:\Android\PageObjectPatternAppium-single-se
    rver-session\target\test-classes
    [WARNING] /D:/Android/PageObjectPatternAppium-single-server-session/src/test/jav
    a/com/appium/config/CommonAppiumTest.java: Some input files use unchecked or uns
    afe operations.
    [WARNING] /D:/Android/PageObjectPatternAppium-single-server-session/src/test/jav
    a/com/appium/config/CommonAppiumTest.java: Recompile with -Xlint:unchecked for d
    etails.
    [INFO]

    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ PagePatternAppium

    [INFO] Surefire report directory: D:\Android\PageObjectPatternAppium-single-serv
    er-session\target\surefire-reports


    T E S T S

    Running com.appium.tests.Runner
    Configuring TestNG with: TestNG652Configurator
    java.io.IOException: Cannot run program "/bin/sh": CreateProcess error=2, The sy
    stem cannot find the file specified
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at com.thoughtworks.utils.CommandPromptUtil.getBufferedReader(CommandPro
    mptUtil.java:41)
    at com.thoughtworks.utils.CommandPromptUtil.runCommandThruProcess(Comman
    dPromptUtil.java:15)
    at com.thoughtworks.device.SimulatorManager.getAllAvailableSimulators(Si
    mulatorManager.java:212)
    at com.thoughtworks.device.SimulatorManager.getAllSimulators(SimulatorMa
    nager.java:32)
    at com.thoughtworks.device.SimulatorManager.getDevice(SimulatorManager.j
    ava:39)
    at com.appium.utils.HostMachineDeviceManager.lambda$null$8(HostMachineDe
    viceManager.java:175)
    at java.lang.Iterable.forEach(Iterable.java:75)
    at com.appium.utils.HostMachineDeviceManager.lambda$getLocalDevices$9(Ho
    stMachineDeviceManager.java:169)
    at java.lang.Iterable.forEach(Iterable.java:75)
    at com.appium.utils.HostMachineDeviceManager.getLocalDevices(HostMachine
    DeviceManager.java:163)
    at com.appium.utils.HostMachineDeviceManager.getDevices(HostMachineDevic
    eManager.java:87)
    at com.appium.utils.HostMachineDeviceManager.initializeDevice

    karnan
    @friendlyspeak_twitter
    how to longpress the a particular are in iOS application
    Vinícius S. Pazzini
    @VPazzini
    @saikrishna321 Can we record videos when running Cucumber? Also, is there a way to take screenshot of every action?
    manjit1217
    @manjit1217
    Hi, Can any one please let me know how to uninstall the application using java in appium?
    @saikrishna321
    Sai Krishna
    @saikrishna321
    @VPazzini yes u can record screen for cucumber
    take screenshot for every action ? why when u have video ?
    Vinícius S. Pazzini
    @VPazzini
    @saikrishna321 I tried recording the test execution, but no videos were recorded
    Sai Krishna
    @saikrishna321
    @VPazzini any error ? have u installed flick on your machine
    ?
    @/all we are updating the ReadMe with the organizations who are using our framework, can you folks please ping me if you think your org can be mentioned in the page
    eyalpartner
    @eyalpartner
    Hi, I need help with running AppiumParallelTests
    Can someone help please ?
    eyalpartner
    @eyalpartner
    java.lang.ClassCastException: Android.ifsTests cannot be cast to com.appium.manager.AppiumParallelTest
    at com.appium.manager.AppiumParallelTest.onTestStart(AppiumParallelTest.java:508)
    at org.testng.internal.TestListenerHelper.runTestListeners(TestListenerHelper.java:73)
    at org.testng.internal.Invoker.runTestListeners(Invoker.java:1389)
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:559)
    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
    eyalpartner
    @eyalpartner
    seems that I can't use keycode events from AndroidElement because your code has only AppiumDriver, Can you do something ?
    Sai Krishna
    @saikrishna321
    how does ur code look like?
    Sunil Patro
    @sunilpatro1985
    Hi @saikrishna321 Thanks for the awesome framework, I have an app which is bit different in navigations for both ios and android, so I am planning to keep separate page object and tests for android and ios, can I still use this framework?
    Carmine Vassallo
    @carminevassallo
    Dear @/all AppiumTestDistribution developers,
    I’m Carmine, a researcher at the University of Zurich and I am interested in supporting developers working with continuous integration (CI). I created a reporting tool that analyzes the CI logs of a project to identify deviations from accepted CI best practices.
    For example, are you aware that your last changes on branch "CI" happened 23 weeks ago, and have not been merged back to the master yet? In your project, you typically merge branches on weekly basis.
    You will find this and other interesting statistics about the CI practices in your project at https://carminevassallo.github.io/detectorsIcons/summarizer-output/saikrishna321_AppiumTestDistribution/saikrishna321_AppiumTestDistribution.html
    I would really appreciate if you could find the time to give me some feedback on the report that I generated for you or on my tool. Please fill out the following survey http://www.surveygizmo.com/s3/4515476/Summarizing-the-Continuous-Integration-Process
    It usually takes 7 minutes (10 minutes at maximum). As a little encouragement, we will raffle off a 50$ Amazon voucher among all participants.
    Thank you for your time! Your feedback is crucial for my research!
    Sai Krishna
    @saikrishna321
    @sunilpatro1985 you can keep single framework for that
    the sample also has different navigation for ios and android but still single test
    Sunil Patro
    @sunilpatro1985
    @saikrishna321 Sure, will take a look at the code, Thanks
    Shawn Edge
    @Edge-Man
    Hello! is anyone on?
    johnson are
    @lummyare
    Hi Everyone. I am new to Appium as i have been using Calabash for long and i just started work where they use only Appium. Could help me only configure this AppoiumTestDistribution or PageObjectPatternAppium to work on my iOs and Andorid app. I dont mind to pay for your effort if you could help me set the framework to work for my apps and run 1 test for landing page to confirm it works. Please here is my email lummyare@gmail.com incase anyone is willing to help and get paid for it. I am sorry if tyhis violates the rules of the chat room but i am really desperate and almost about to lose my job. All i need is to help set this great framework to use my iOS and Andorid app. Thanks
    Shawn Edge
    @Edge-Man
    @lummyare : I haven't used this framework but may I ask why do you need to use it? , You should be able to get your tests running without the framework. This framework however does provide functionality to use with Cucumber and Parallel and Distributed testing. Feel free to DM me if needed I should be able to help for free.
    Gopinath
    @vsgopinath
    Can you anyone list down the steps to run the sample project by Cucumber Tests. I followed the steps in the ReadMe.MD ,its not running the test instead it starts server then shows build success.
    Sai Krishna
    @saikrishna321
    @vsgopinath can u try the sample project https://github.com/saikrishna321/PageObjectPatternAppium
    Gopinath
    @vsgopinath
    @saikrishna321 I tried the above mentioned sample project.TestNG framework is running perfectly. But for cucumber, i tried running using the maven goals validate and clean -Dtest=RunnerCukes test . But it's just starting the appium server and stopped immediately showing "BUILD SUCCESS". I am very new for this cucumber jvm parallel plugin and appium.
    Gopinath
    @vsgopinath
    @saikrishna321 I am getting the below message in console :
    image.png
    Gopinath
    @vsgopinath
    @saikrishna321 Am I missing anything here ?. Coz I followed the steps mentioned in the ReadMe.
    Sai Krishna
    @saikrishna321
    R u running the sample project? If yes can u check if the RunnerCukes is TestNg runner
    Gopinath
    @vsgopinath
    @saikrishna321 Yeah. Even I modified the import to TestNG.annotations, I am still getting the "same message" as mentioned above. And for some reason, I can not able to see the code in the class files of AppiumTestDistribution. I could see the "parallel.xml"(testNG test suite) file is created in the target folder. Any suggestions ?
    Gopinath
    @vsgopinath
    @saikrishna321 I am able to resolve this issue now. And the cucumber tests are running parallel now. The issue is with the eclipse "M2E" connector as it's ignoring the plugin goal of that cucumber jvm parallel plugin. I got the issue resolved when i ran the same project in IntelliJ. Thanks for the help :)
    johnson are
    @lummyare
    @vsgopinath please could you share the steps you followed to fix this issue as I had same issue as well. Please help share details. Thanks
    Gopinath
    @vsgopinath
    @lummyare Don't use eclipse. Use IntelliJ by JetBrains.The project will run without any errors or warnings.If you still want to use Eclipse, you might need to change the default "M2E" connector.