No video

Automate Mobile application using Appium Selenium

This video will help you to automate mobile native and hybrid application using Appium and Selenium Webdriver.
This video will cover download, install and run test on android devices.
Same article published on my blog
learn-automation.com/automate-...
~-~~-~~~-~~-~
Please watch: "How To Create Maven build For Selenium Framework"
• How To Create Maven bu...
~-~~-~~~-~~-~

Пікірлер: 253

  • @dilorly
    @dilorly6 жыл бұрын

    Thanks for sharing Mukesh! Really appreciate it! Pretty clear, concise and well-structured tutorial :)

  • @Mukeshotwani

    @Mukeshotwani

    6 жыл бұрын

    +Diana Lorena Ortiz Libreros thanks Diana I am glad you Liked it. Keep watching and let me know if any help from my side. 😊

  • @dilorly

    @dilorly

    6 жыл бұрын

    Mukesh otwani sure! I will looking for you :)

  • @sarkerkamruzzaman5269
    @sarkerkamruzzaman52696 жыл бұрын

    Thanks Mukesh. Really appreciated for your clear and concise tutorial

  • @Mukeshotwani

    @Mukeshotwani

    6 жыл бұрын

    Thanks Sarker. Keep learning

  • @nitingupta82
    @nitingupta828 жыл бұрын

    Brilliant stuff Mukesh! Loved it! Thank you!

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Thanks Gupta ji

  • @manum7240
    @manum72408 жыл бұрын

    Thanks Mukesh, Its very helpful and easy to understand. I have watched all videos related to Appium selenium. Everything is working fine. waiting for you upcoming videos like how to find element and xpath , please post soon. Thanks a lot!!!!!!

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Hey great :) sure will upload soon.

  • @garrydias
    @garrydias6 жыл бұрын

    Hi Mukesh.. Thanks for sharing this video. It´s amazing. Could you share the pom (or just the dependencies) and maven repository url for that java code mentioned in this video?

  • @carol2astete91
    @carol2astete914 жыл бұрын

    Hello, very good tutorial, thanks for buying. I have a query, it is possible to measure or capture the response time it takes to load the objects, I need to validate that the objects appear but also how long they take to appear. Thank you so much.

  • @venkysmoments9155
    @venkysmoments91555 жыл бұрын

    Which one is best for Android and iOS mobile automation?I am looking for an common automation framework for minimal maintainance.Could you please suggest me.I am new to mobile selenium automation.

  • @Harsh-ug1fq
    @Harsh-ug1fq5 жыл бұрын

    hi mukesh, which is the emulator device, did u seperately installed this device? here you run the test from eclipse using run as java application,so how eclipse configured to run this,can we run test from cli.

  • @Matheussilva-vg1nx
    @Matheussilva-vg1nx4 жыл бұрын

    Hello. Great video congratulations. One doubt, is it possible to use selenium on real devices, using for example the firefox driver in headlles mode? Do you have a video about it? Thank you.

  • @murugeswaritharmaraj4886
    @murugeswaritharmaraj48866 жыл бұрын

    Good explanation. I want to try the same with Ruby instead of Java. Can you please help me on the same. basically i want to write a small prm in appium using ruby.

  • @srinivasarao1333
    @srinivasarao13338 жыл бұрын

    Thanks Mukesh. Very helpful for beginners.

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Thanks Sri

  • @automation_testing_by_abhi
    @automation_testing_by_abhi7 жыл бұрын

    Hi Mukesh, i have gone through the tutorial but after running the test i am not able to click any button on the device app, but the getText() method is working fine. I am using Appium desktop, Selenium standalone server 2.51.0, Java client 5.0.0 Beta9.

  • @ajitkumarsrivastava3577
    @ajitkumarsrivastava35777 жыл бұрын

    Hii Mukesh Is it mandatory to whenever we want to execute test case in mobile testing we have to install application every time. it means can we run our test case without again installation of application. means can we run on previous installed application . plz help me . Thank you .

  • @PraveenTata16
    @PraveenTata167 жыл бұрын

    Hello Mukesh, Thanks for the videos, they are very helpful. Can you please show how to launch an app that is already installed on a phone like Twitter, Facebook, WhatsApp ect. Also if you can post some videos on usage of AndroidDriver as well? That will be very helpful. Thanks.

  • @ajitkumarsrivastava3577
    @ajitkumarsrivastava35777 жыл бұрын

    Hi Mukesh, can we automate non-web based mobile application by Appium like any mobile game or we want to do some change in our mobile setting so can we do it..?

  • @gauravgadbail26
    @gauravgadbail268 жыл бұрын

    Hi Mukesh, I am a big fan now for mobile automation after seeing these videos. :D Please upload the next videos soon...

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Hey Gaurav, yes will upload soon.

  • @waheedahmed6524
    @waheedahmed65247 жыл бұрын

    Mukesh do you have any video around security testing using selenium + zap ? I would really appreciate if you can upload.

  • @kanchanaranga6264
    @kanchanaranga62647 жыл бұрын

    Hi mahesh sir, why we need team viewer? what is the purpose? and you directly installed the app through command prompt, can we do through code?

  • @himankshekher8645
    @himankshekher86456 жыл бұрын

    How are you inspecting element.. I don't see a video of yous for that..are you using uiautomatorviewer?

  • @RiteshBhanushali
    @RiteshBhanushali7 жыл бұрын

    Hi Mukesh, Have you posted about how to get the xpath and id of the elements ? I want to know about it.

  • @kuljeetsingh4980
    @kuljeetsingh49806 жыл бұрын

    Which software is best for display mobile screen on laptop.?

  • @sangeethagogi5366
    @sangeethagogi53667 жыл бұрын

    Awesome...thanks Mukesh

  • @ranjithhs1985
    @ranjithhs19857 жыл бұрын

    hi Mukesh, Could you please tell me how do i create a bat file to integrate this in jenkins? if possible please share the batch file right now i am starting appium thru node and not able to move further with test cases..it is stoping there :(

  • @6jyoti
    @6jyoti3 жыл бұрын

    Can u pls help in launching simulator for iphone via code ( selenium) then proceeding with testing. No manually launching appium

  • @sachinsavanur4310
    @sachinsavanur43108 жыл бұрын

    Thanks a lot bro..:) amazing video

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Hi Sachin thanks keep visiting..

  • @nirajgahukar7665
    @nirajgahukar76656 жыл бұрын

    Could you please share a link to the video for finding locators of the native app in Appium ??

  • @rahin90
    @rahin907 жыл бұрын

    Hi Mukesh when i try to run the CMD command i get "adb is not recognized as an internal or external command, operable program or batch" please advice

  • @utsavpatel6218
    @utsavpatel62186 жыл бұрын

    Hi Mukesh, I tried to connect my android device using PdaNet. it is connecting but I am not able to see virtual device in my laptop. I mean in your tutorials you are showing us by performing actions on virtual mobile screen. how Can I do that? can I use team viewer? or any other tool you can recommend to me please.

  • @ajaykahlan505
    @ajaykahlan5053 жыл бұрын

    Could you please tell me the name of the software that you are using to simulate your phone in your computer?

  • @punitnanda328
    @punitnanda3286 жыл бұрын

    Mukesh sir, I always feel happy whenever i see your videos thank you very much for beautiful guidelines and give us right track in our professional life......sir one thing u just requesting you please make video to how to find xapth in andriod as well as in ios too..Thanks sir

  • @priyanshisaxena6252
    @priyanshisaxena62526 жыл бұрын

    Hey Mukesh, I am facing one prob. If I am using driver.hideKeyboard(); command, then the appium gets unresponsive and doesn't click on any element after that

  • @PrasanthQAArchitect
    @PrasanthQAArchitect5 жыл бұрын

    Hi mukesh, can we do iOS native app testing using appium. Can you pls guide me.

  • @shyamananth
    @shyamananth6 жыл бұрын

    In my setup, the Appium does not populate the Activity and Package Name . Also i dont have an edit option to populate it myself. The Drop down is blank. ? Can you please suggest me here .

  • @ketakinaik9770
    @ketakinaik97707 жыл бұрын

    Hello, Can you please Send me link of the video where you have explained hot to get the locaters and write Xpath in Appium please

  • @anuradhachannappa6351
    @anuradhachannappa63517 жыл бұрын

    Hi mukesh , I am now stuck at choosing the apk fie path in the android setting page. I ha stopped the appium server on installing the app as you have told, still these check boxes are disabled for me.

  • @anuradhachannappa6351
    @anuradhachannappa63517 жыл бұрын

    Hi Mukesh, I am unable to find the .apk file for the selendroid-test-app. I have downloaded the app but when I try to run the install command it says no .apk file and in the folder I am not finding .apk file. Can you please tell me if I am missing something here.

  • @rajateshr6106
    @rajateshr61064 жыл бұрын

    Hi Mukesh, Thanks Mukesh for posting videos for Appium.Please post the video for Appium Testing Framework

  • @Mukeshotwani

    @Mukeshotwani

    4 жыл бұрын

    Will upload soon

  • @MrMadhur18
    @MrMadhur188 жыл бұрын

    hey man your videos are awsm, waiting for xpath videos.

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Thanks Madhur

  • @VitalisVirtus
    @VitalisVirtus Жыл бұрын

    @Mukeshotwani can this run multiple threads?

  • @reenarav184
    @reenarav1843 жыл бұрын

    Thanks for sharing this video and make us understand in simple way..

  • @Mukeshotwani

    @Mukeshotwani

    3 жыл бұрын

    Thanks Reena I am Glad you liked it.

  • @reenarav184

    @reenarav184

    3 жыл бұрын

    @@Mukeshotwani give me some tips to learn more and understand it becoz I really wanted to ...

  • @AbhishekAnand-nn9sv
    @AbhishekAnand-nn9sv8 жыл бұрын

    Hi Mukesh, Thanks for this very helpful video. Can you please tell me the software you used to cast the device on the system .

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Hey Abhishek I used Vysor Chrome extension and app

  • @piyushkaushik7445
    @piyushkaushik74458 жыл бұрын

    Hi Mukesh, great video, thanks a lot. :) I have two queries: One, We haven't used GenyMotion yet. Does it work the same way as real device does?? Can you show how GenyMotion works? Two, I saw you ran the tests using TestNG, is it possible to show viewers how TestNG is configured with your project(also, what kind of project do you begin with, i assume it to be a standard java project.) Your reply would help me and others a lot. Thanks . --Piyush

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Hey Piyush, 1- GenyMotion works slow as compared to real device. 2- For TestNG learn-automation.com/how-to-install-testng-in-eclipse/

  • @srilakshmihd4532
    @srilakshmihd45324 жыл бұрын

    Hi mukesh, can you please tell me how to scroll element in dropdown and dropdown is present in popup using appium

  • @muhammadfaizan6158
    @muhammadfaizan61582 жыл бұрын

    happy birthday bhai ... :)

  • @vijayk8862
    @vijayk88628 жыл бұрын

    Hi Mukesh! hope you r well! can you please tell me, how does the "testscript" in eclipse interact with the real device? do i have to add any plugin of pdanet to the eclipse? please explain. Thanks

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Hey Vijay Appium will take care of this if you will provide device id. Kindly check below video for code and explanation

  • @BhushanPatil-pf4kn
    @BhushanPatil-pf4kn7 жыл бұрын

    Hi Mukesh, I am facing a issue in appium. After open application by appium, it throw a error message "org.openqa.selenium.remote.ProtocolHandshake createSession", and suddendly execution stops after open app. How to solve this issue ?

  • @shabnam7039
    @shabnam70396 жыл бұрын

    Hi @Mukesh otwani Any plan for videos to inspect element and get locators for apps? Thanks

  • @Mukeshotwani

    @Mukeshotwani

    6 жыл бұрын

    Not planned yet but will try my best to upload soon.

  • @VijayaLakshmi-xp7qo
    @VijayaLakshmi-xp7qo7 жыл бұрын

    hi mukesh,i have installed whole setup and unable to run native app can u pls guide me

  • @mudassarmunir7395
    @mudassarmunir73956 жыл бұрын

    @mukesh when i am running my code system generates an exception like that org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c "java -jar "C:\Program Files (x86)\Appium ode_modules\appium ode_modules\appium-adb\jars\sign.jar" C:\Software\selendroid-test-app-0.17.0.apk --override" can you help me to reslove this issue ?

  • @sujith172
    @sujith1727 жыл бұрын

    hi mukesh,how to inspect the elements and find locators for selendroid app

  • @waheedahmed6524
    @waheedahmed65247 жыл бұрын

    Hello Mukesh , nice video. I just want to know the link for video in which you have explained about DesiredCapabilties and setting them up. Can you share the libk?

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Hi Ahmed you can check video number 3 for DesiredCapability. kzread.info/dash/bejne/Zoady8eiqc_Jnrg.html

  • @H_25146u
    @H_25146u7 жыл бұрын

    hi mukesh My appium test shows passed but no click action is performed. i have made complete setup ok but still why this happening

  • @gauravgoyal1022
    @gauravgoyal10227 жыл бұрын

    sir pls upload a tutorial on selenium IDE....I really love ur explanations regarding all the testing tutorials

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Hi Gaurav IDE is not used widely in the market but will upload soon.

  • @gauravgoyal1022

    @gauravgoyal1022

    7 жыл бұрын

    +Mukesh otwani ....thanks a lot sir

  • @jigneshsheliya5949
    @jigneshsheliya59496 жыл бұрын

    Hello mukesh, i am working in Appium 1.4.16.1 and i am getting error :[ Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity.] i tried to find solution but not satisfied yet, plz help me to resolve this issue.

  • @santhoshchandrashekar8497
    @santhoshchandrashekar84978 жыл бұрын

    Good...very helpful for beginners mukesh...can u Plz explain how to connected physical device using genymotion

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +Santhosh C Hi Santosh for real device no added security,,

  • @andreotako2020
    @andreotako2020 Жыл бұрын

    Hello Master I need something like Appium in automating android apps The problem with me I don't want all these steps to get starting playing my code like linking Nox or Emulator with Appium and so on

  • @godbless7101
    @godbless71017 жыл бұрын

    Is you written startapplication.java file...or it will be generated automatically

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    We have to write manually

  • @ravikanthugar9852
    @ravikanthugar98525 жыл бұрын

    Hi bro, Thanks for videos i have connectivity problem please help me out I connected my oneplus cell to pc via teamviewer and i can see my phone screen on my pc sreen but when i run this cmd adb devices in cmd center its not showing my device and after running the adb install path of apk its showing device not found please help me out regarding this i am strucked here

  • @jenajagannath
    @jenajagannath8 жыл бұрын

    Hi Mukesh, please share video for finding locators in Appium

  • @vijayphalke
    @vijayphalke7 жыл бұрын

    I am running Appium server (Version 1.2.0-beta.1) on Mac and do not see option for Android Settings as you have shown in the video to provide Selendroid apk path. Can you help please?

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Hi Vijay, Kindly use Appium Desktop to get all settings.

  • @vijayphalke

    @vijayphalke

    7 жыл бұрын

    I have only Mac machine. Is that a limitation then?

  • @dianakatherinevelasquezgut8656
    @dianakatherinevelasquezgut86567 жыл бұрын

    Hello, I am new to automation and you tell me that eclipse I need to download in order to run this test. Thank you

  • @chandani310

    @chandani310

    7 жыл бұрын

    Hi Diana kindly use Eclipse neon and use below link to download Eclipse www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/2/eclipse-jee-neon-2-win32-x86_64.zip&mirror_id=448

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Hi Diana, Did you get the solution?

  • @kartickk2888
    @kartickk28884 жыл бұрын

    Can you post the selenium with python eclipse in appium automation?

  • @skclipzz
    @skclipzz2 жыл бұрын

    every time i run the application it shows the permission popup which is not getting solved by mobileBy, capabilities also....any clue to disable that?

  • @udaybenake206
    @udaybenake2067 жыл бұрын

    Hi Mukesh.... how to identify or inspect the element for android if any other video then please do provide the link

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Hi Uday i dont have any video as of now but will create soon. You might get some other tutorials on this.

  • @thomaschacko2847
    @thomaschacko28478 жыл бұрын

    could you please let me know how to use xpath in appium

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +thomas chacko Hi Thomas please follow below 2 link which will help you. toolsqa.com/mobile-automation/appium/findelement-and-findelements-commands/ software-testing-tutorials-automation.blogspot.in/2015/10/ui-automator-viewer-get-android-app.html

  • @2mahender
    @2mahender8 жыл бұрын

    hi mukesh..can u please mention the simulator tool u used for the devices

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +Mahender Tirumala Hi Mahender it is GenyMotion www.genymotion.com/

  • @Scrapewithbots
    @Scrapewithbots5 жыл бұрын

    Good job brother

  • @Mukeshotwani

    @Mukeshotwani

    5 жыл бұрын

    Thanks Usama :)

  • @shridharkanamadi9869
    @shridharkanamadi98697 жыл бұрын

    HI mukesh, can know how to locate elements, is there any video? Plz let me know

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    For mobile I dont have. I will upload soon.

  • @MsAbhi11
    @MsAbhi118 жыл бұрын

    Hello Mukesh, Thanks for the video this helped me a lot. I just have a question here. whenever we launch the app will it be reinstalled again? I tried to launch the app the device ID is getting reset.

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +Abhishek M S In appium we have option you can select no reset and then run the test.

  • @MsAbhi11

    @MsAbhi11

    8 жыл бұрын

    Thanks Mukesh it worked.

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Cheers

  • @laharirepalle3357
    @laharirepalle33578 жыл бұрын

    thanks.very help full for me .please uplaod next video xpath videos

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Yes Lahari will upload soon.

  • @tusharjadhav9477
    @tusharjadhav94777 жыл бұрын

    Hi Mukesh, how can I pass headers like user agent to mobile emulator launched with Webdriver?? I tried with capabilities but it doesnt work.

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Sorry I did not get your question.

  • @paraspatidar7925
    @paraspatidar79255 жыл бұрын

    Mukesh can you please make videos on latest appium version. If you have time

  • @ravi_nelluri
    @ravi_nelluri8 жыл бұрын

    When I write AndriodDriver driver then eclipse giving warning "AndroidDriver is a raw type. References to generic type AndroidDriver should be parameterized"

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +Ravi Nelluri It is warning u can skip.Basically it is asking which type of driver you want to instantiate

  • @prafullgupta2421
    @prafullgupta24215 жыл бұрын

    can you give me one video for native application. Now if i send data in text box than it does not go and get error: Finding 'android.widget.EditText[@index='1']' using 'XPATH' with the contextId: '' multiple: false. please give me solution.

  • @srini15434
    @srini154347 жыл бұрын

    Hi Mukesh, can you make a tutorial on how to use the Appium inspector and grab the element locators, so that we can easily grab the elements and write some test scripts for better tool interaction and knowledge...

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    That is my next video is all about location in Appium.

  • @srini15434

    @srini15434

    7 жыл бұрын

    +Mukesh otwani Great, we will be waiting for it...

  • @priyapalani3955
    @priyapalani39554 жыл бұрын

    Hi Mukesh, Can you please post videos Appium using Javascript that would be great Thanks in Advance!

  • @thabisolance6118
    @thabisolance61185 жыл бұрын

    Hey Mukesh when I type adb install c:/... Selendroid.apk in command line. The response is "adb server didn't ack *failed to start daemon error:"

  • @Mukeshotwani

    @Mukeshotwani

    5 жыл бұрын

    Hi Thabiso Can you try with different APK file?

  • @navyachinnari

    @navyachinnari

    5 жыл бұрын

    @@Mukeshotwani Hi, once the application path chosen clicked on start again back to the android settings package to wait for activity is not populating automatically... please help

  • @kittu245
    @kittu2458 жыл бұрын

    Hi Mukesh Its a very informative video Thank you so much and while working in eclipse what are the jars we have to import and I need some more info on what is .apk file and what we have to download from selendroid site Please reply ASAP Thank you

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +Siva rama krishna Ryali Hi Siva I have covered installation part in this video please refer part 1 and part 2 kzread.info/dash/bejne/l4aYxtqhXZfbZc4.html

  • @kittu245

    @kittu245

    8 жыл бұрын

    Ya This is fine and can you upload a video on how to find Xpath for mobile application Thanku

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    yup will do soon.

  • @TheSurajha
    @TheSurajha7 жыл бұрын

    Hi +Mukesh otwani, Thanks for the superb tutorial. I followed the same step for testing Whatsapp but it reinstalled my Whatsapp every time I tried thus i am unable to test the same.Can you please guide me on that??

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Hi Suraj you can select this option from appium then it will not install again.

  • @TheSurajha

    @TheSurajha

    7 жыл бұрын

    Thanks Mukesh.Can you guide me on that please how to do so.

  • @Sahoo0207
    @Sahoo0207 Жыл бұрын

    Hi Mukesh , now a days appium inspector is not working in windows machine, please make a video for that issue

  • @subodhrajbhandari6089
    @subodhrajbhandari60898 жыл бұрын

    Hello mukesh! can you please tell how you have simulated real device? I cant able to install chrome browser on genymotion virtual device so...

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +subodh rajbhandari Hi Subodh try default browser in GenyMotion.

  • @NagarjunaSettipalli
    @NagarjunaSettipalli7 жыл бұрын

    Hi Mukesh, Could you please tell me how to inspect elements in my Hybrid application.

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Hi Naga this will help toolsqa.com/mobile-automation/appium/how-to-inspect-and-automate-webview-in-hybrid-app/

  • @NagarjunaSettipalli

    @NagarjunaSettipalli

    7 жыл бұрын

    Thank you Mukesh for your reply .... :) Now I am able to launch the App(Android). Now I want to maintain my test scripts in order. So I need a framework. Do you have any video for sample framework. It will really help me...

  • @ramphalke5775
    @ramphalke57755 жыл бұрын

    How did you take the xpath on mobile app?

  • @Mukeshotwani

    @Mukeshotwani

    5 жыл бұрын

    using UiAutomateViewer

  • @harshggupta13190
    @harshggupta131905 жыл бұрын

    Hi, which Android emulator is that?

  • @shabnam7039
    @shabnam70396 жыл бұрын

    I was getting error by adding activity and package name.used following method capabilities.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, "io.selendroid.testapp"); capabilities.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, "io.selendroid.testapp.HomeScreenActivity"); to find packagename and activity without using appium(new version of Appium does not have setting option) use following command in command prompt adb shell "dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp' in result first will be the package name and second one as activity name.

  • @adityamalani7455
    @adityamalani74555 жыл бұрын

    hey mukesh, when I run a code it show me error in console like Exception in thread "main" org.openqa.selenium.WebDriverException: It is impossible to create a new session because 'createSession' which takes HttpClient, InputStream and long was not found or it is not accessible and in terminal program interrupt at ..... [debug] [W3C] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) [HTTP]

  • @MrRahulgupta92
    @MrRahulgupta926 жыл бұрын

    Hi Sir in this example you not told how can get Xpath for editText and id for click

  • @Mukeshotwani

    @Mukeshotwani

    6 жыл бұрын

    Hi Rahul, yes I have not created video on that.. I will do soon.

  • @arsaurabh6044
    @arsaurabh60448 жыл бұрын

    thanks a ton for this. When are you going to upload next video? Please upload it soon.. :)

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Yes Saurabh will upload soon.

  • @chilakapatisai
    @chilakapatisai8 жыл бұрын

    Hi Mukesh, 'Package' and 'Launch activity' are not generating when added the app path in the application path and pressed the start Appium server.any thing to do after this step?

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +pradeep Hi Pradeep if not coming then check with developer to provide or use below article.www.toolsqa.com/mobile-automation/appium/how-to-find-apppackage-and-appactivity-for-apk-file/

  • @praveenavr5687
    @praveenavr56878 жыл бұрын

    Hi Mukesh thank you for the video, But I am facing an issue here, even after launching the appium server, wait for packages and other tabs are still blank they are not getting populated, kindly help me with this issue

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +Praveen Avr Hi Praveen try below link www.toolsqa.com/mobile-automation/appium/how-to-find-apppackage-and-appactivity-for-apk-file/

  • @fayfrancis4964
    @fayfrancis49647 жыл бұрын

    Hello Mukesh, I am facing one major issue which has become a major bottleneck to move ahead in our automation testing project. When ever we are trying to launch the browser or any app using appium script - it is asking for the verification - if we try to launch browser it is aking for login. When we launch an app like WhatsApp - it is asking to enter the phone number for verification. We've tried all the options like in appium settings we've put no reset(enabled this checkbox). Even then no luck. Please help us with this. We are using mobile device of android version 4.4.2. Waiting for you reply.

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Hey Fay you can refer below video for this kzread.info/dash/bejne/mGaWpppvpcqwY7A.html

  • @punitnanda328
    @punitnanda3285 жыл бұрын

    Sir can I do regression testing in cucumber?

  • @cocoeulo3307
    @cocoeulo33073 жыл бұрын

    For iOS devices. Do I really need an Apple machine to run this or can I use a virtual machine on Windows running Mac OS X?

  • @Mukeshotwani

    @Mukeshotwani

    3 жыл бұрын

    Yes XCode wil work with MAC

  • @cocoeulo3307

    @cocoeulo3307

    3 жыл бұрын

    @@Mukeshotwani But will it work with MacOS virtual machine on Windows 10?

  • @Mukeshotwani

    @Mukeshotwani

    3 жыл бұрын

    no you need MAC for XCode

  • @cocoeulo3307

    @cocoeulo3307

    3 жыл бұрын

    @@Mukeshotwani Thanks

  • @saipradeepch2527
    @saipradeepch25278 жыл бұрын

    hi Mukesh, can u pls suggest where can we find the selendroid test app apk?

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    +Sai pradeep ch Hi sai download from here selendroid.io/setup.html

  • @sandeepkumar-yq3sm
    @sandeepkumar-yq3sm6 жыл бұрын

    Hi Mukesh, Thanks for the video this helped me a lot. I am not able to found the way to identify toast messages using "UI Automater Viewer”. Could you please make a video on how to verify toast message. I have gone throw the below script but unable to read the data frm screenshot. static String scrShotDir = “screenshots”; File scrFile; static File scrShotDirPath = new java.io.File("./"+ scrShotDir+ “//”); String destFile; static AndroidDriver driver = null; public String readToastMessage() throws TesseractException { String imgName = takeScreenShot(); String result = null; File imageFile = new File(scrShotDirPath, imgName); System.out.println(“Image name is :” + imageFile.toString()); ITesseract instance = new Tesseract(); File tessDataFolder = LoadLibs.extractTessResources(“tessdata”); // Extracts // Tessdata // folder // from // referenced // tess4j // jar // for // language // support instance.setDatapath(tessDataFolder.getAbsolutePath()); // sets tessData // path result = instance.doOCR(imageFile); System.out.println(result); return result; } /** Takes screenshot of active screen @return ImageFileName */ public String takeScreenShot() { File scrFile = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE); SimpleDateFormat dateFormat = new SimpleDateFormat(“dd-MMM-yyyy__hh_mm_ssaa”); new File(scrShotDir).mkdirs(); // Create folder under project with name // “screenshots” if doesn’t exist destFile = dateFormat.format(new Date()) + “.png”; // Set file name // using current // date time. try { FileUtils.copyFile(scrFile, new File(scrShotDir + “/” + destFile)); // Copy // paste // file // at // destination // folder // location } catch (IOException e) { System.out.println(“Image not transfered to screenshot folder”); e.printStackTrace(); } return destFile; }

  • @jiteshmohite1069
    @jiteshmohite10697 жыл бұрын

    Hi mukesh I am not able to add application path, Appium emulator not allowing me

  • @kamalennaji5970
    @kamalennaji59705 жыл бұрын

    I have a question I would like to answer When I extract an code appium to Apk, can I share it Please help me

  • @Mukeshotwani

    @Mukeshotwani

    5 жыл бұрын

    Sorry Kamal I didn't get your question.. can you explain in detail?

  • @kamalennaji5970

    @kamalennaji5970

    5 жыл бұрын

    thank you Mukesh for your response , I want to know if I export my apk, Can I use it in other real devices. - because we use appium server with local host, are these devices should be connected to the appium server if yes how? - because I want to use my apk in other devices which is not connected to my pc, will my apk work in these devices. Thank You So Much My Brother For All Your Efforts.

  • @waheedahmed6524
    @waheedahmed65247 жыл бұрын

    Also I couldn't find video link for how to find xpath for text field and button ? can you share the link for it too? Thank you

  • @Mukeshotwani

    @Mukeshotwani

    7 жыл бұрын

    Hi Ahmed, xpath video is on hold will upload soon.

  • @waheedahmed6524

    @waheedahmed6524

    7 жыл бұрын

    Mukesh I have quick question I'm working on android app when I click send email button it shows different options Gmail or SMS or Whatsapp but they all have same class and resources-id using UI automator. can you tell me how can I resolve this issue?

  • @rooparamesh5019
    @rooparamesh50195 жыл бұрын

    Android Settings option not available in Appium Server

  • @Mukeshotwani

    @Mukeshotwani

    5 жыл бұрын

    Hi Roopa new appium server has different UI. Setting option is present but with few option rest everything you have to write in code

  • @happy_bhojjj
    @happy_bhojjj8 жыл бұрын

    Hi, Can you please share a video showing how to connect appium to genymotion and how to setup eclipse for this. Thanks in advance. Thanks

  • @Mukeshotwani

    @Mukeshotwani

    8 жыл бұрын

    Hey Shri, Its quite easy just download, install, download respective android version and start the setup. In Test you can mention emulator

Келесі