Using Selenium To Test Mobile? Meet Appium

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome everyone and thank you for joining us morning my name is Daria and I'll be your host for today we'll be talking about using selenium to tech bubble anything happen presented by Bhavani a manager my success at salsa just a little housekeeping before we get started if you have any questions during the presentation please type them into the question box and your GoToWebinar control I'll bring them up later after presentation we have questions to run Thank You Daria hello everyone I am your speaker for the day and my name is Janine agua I am a manager of customer success and sauce-like Darian just sit and basically my job is to help our users automate to the next level to me take their existing infrastructure and bring it to the cloud that accelerates o CIPD journey and I have a background in mobile test automation especially using app this is something I picked up during my previous work at text object before we became part of the softest fabric so for today's webinar we will kind of assume that participants have some sort of background with selenium you know people may have different levels of understanding about what selenium is and how it works and what can be used to achieve to make sure that we're all on the same page we'll just go through the main main points about slanty be real quick so selenium basically is a tool and automation tool that allows users to remote control a browser through a test script right selenium is client server software it's based on a client-server architecture which in turn leverages the webdriver protocol which is a w3c candidate recommendation so on its way well on its way to become a a school official w3c pre-computation so selenium allows automation on all the major browsers and already a few years ago some would say it was clearly the de-facto open-source standard for web test automation what maybe some of you don't know is that sauceless probably wouldn't exist without it is a soft sauce was itself founded by one of the creators of of selenium itself kind of as an extension of selenium itself so we said selenium was already kind of the protagonist on the scene for browser automation for desktop or for some years already right so now it's 2017 what about mobile so right now if we look at the data we see that mobile users have been success significantly outnumbered desktop users since years also we're seeing more and more that the revenue that's brought in through mobile is actually higher than the ones coming from desktop so there should be a great automate automation tool for mobile out there right and of course there is so it's active we could say a few is basically selenium with added mobile capabilities basically instead of remote controlling a browser we were Apple allows us to remote-control mobile devices what's really nice about about appium is that if you're familiar with selenium you will find adopting this tool really easy and this is kind of what I want to stress about about a few it's not there is no need to get people working with selenium you this is not about learning a completely new tool completely new we'll architecture for a new way of working that's pretty much the opposite so we're talking exactly the same architecture based on the same protocol and also we're looking at a tool that it's on its way to become the de facto standard for mobile so basically we really really could say this app is slang for mobile so what's so cool about this tool though well there's a number of things and I want to cover a few in this presentation so first of all you could say this app you miss cross technology that means basically it allows us to automate different types of applications so if you're familiar would be mobile app 8 today mobile applications can be created in a variety of ways go on one end of the spectrum you could say we have the mobile web app which is basically a responsive website which is basically everything that you can reach through the browser of your mobile device and the complete other ends of the spectrum we have native applications these are made up of native components and written with the with the platform's own SDK what we have in the middle is as the name says hybrid app is a hybrid between these two in a way because it has kind of a thin frame of of native components but most of its content is actually web content that is served through a peculiar component that is the webview so all these different types of applications are automatable using capam the there are slight differences of a few different should be differences in the approach when it comes to writing attachments for these these different kinds of applications but mostly as soon as you know what peaceful differences are the mechanism does give the same so this is really one of the really cool features about that's not it so first of all you know after you basically allows you to write tests against multiple platforms which is is really cool so we're talking about the Buddha cross-platform tool it used to be that we could only automate on iOS and Android now Windows is also in the picture and we can do this using the same API not only can we automate for different platforms but we can actually reuse our test script a single tastic to run on against for example Android and iOS so here I have a just a very short example basically you see a snippet of Java code here at the end of a page and basically what we were doing here is just grabbing one element from the UI so we're prepping this login button we're doing a driver to find element by ID so this is deep the strategy that we use the locator times that we use to access a specific element and this ID is logging underscore but right then we second line we just click this login button so basically if you have the city where to have the same ID but you can also use different strategies I did not the only way that you can grab a UI Alice if we have the same ID on say Android and iOS this code would perform the same exact action on both the Android application and the iOS application so I've put them an asterisk up there because I always want to want to warn people we want to kind of manage expectations here so this is who and actually this is it's perfectly reasonable to write a single - script or say both for both Android and iOS is how I've mostly done things during my mikasa automation project but you have to take into consideration that this only pays off if you have applications that are tests similar flows on both platforms right so if you have an application on eyelash that's radically different from the one on Android then it's not in your best interest to go this way nothing though is is preventing you from writing to separate to separate test it this is that not enough well happy as another really cool thing about it which also selenium has of course and that is the multi-language support so basically having supports a variety of popular languages you can write your test code set talking yeah you can see the dear Java Python Ruby c-sharp there's there's a lot more and basically this is super cool because what you can do is you know if you have some engineers that have strong backgrounds in I don't know you know say no js' or Python they don't need to learn a new language to actually start working with automation so how is this achieved I mean how what's not knowing basically seen some of the of the main features here and how does this work what does the architecture look like and this is not I know some of you maybe are saying ok here comes the boring stuff no actually this has some very important practical consequences that you want to be aware of so basically how this works is we've got let's just simplify let's say we have three components here on the left of my screen you can see the automation script which is we will see is acting as a client in this equation in the center we have the acting server and to the right we have a mobile device in this case we have an Android device so basically what we have is that we have as we as you were saying four different bindings when we're talking about asking for different languages and the cool thing about it is that the athlete server that you see in the middle of the picture here is if you believe used to the actual language that you're writing your test scripts in this means that you know if you have different bindings that produce the same result that speak the same language to the to the active server you can just achieve the same exact result writing your test scripts in Python Java as long as there is a an acting driver in this case again the client in this picture for a specific language you can take out what you had before and swap the other end and get the exact same result that's pretty cool that's make things pretty modular another benefit here is that you can have clients and servers in different locations right so you don't need to so let's say that you're running in the cloud for example you still are it can still decide to keep the client code to the test set up wherever you want then your machine or your CI server you can even run an acumen server on your own machine and just do everything in one place this added flexibility is quite nice so again how this works is basically the swamp from rack sorry from left to right we have a client that but they decoding the test script itself so the different commands are you getting sent over to the acting server what the acting server is sees is a sequence of instructions pipe okay now find me this element on the device click on this element send text into this I don't know a password field and using the basically the native automation tools that are exposed by the platform under text it's a fume basically remotes controller device so you look at the device and we will download this in just a moment I don't don't plan to keep you guys put it slides all the time basically what you will see on the device is things are appear to be clicking themselves and input text input is being facing fields and things like that so here again you're interacting using our textbook that we write we're basically automating interaction with the application that's on the device kind of like you know what we get is basically the temp that's executed kind of like a user would so everything is driven through GUI what we're what we're doing here is again interacting with UIL that's how we drive our test okay so before we jump into a quick demo let's let's go through this once more because this is the point that I really want to hammer home I know you know it's kind of striking to me that there are so many people out there that you know they're super pro advanced selenium users but they have never heard of a cume and this is this is what we want to fix right this is a great tool that CD believe believe in actually we we're very much involved in to making it grow we contribute we contribute to it directly as much as possible we want everyone out there to know that there is such a great tool and you know you can easily give it a try so basically just how close are these two tools they're both based on client-server architecture they're both using the same exact protocol under the foot of selenium is multi browser action is multi platform those are multi-language so you can write scripts using different languages and achieve exactly the same result they're both of course open source and if this is not you know just oh it's cool that they're open source I mean the fact is that the fact that they're open source you know they they have such a master an active community around them and are evolving so quickly that you know you go on if you stumble into some sort of issue you can just go online and cheer your antiques you have a certain number of people that maybe also are struggling with a specific thing and probably you will find a solution already out there and if not actually the acting team is super responsive to to people who you know open issues and before things so that's that's always pretty cool so selenium is basically the de facto standard for web for web automation and acumen is well on its way to becoming the leader in its field for mobile okay I think I'm talking up what I want to do is get rid of the slides for a moment and show you guys just real quick how we can how easy it is to write a test or appium and yeah automates a simple application so that's right out just going to exit my slides here and okay so what you see here on the right this is basically AB real device connected to my machine here just through through USB this is a moto G from Motorola and what we see here is basically live feed from the screen so here I'm basically moving around the price with my finger on the screen and you can see you can change here in real time so again this is not an emulator that they have open this is just a connection to a real device that connected just sitting next to me on the table based okay so we will need to see what's going on in the device so first of all oh yeah Before we jump into my editor I'm getting kind of you know anxious due to get some codes down not programming that much anymore these days so I'll take every chance I can get first so let's take a look at that you so this is the brand new app from desktop looking pretty amazing and there are different ways to use to use happen what we want to do right now is just basically start getting server using the default settings so I'm going to do just that and let me what you see here is basically the app your server logs in real time you know if you look at these you know exactly what's going on and now I'm going to click on start in your satin and what this allows us to do is in fact the applications UI so that we can actually write latex clips so what I'm going to do here is first of all I need to provide a few capabilities to be able to actually launch the session so here I'm going to insert my devices name to get that I'm just going to do an ADB devices here and I'm going to copy the unites name over there next up we want to tell after that we're automating again and going block right this is an Android device so platform name is Android we want also to tell our Acme instance over here that we are automating against an app that is located on my desktop so here I'm just going to provide my pop to this application and the implication is come on what is a super cool application for outdoor navigation that's pretty popular here in Germany what we're based we have one office in Berlin now and yeah so we're going to give it a try we're going to try and automate a simple scenario there okay so let's find start a session here so you can see what happens on the screen of the device and just by looking to the right of the screen here we have the local okay see some magic has happened and lo and behold we've got the promote application popping up okay so now this is open in the device will give actors in just a few more seconds and then we will be able to basically clean the inspection tool that that can provide we will be able to inspect the application of UI oh I think I forgot one setting actually so here if we look at the logs this is actually a good a good good practice we forgot to enter the starting activity here so some for some applications you need to tell after which specific activity it should wait for to determine if the application has been correctly launched or not so now if I can just quickly find on the active application sorry the active activity here I'm just going to copy that in okay I cannot find it I'm not not the best at reading logs so we will do instead is called Stack Overflow to the health so I need just to launch the application and ask androids oh let's say active activity let's see if that works or current activity maybe check focus activity and with a TV you need to use adb this is actually something that they search for in the past this looks more or less good so I'm just gonna copy that and I guess that should get the job done I'm just going to try and start a new session so that we get the application installed and then I will quickly intervene thanks Stack Overflow always always who's there for me again so here we have the most let's see if the magic command returns yeah that could be the starting activity that we're looking for okay I'm just going to copy that so you probably when you start automating for your application you want me to do this so don't if you didn't get all the steps here you know don't get discouraged that was kind of improvisation on my side so here we have now possibility to add the other mixing capability which will be a half wave activity and we should be good to go let's write out again and we're trying to be start the inspector so as we can expect the applications in line and we will need that to write our test okay looks like we did it so here the two little bins loading and as you can see here we've got the applications UI on the left and we can basically move around with the mouse pointer and select different element this case I want to write a quick login login text so what I'm going to do first of all open IntelliJ or you know whatever you're using I am going to use Java with along with tested cheat or actually let's try a unit and what we have here is actually okay start a new project and yeah maven will do my mold test try that out Oh whoo okay okay so what we're going to do is write a test from scratch here and it seems like that already has one project with the exact same thing okay let's change it up a little okay so again I'm going to do this with Java right we're going to keep it simple but you could use Ruby Python whatever you feel comfortable with right so what I'm going to do here is just and part of me but I go a bit quick about this but we have a limited amount of time of course I'm just gonna write a new clock might come on test and here what we will need is first of all a setup method to establish new connection maybe I can serve it right here I can see already added some missing self dependencies and I'm going to grab J units there we go and I'm just going to copy the dependency to my comm file here okay you pour the changes and we have a set of method I have annotated this would be FD for annotation this means that the setup that has low run before every text method so then we need of course a cache method public void my first text please use better names when you when you do your own thing so after that we will probably need another text or sorry another method actually which is running after part test method to carry down session right so how do we establish a connection to the acting server actually this is the first question right so here we just have a plain Java class playing to unit test we want to yessum server what's the next to the admin server we have the client right yet and driver in this case we're automating for and--which like and already just right android driver which driver and instantiate it as you can see we're missing some dependencies here and what do we need to grab we need the active after you Java client of course just going to jump into that grab the latest version go against my palm file enter another dependency and input changes there we go okay we're almost ready to instantiate our clients so that we can start a connection to the action server first of all we need to tell the client where to look for the server right so we need two endpoints you're out and that's something that Adam is actually I'm just going to close the inspector for a moment here we're going to go back to that in a second that's something that we can easily get from the from the admin server itself so here we can see this we're running a local ghost on four four seven two three so I'm just going to point my client right there for seven two three like WB / up a steeple endpoint I'm going to AH achieve so this exception over here and then we need to provide some capabilities as well and actually so these are capabilities are additional options if you will that we were providing to to Acton and smoothies you can consult a lot of things about how our text is long basically I'm just going to create the immune Society abilities object here and you've actually already seen the hit believes that we need for this text because we were using them printing specular so first of all is the box man so again I'm going to grab this real quick ADB devices well there we have it next thing is the platforming again we're automating for Android what else we need to tell happy which app we're going to use for a test and that is I'm going to pass I'm going to use the path to amputation users that's my username this case does should be on the desktop under the come on Appa name are that we need again this the name of the activity which probably already I lost again so let's just Oh let's still here okay Thank You appium I didn't want to type that again so if abilities activate activity and what this does is just tell a few hey you can tell when the app has started by checking that this activity is this started right these are all the options that we need actually I'm just going to pass our capabilities to the driver here and actually as soon as we launch our test we'll see that the application gets installed and probably nothing else happens because we have a an empty test method here so let's see if we can establish a connection to the app conservative right now actually let me move a few windows around I'm just gonna run this j-unit tech you can see it's running now and I can look at the logs here to see what's happening and what I want to show you guys is of course the screen public device as things happen you can see the tech the application started and then nothing happens hanging there for a moment cool things are going to happen soon nothing happens because we didn't actually automate anything yet so here what we have is just an empty text method so actually if I try to launch this again what will happen is that we will not be able to establish a new section and this is because apart from the setup method we need to also do something in our teardown this is just the last piece of maintenance what we need to do here and that's what we need to do inside the teardown is actually quit the session with the Attic session so this gets freed up at the end of our test this is what we didn't do and as you can see we could not create a new session so what I'm going to do is just take this make global and just access my driver from the teardown as well okay so let's start writing our text just I'm just going to start the inspector again here and while that starts I know that in my test first thing I want to do is find an element on the UI right so here I will do a driver client element by something we don't know yet we want to revive the in quick login text I'm just going to select this button which is what they will click here so I don't have a real tax case here I'm just kind of making one up on the fly we'll try to log in without providing a password for example we're providing a incorrect incorrect credentials that these are really easy things to do just quick example yeah and he here all the information that we have about this specific UI element you can also see it highlighted within source here and yeah so we have the possibility to find a sign I'm accusing its ID we could use axe fast you could use class names and other things that IV is usually the preferred way for final notice when I whatever uses unique ID that's the way you would go is so here I'm just going to copy the extra like yoga element go back inside my editor I have drivers or find elements by ID so you can see this is pretty quite quite readable in the lower will be rising some pretty bad held here we're going to be writing a very ugly looking text so by ID and we provide the ID of the actual element what we want to do with this element will probably want to click it right so that's it find the element using this strategy over here and then click it that's all our text is going to do right now if I run the text now I will fail why because we're actually keeping the session busy with the inspector so let's quit the session close the inspector and run our test okay here we go let's see what happens should be because I move this out of the way for a second what you're expecting to see here is that the commode application is launched and a button is clicked and that's exactly right that was Bob but that's the pattern okay let's make it a little bit more interesting than that though let's again start the inspector I once you want to see something be cool or going on let's try and perform a full flogging invalid login as we except before you want to make this at least look like a something that looks like a real automated text that you can find in the real world there we go the app has started we can expect it now what I'm going to do is I have access to my cone here I'm just going to tap the login email button and as you can see what happens on the phone is you get to the next screen but this is not showing me to see the inspector so I'm just going to click on the refresh button so that we love the saving dy just from scratch and we see exactly where we are in dispute moment this is not a live feed it's kind of a screen shot as we can navigate right okay so we have different components here different UI elements I'm going to select the email fields we see we can use the ID strategy to X and find this element just going to copy the ID and jump into my tax here again drivers fine by ID provide the ID to the element now we have the email field and we want to actually send some text into it so cooking it we want to use the send keys method and I will provide some some email here like my advanced at gmail.com or something like that so I'm going to just remotely look like go like that and then what what we have here we have password field let's try let's see what happens if we actually tap the login button without entering a password here so I'm just gonna um bring up the application here and I will be arising manually my address and email calm and then we see what happens if I tap the login button and we will be getting this error message over here and what we could do is check that that's actually appearing whenever we try to log in without entering a password so how do we do that again you already probably got the hang of this we're just going to select the login button as that's the next section that we want to take in our test copy the ID in this case come back in attachment with drivers of fine element by ID again enter the ad da click nice then we need our assertion right we want to actually make sure that the right error messages they display this is one way we could go about things so I'll just jump back here into my my admin inspector and as you see we need to refresh again we're looking now at two different screens where we have saved here is the previous screen we had ad on the phone and on the phone we were ready to the error message so I can just take a new screenshot refresh the page stores in this case and then I have the next element that they want to check against in this case is the error message inside this dialog you can jump back to my text right here and I'm going to do a third actually let's break this up I'm going to do mobile elements let's call it error message this will be you know first we need to grab the element again drivers off find element by ID provide the ad now that we have the elements what we can do is here we will need a cop a v8 so mobile and all in there we go we want to do is assert that the tax contained within this error message just please enter a password so here again you can find old information about the elements we can check that against the actual text that contains in the error message that we're getting so that looks looks okay once it looks good that's a very basic that you know there's no abstraction we're just putting everything in one single tax class but this is a working working tax or very close actually so I'm just going to again we up - fine closing inspector and then we'll be probably ready to jump into the ten itself so okay let's get this one off and see what happens on our devices this is running again now the app will start up will click the log in with email button we enter the email you can see this happening right now and then we click the log in button and we get an error message was that the right error message that's our assertion in the text yes it was our tax past so we took fifteen minutes we wrote a text header from scratch and everything that was up and running so you can see how we miss it if you really have a selenium automation script by yourself and pop then you tell me where maybe even a bit bored because these two tools are kind of similar right yeah so just one more thing you know this is it's full lines I'm running a test in in my hand basically and devices that have right next to me we can also do is actually go to text objects which is basically as you know if it's not part of sauce that we're basically providing the sauce that's real device cloud and what we can do here is I have a demo account with equal application already uploaded what we can do is decide to run this test in the cloud actually and how that is done is just by changing a few capabilities and the endpoint right here I'm going to select the device from our European data center I'm just going to change the end point inside of test and I'm going to then provide a new disability you can be techstop with KPMG and in the future all of the the near future all of the UI that you see from test objects will will become one with sauce labs so that's something that we're really working on quite a bit right now so you won't need to look in two different places for your emulators simulators and you'll be - they will be people unified for one single place so here I'm just going to like test object VIP and we want to keep the app wave activity and then we'll need to provide either in the same or a device a fee what I want to do is just choose a specific device here what can we use let's see I was running on a Motorola let's see if I can find exactly that I think yeah locally here is similar Ola Moto e 2nd gen so let's let's select the one that we have here in Europe yeah I want specific view this one device I'm going to select it to the capability yep and I'm going to paste that ID in ok so let's see what happens if you run this now now you can see we just change the capability and the endpoint and then thanks do you have to own architecture and we're running in the cloud already so with what this will do is we wait a little bit for a device to be to be available we're good up device in the cloud and run our tax on so let's give it a few seconds what we're doing in a sauce that's filled by cloud as we're checking the device is available fully fully functional and clean from previous tax funds if you're running the public cloud and then we're installing the application and launching the text so in a few seconds we will see this boot up or I think we're running out of time actually about me what I will do is just I'll just jump in a different different account which have already some pre-made test looks like some test as we're on the pop so just going to jump into that and show you guys some some other tests here from for example one of our customers over here just gonna show you what it looks like when you have something that has gone in the cloud okay actually why well it wouldn't be here we actually lost with these execution damage very bad timing so now as we text and here we can see that we have the full details of the test execution in the cloud we didn't bother to take any credential so we don't have any here but for even just a simple test like this we can see every single stack which recorded again this is the test that we just wrote run on a cloudy box we won't have time now we really have to go into the questions we're getting a lot of question that we want to cover as many as possible but the next step would be to run on ten devices at the same time so probably one out maybe the future webinar will have a chance to take a look at that okay so I hope my demo was was not too confused and that you guys managed to see how how we needed to run a text with action so let's jump back into the presentation here and open it up for questions okay enjoy I'll over there now and some questions just a reminder please be sure to plant our questions into the question box of your doctor webinar control panel so our first question is some excellent Andy question is is there any recommendation to create a strong framework heart test with us I'm doing an iOS oh yeah so this is a very good question something that I always like to cover in downloads but as you've seen we didn't have that much time so we just could write a super quick pack i would suggest you take a look at the page object pattern which is again a sort of a industry standard it's widely used for selenium as well and what that does is basically give you a way to structure your tests in a way that allows for low cost maintenance so you don't have to invest a ton of time to you know update your tests for every changing the UI and you reuse a ton of code and you can easily add new tests as well so definitely check out the page object pattern as a first step in that direction okay next question is can Ivan be used for non-pom held by favors like secure detective with collection as well um so in short of as far as I know this is really not the right cool product so you could try to you know use it as COO driver to hammer in a nail but that's probably not the way you want to go about things so asking is really good at functional testing and that's the purposes I I'll stick to look back okay the next question is how mobile device is connected to that their emancipation doing us well very very good question so what I was using during the demo I forgot to mention it it's actually a very nice chrome app that's called visor and you can try it out for free so definitely definitely handy parole my demos whether I'm at the conference or at a webinar so yeah check that out it's visor with a why instead of V Y at o R okay another question is one other way for me to test iOS apps do I have a MacBook compulsory so that's the easier way to go about things so it's not the the only way it's it's the easiest one so basically what you can do is if you have a machine that's running OS 10 you basically ask for access to Xcode which as far as I know is still required for actually allowing you to do the fashion of the application and that that's the kind of a crucial stack what you do is actually run the text straight in the cloud as well and inspect the UI there that's not a way to do things but yeah so I if you I would still recommend having having a no extension if possible but you have ways around that okay this question has been asked many times where last hour and the question is if people have selenium test can then you reuse them for asking that one yeah so basically this is it's kind of what is one of our points right for for this presentation so what you have with selenium needs to be just slightly tweaked to work with Apple so of course if you're targeting something different then a website you will need to you know deal with the the actual application structure but as you've seen the instruction set is pretty much the same so we're we're using the same exact protocol to drive to drive the websites with you of the application and with this what this allows us to do is basically have textbooks that look very much the same if you have selenium sprits you already have the toolset that you need to write a context it's a very very short stack to take okay next question is from Wayne what is the difference between selenium bill learn and okay so a heart from the fact that selenium builder is this selenium base and ask you as we discussed this as a focus on on mobile applications well selenium builder as far as I know is kind of record and replay from my experience what you want to do whenever you're writing a context is so I know apple also has the possibility to record what you do with the UI electivire of your application and generate it short script if you have the chance if you're able to write a simple test script I would always always always recommend you to write the code directly but like I did instead of generating it because I've seen the product of many different recorders I don't want to take anything away from the school but when you have complex use cases complex applications complex test purposes needs to be test cases that need to be kind of people will do something that's just know above these basic making the most basic functionality you won't usually be able to attain this with a record every flight school and also you will want to really look at your test code a lot to make sure that it's not brittle is something that's reliable you can rely on you want when you are running a real life set up setting setup you want to reduce noise as much as possible that means having as little both false positives as possible which means yes having reliable - scripts that are written by yourself that it's okay okay tomorrow you mentioned that presenters can be used on multiple platforms and the question is is it possible is this possible only if you I and the app is the same in all that is that right yeah so it's good that we we got a chance to expand on it so that's exactly what I said I just want to clarify this doesn't have to be 100% the same you know if you have a few a few differences between your Android and iOS app even if you have a slightly different flow you know you you can access a screen in different ways on Android iOS or um you're using different components on different different platforms as long as these differences are not overwhelming what you can do is just handle the cases separately within your your textbook this actually means you know you can have an it inside your test fit which says okay if we're gonna ask you know this cream is a little bit peculiar and we have to do things differently and we handle two different ages for example just by having an X in there probably that you don't want to end up with code that is just if else statements with the at every single stack right that's going to become a nice virtually thing so again my suggestion is look at the application do some exploration there and understand if this you know expect the extra BYOP application you can get inspector a look at the page source if look at the actual user flows if things are are too different then you want to where we have to separate a script I want what I want to add on top of that on most projects that have worked on real word automation projects with some of our bigger customers we were always able to use to use the same script but that's not again you will have to choose to make the choice by yourself yet next question is from mud in abdomen can we turn off internet connection on set so as I could be wrong here is asking that means is a very quickly evolving and to be honest with you I'm not so sure we can get back to you on that but my guess is that there is not an app implements to do that I know this there there is a way to do this often I City of course that I'm not sure if you can do this straight throughout ok what are the advantages provided by up real inspector over UI Automator viewer 505 yeah so I won't sorry I want to go deep into this but there are a few a few different things there I am not using UI Automator viewer a lot but let's say the basic functionality is exactly the same so you can expect the application these are two very you know they're they're very similar tools we would get some inspector we can also expect iOS applications that's of course a big difference UI is amazing viewer is if you're automating on Android you won't need the acting inspector you can use UI also make a few or if you prefer writes on Apple you can also do some some reporting you can actually do some perform some actions on the on the device itself we need Spector there's a bunch of differences that these the core functionalities I will tell you regarding Android is the same you can use UI Automator viewer as well Amer we are running out of time so I'll ask you one more question sure can we do entered an iOS accessing ebooks get oh uh yeah so the I'm getting I'm getting looks from from Daria so basically you don't know if we're looking at this line here we've got these soft logo on it and it's kind of hard for me not to mention that this is exactly exactly why works here so you can actually start test on multiple platforms you know on emulators and simulators or real devices by leveraging sausage cloud that's one way to do to go about it and that's something that we highly encourage you to check out if you haven't yet so yeah let's definitely a possibility okay we got really a lot of questions and I'm very sorry we didn't have plans to get it all all of them and our time just ran out so when and is there anything else you want to cover for every call no I think that's all I really want to thank everyone for joining that it's really cool to have to see such interest and test automation active which is again our favorite automation tool here at sauce yes thanks everyone for attending ok thank you very much thank you Daria Thank You Giovanni and thank you everyone for attending today's webinar using selenium to test mobile meat appium once you leave today's webinar you will receive a survey on the presentation and we would appreciate if you would complete that and provide your feedback you will also receive a follow-up email within 24 to 48 hours with a link to the recording of today's webinar on behalf of souls lip sync and our presenters thank you for joining us today and enjoy the rest of your day
Info
Channel: Sauce Labs
Views: 17,525
Rating: undefined out of 5
Keywords: Appium, Sauce Labs, Selenium, mobile testing, appium tutorial, mobile testing tutorial, appium sauce labs, appium for beginners, mobile, testing, mobile testing with appium, tutorial
Id: qaOwd-W5Fx4
Channel Id: undefined
Length: 59min 26sec (3566 seconds)
Published: Thu Jul 13 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.