Dinakar
E hello everyone and welcome to Pcloudy webinar on using XE test with Pcloudy to achieve mobile test automation my name is Dina
Dinakar
And I'll be the host for today before we get started I would like to go over a few housekeeping rules your line is currently
Dinakar
Muted however you can submit your questions during the webinar through the chat option at the bottom of the screen we will answer your questions
Dinakar
As part of the Q&A section at the end of the webinar this webinar is being recorded and we will send the link of the
Dinakar
Recording to share with your colleagues let me introduce the speaker for today Shueb Ahmed he is a lead pre-sales consultant at Pcloudy he
Dinakar
Has around n years of experience in the IT industry prior to his role at Pcloudy he worked with microfocus as a prales consultant
Dinakar
For application delivery management portfolio catering to Technologies such as devops automation performance cloud and Mobility without further Ado let me hand it over to
Shueb Ahmed
The speaker sh thank you so much uh dinaker for the quick introduction so hello everyone uh welcome again uh for the webinar so my
Shueb Ahmed
Name is Shueb Ahmed and today I'll be uh taking through the webinar uh on the topic uh you know using xit test with the
Shueb Ahmed
Pcloudy so I really appreciate everyone's time here so I look forward for having an interactive sessions if you have any questions you can
Shueb Ahmed
And pretty much post it in the chat session I will answer your queries at my end of my uh webinar okay so let me
Shueb Ahmed
Let me just get started okay here's the agenda so we will uh see what x XE test is we'll begin with understanding uh the
Shueb Ahmed
Basic introduction about uh what is exed test and then followed by uh some of the challenges you know uh that we face in the
Shueb Ahmed
Exit test framework uh when we run it on the local environment and then we will touch base on uh what is Pcloudy and
Shueb Ahmed
How does it help in terms of the parallel execution and uh we'll also have a quick uh live demo uh where I will be
Shueb Ahmed
Uh showcasing you know uh how to integrate the the Pcloudy with the xcode and you know run your ex exit test exitus project
Shueb Ahmed
On the platform and execute with parall execution and then we'll have a quick uh Q&A session okay so let's understand what is xe test
Shueb Ahmed
So XE test is uh you know Apple's official framework for testing applications uh using xcode so this uh framework supports both uh Swift as
Shueb Ahmed
Well as the object C so just like an Android studio uh the excode also provides a very feature Rich uh software testing capabilities for
Shueb Ahmed
Developers and know so that they can significantly help them to enhance the stability of the software and with the help of excode know the
Shueb Ahmed
Excode provides the XC test wherein they can extremely um uh you know extremely helpful for achieving and building the better quality of the software
Shueb Ahmed
So you can thoroughly test the iOS apps and regardless if it is done in unit level or you know even at the UI level
Shueb Ahmed
So this will enhance and improve the user experience and accelerate the adoption of those sort of apps
Shueb Ahmed
So exus is not a new framework you know but it has you know evolved quite well with xcode releases uh and uh in fact
Shueb Ahmed
You know the XE test framework was introduced with excode five that you know couple of years ago so with XE test basically it does
Shueb Ahmed
Allow to does allow its users basically to do the unit test of our excode project uh Bas mainly on the iOS apps and um
Shueb Ahmed
It is cons currently considered as one of the top options for IOS app testing so you can write any uh test with XE test
Shueb Ahmed
And um it's a a treal task for iOS developers because you know the xit test is fully compatible with both object Objective C and
Shueb Ahmed
Also the Swift and also in addition all the test uh classes and developers creating xcode projects are basically the sub classes of uh the
Shueb Ahmed
Exitus cases so it's predominantly overall in a nutshell if we talk about xit test it's a automation framework uh which was uh introduced by
Shueb Ahmed
Apple uh so where the developers can quickly uh do the unit testing of their iOS apps okay now let's while there are some advantages
Shueb Ahmed
Of using the XT test all right so uh it's pretty easy to learn and you can quickly create your uh test and um also
Shueb Ahmed
Uh since there is a support for a native language as the tool is developed uh you know as tool is developed within the same
Shueb Ahmed
Framework so there are some uh challenges uh when it comes to XC test uh when this gets executed on the local environment so let's
Shueb Ahmed
Uh look at some of the uh challenges when you execute your test scripts on the local physical devices so what happens so the the
Shueb Ahmed
Number one is the test execution on multiple devices uh the two in case if you want to run it parallel so there's a great
Shueb Ahmed
Uh challenge uh wherein uh when you're uh executing the physical uh executing the script by connecting a physical device to the machine so there
Shueb Ahmed
Is an always challenge uh you know in order to run it on multiple devices so uh so how how do you run in such
Shueb Ahmed
Cases uh so it has to be you know either you connect it to a different physical devices by using a US USB H but
Shueb Ahmed
There is a limited but there is a limitation towards it right and hence uh there's a great challenge when it comes to test execution
Shueb Ahmed
And also when it comes to cic CD integration part uh so uh if you plan to you know um run your cicd pipeline uh
Shueb Ahmed
And by integrating the exit test so with the conventional way there's always a challenge it's not a straightforward process it's pretty much complicated uh
Shueb Ahmed
You know it it involves various configurations of the xcode with the uh the cicd pipelines uh you you can name the different CI servers
Shueb Ahmed
Which available so it is across uh you know the challenges are pretty much there and it's a complicated process uh so be either genkin
Shueb Ahmed
Team City bamboo or any other CI pipeline so there is a complicated way of uh you know testing it on the different uh you
Shueb Ahmed
Know the different cicd integration and when it comes to the reports segment side so the reports can only be viewed only on the Mac
Shueb Ahmed
Machine so that is also one of the limitations so while you uh while the xcode is being installed on the uh MAC machines but
Shueb Ahmed
U report viewing right is something which is only readable in the Mac machine so this is also one of the uh limitations uh when
Shueb Ahmed
You execute this on the local environment with the physical devices and uh there are no real performance metrics are available all right so when
Shueb Ahmed
We talk about performance uh metric so this can be uh with related to the CPU uh the uh memory CPU consumption the memory consumptions
Shueb Ahmed
The logs and the uh the network chat and so on so it's not a straightforward uh with excord so you always have to be
Shueb Ahmed
Dependent on third party tools you have to configure the third party tools with your xcode and then you start monitoring it but there is
Shueb Ahmed
Nothing as such with the xcode which will help you monitor the uh performance metric which is not quite readily uh readily available so in
Shueb Ahmed
Case if you would like to understand from the performance uh point of view uh on the different metrics key performance metrics then uh uh
Shueb Ahmed
Then it's always a challenge all right so this is also one of the challenges uh with the exit test execution on the local device
Shueb Ahmed
And uh of course there is no video recording of the execution also available if you are running it on the local physical devices uh
Shueb Ahmed
There are certain uh so there's no inbuilt Tool uh you know which can uh help while that to while the script script is getting
Shueb Ahmed
Executed so there's no way that you record it during the automation so that hampers basically your debugging uh time all right so so so
Shueb Ahmed
Let's uh try and see how we can uh you know uh how we can go up these challenges how Pcloudy can help you
Shueb Ahmed
These challenges uh to address it so PE cloudy just to give an introduction uh p is basically uh it's a uh cloud based uh
Shueb Ahmed
Continuous testing platform which provides uh the access to the real physical uh devices by connecting remotely so that you can test your uh mobile
Shueb Ahmed
Apps uh be it Android devices or iOS devices and uh uh not just manual testing the users can also perform automation testing by using
Shueb Ahmed
Uh the different automation Solutions especially when it comes to uh APM uh and uh also exits for that matter so that's about uh uh
Shueb Ahmed
Pcloudy and uh can also integrate with this the devops the devops tools in case if you are using any tools like Jenkin team
Shueb Ahmed
City bamboo and uh any other devop tools then you can certainly integrate uh P clouding so we have uh plugins and as well as
Shueb Ahmed
The apis the rest API so which you can pretty much use it within your pipelines and you can quickly trigger your automation uh test
Shueb Ahmed
Directly from on the pipeline so that's about uh Pcloudy and now uh in the particular uh with respect to the exit test framework
Shueb Ahmed
Right so exitus was something which was recently launched at Pcloudy and uh we will try and help you know the scripts that are
Shueb Ahmed
Created in XC test right so we can use the same framework and we can execute it on the P platform and execute on Parallel
Shueb Ahmed
Devices all right and uh also benefiting from the various different uh features that we are providing as part of uh the uh platform and
Shueb Ahmed
Uh we are also providing some additional features like the reporting site uh where where you can quickly have a look at the on the
Shueb Ahmed
Report segment time which talks about the performance metrics what about the challenges that we just uh went through in our previous slide uh we
Shueb Ahmed
Will uh showcase uh the some of the challenges that we how we overcome by using the P Lo platform so uh we have recently
Shueb Ahmed
Launched P CL is apis uh for the exit test so which can be helpful uh for uh you know testing your exit test scripts
Shueb Ahmed
That are created okay so let's uh quickly uh look at uh into the uh the device clo just to give an overview what are
Shueb Ahmed
The different features uh that Pcloudy brings in so the there are several advantages of uh the device Cloud uh there is unlimited manual
Shueb Ahmed
And automation testing so we are not limiting or we're not restricting the user uh for uh you know testing their mobile applications uh for
Shueb Ahmed
The any restricted time so it's an unlimited uh you can test as long as there is a requirement you can test on any uh
Shueb Ahmed
Devices and uh we have over 2,000 real uh devices which has a combination of browsers and Os combination so it's a pretty much a
Shueb Ahmed
Mix of both the Android and the iOS devices so we have all the latest devices uh uh that are available in the market so
Shueb Ahmed
That uh you can test on wide variety of different devices different uh screen sizes and the different operating systems and the uh the networks
Shueb Ahmed
As well and uh can also uh not just uh manual testing but also you can do test your you know automation testing for natural
Shueb Ahmed
Interactions as well so we have when it comes to iOS segment uh there are different iOS devices with different OS and versions so it's
Shueb Ahmed
Important that we test our applications on various different devices right uh on the various versions and Os Os right so so we have all
Shueb Ahmed
The different uh devices pretty much available in our cloud and uh as I was just discussing about the reports so you have access to
Shueb Ahmed
The detailed reports on on completion of either a manual test or automation test we will be providing a detailed report so the reports uh
Shueb Ahmed
Has the further details about the uh the session uh that was run so which has the logs and the screenshots and also the videos
Shueb Ahmed
So the entire session is been captured in the form of videos and the uh and the logs so which will be quite useful for
Shueb Ahmed
The further analysis and debugging purpose and we're also providing the performance metrics which I just discussed all right so we are providing the uh
Shueb Ahmed
Uh performance metrics for uh the application consumption in terms of the CPU how much uh CPU what is the CPU consumption level at the
Shueb Ahmed
Application Level and uh we are also providing uh the memory consumption and network chat uh so in terms of upload and the uh download
Shueb Ahmed
Speed and uh we also uh providing the uh the network chats and uh when it comes to network simulation so you can pretty much
Shueb Ahmed
Test your application on uh different networking conditions uh different networking conditions so it's very important uh to test your applications on various uh different
Shueb Ahmed
Networks so there are uh some devices which quit with the real SIM cards so in case if you would like to test your applications
Shueb Ahmed
On the real SIM cards then you can pretty much do that however uh we have a network simulation feature which help you to test
Shueb Ahmed
Your application with various upload and download speed so we have created certain profiles with different upload and uh download speed like 2G 3G 4G
Shueb Ahmed
And so on so you can pretty much uh test your application on these parameters uh so which will help you understand how your application
Shueb Ahmed
Is uh responding with different networking capabilities and uh we also have a feature called wild net feature so this is mainly on the if
Shueb Ahmed
You if you have your application which is U accessed only in the staging server it's a kind of a staging server application uh where
Shueb Ahmed
The application is accessed only in the restricted environment and not accessible outside the network right uh so in such cases we have a feature
Shueb Ahmed
Called wild net feature which will help you test your internal apps right so there is a small executable that needs to be downloaded on
Shueb Ahmed
Your local machine and uh then small command so we have listed down in the documentations you can follow the documentation to understand more about
Shueb Ahmed
This wet picture so which will help you to test the uh the application uh which is accessed in the uh local uh site so
Shueb Ahmed
You can test all your internet interet applications and you can also perform the uh localization testing so we have on a feature which will
Shueb Ahmed
Help you test your applications in various different languages provided your application is supporting so you can quickly test your application with the by using
Shueb Ahmed
The uh language uh feature to test your application uh with various different languages and uh as I said uh it's pretty uh in when
Shueb Ahmed
It comes to integration it's pretty straightforward and easy so either it be at automation tool or even be at the devops tool right so
Shueb Ahmed
You can pretty much integrated integrate uh with your existing tools and uh quickly uh integrate and run your existing scripts on P platform
Shueb Ahmed
So that's about a quick overview on the uh device cloud and some of the advantages that I've just gone through it now let's uh
Shueb Ahmed
Try and understand how this integration uh happens with exit test by using thep cloud is API right so the prerequisite for that is uh
Shueb Ahmed
To have an exit test project right so the the project uh to have already early available project which is created on the xcode and
Shueb Ahmed
Uh followed by the cloudy account Pcloudy account is to access the uh devices and uh run the test on uh different devices so
Shueb Ahmed
I have listed down certain steps uh right certain I've captured some screenshots uh or how do you set up your XC test project and
Shueb Ahmed
Uh how do you zip it and uh how do you upload it over the cloud and then start your
Shueb Ahmed
Testing okay let me just uh move ahead so let let's look at some of the steps uh that are required to prepare the exit
Shueb Ahmed
Test package uh to run on the uh Pcloudy platform so as a first steps you have to uh open your xit test project
Shueb Ahmed
And uh uh click on your project select the project uh which have already created in your XC test and uh you can navigate into
Shueb Ahmed
The uh project settings by going into the file select project settings and uh change the derived path okay so change the derived so by
Shueb Ahmed
Default it's uh default location so you have to change the uh default uh the location from default location to the customized Uh custom location
Shueb Ahmed
And provide the path of the application where the application is residing and U once you have provided the location you can pretty much click
Shueb Ahmed
On done and next is uh you have to uh the next is to you know clean Builder uh you have to uh go into
Shueb Ahmed
The U product uh product Tab and go into the clean build folder and uh click on the build for option and use the testing
Shueb Ahmed
Option there in that case and uh once this is done uh you can go into the uh go to folder option where you can
Shueb Ahmed
Quickly uh find the application the application which is residing that you have given it in the path so provide the path of the application
Shueb Ahmed
All right where the application is residing and uh you will uh land upon the application side select the uh the two items right the
Shueb Ahmed
Two items one is the debug iPhone and the other is the XE test run so you have to select these two options and uh
Shueb Ahmed
Just zip it zip this right you have to compress this two items so that uh it is uh compressed in the zip file now
Shueb Ahmed
My XT test project is zipped now I can quickly upload this in the uh Pcloudy uh data all right it be cloudy my
Shueb Ahmed
App data which is a cloud location so these are the uh PR requisit that you do before you before you um you know integrate
Shueb Ahmed
The plat before you integrate the XT test with the Pcloudy now I would like to Showcase uh in live uh in the real
Shueb Ahmed
Time uh how this will happen so let me just quickly jump into the uh demo side and uh I will showcase how the integration
Shueb Ahmed
Happens so let me just jump into the P platform so this is the uh uh quick the P platform so it's it's a public
Shueb Ahmed
Cloud uh so there are of course when it comes to offerings there are three different offerings public Cloud private and the on promise so
Shueb Ahmed
Uh let me just showcase the uh uh the integration on the uh public Cloud it remains same across all the different platforms respective as
Shueb Ahmed
A user I'm just logging in of course you have to sign up uh if you have not sign up and login with your uh
Shueb Ahmed
Credentials let me just uh log in into the platform
Shueb Ahmed
With my credentials okay I have just uh logged in into my into the uh into my account so this is the quick dashboard where
Shueb Ahmed
You land up so this will basically give the uh uh your application State your applications related details about how many sessions that you have
Shueb Ahmed
Run manual sessions and automation sessions so all that insights you can quickly found uh in the uh my dashboard let me just go into
Shueb Ahmed
The devices tab right so so this is the devices tab where you'll be seeing all the uh devices which are connected to the data
Shueb Ahmed
Center so these are the real uh physical devices that are connected to the data center and these are not simulators or emulators so pretty
Shueb Ahmed
Much have a mix of both Android and iOS so you can pretty much scroll down whichever device that you are looking in for this
Shueb Ahmed
Is just U uh you know uh I'm just showcasing how the platform looks like so let me just quickly jump into the my app
Shueb Ahmed
Data all right so this is the cloud location or the Cloud Drive given to every individual user right so where the user can upload
Shueb Ahmed
Their application so as as you have prepared for the xit test project and you have zipped that right the next step is to upload
Shueb Ahmed
Uh into the my app data which is a cloud location all right so you can click on just upload from and browse from your
Shueb Ahmed
Local repository the file that you have zipped the X test project that you have zipped in so you can directly browse from the from
Shueb Ahmed
Your local repository and upload so for the benefit of the time I have already uploaded I just like to showcase the application that I
Shueb Ahmed
Have so this is the zip file uh the XC test project that I have zipped and uploaded to the cloud it's pretty straightforward so
Shueb Ahmed
So once I'm done with that the next part is to go to get the API key okay so for every user has its individual
Shueb Ahmed
Unique uh API key so to access to the API key just click on your name and the drop down go to the settings tab
Shueb Ahmed
And uh you can get your API access key here as you can see so it's just fting so you can copy this you can
Shueb Ahmed
Copy the same API access key and uh you can now uh you are now ready with the uh you know testing uh for the
Shueb Ahmed
Exit test integration using Pcloudy is apis so we have provided certain uh apis right so there are some list of apis that we have
Shueb Ahmed
Pro provided in our documentation so we will uh look into it and uh see how we can use those apis and uh you know
Shueb Ahmed
Integrate with Qui platform and test uh our uh the the the script that we have just uploaded right so the next step is to
Shueb Ahmed
You know uh we need an API testing tool so it's been uh so for testing the apis all right so you can pretty much
Shueb Ahmed
Uh use your own uh API testing tool whichever you are using so I am using uh Postman here for that matter I've just launched
Shueb Ahmed
The postman so which will help me uh to get the uh the responses for the request that I'm going to send by using the
Shueb Ahmed
Apis that we have listed out all right so I'm using uh Postman here for uh sending the request
Shueb Ahmed
So let let us just quickly look at the uh the uh different apis uh that are required all right to execute so in our
Shueb Ahmed
Documentation we have pretty much provided all the different steps so uh so this these are the basic uh know the API that are required
Shueb Ahmed
All right so we need an uh you know authentic we need to authenticate the PE token to get an the OD token so for
Shueb Ahmed
Which we have got the API key from the settings tab and the next API is to get the list of devices all right so
Shueb Ahmed
To get the available list of devices on the cloud and then we will book the device which are all the devices that I want
Shueb Ahmed
I want to run the uh the test on specific devices and then uh we will be uploading the uh the AP the IPA file
Shueb Ahmed
Basically right so which we have already done so this p is we have already done we have uploaded the uh uh the the zip
Shueb Ahmed
File the the test project all right X test project and we will initialize and uh start the device services so device services this is
Shueb Ahmed
Something which is optional uh this is mainly on the performance metric side uh so if if you think if you need the performance metrics
Shueb Ahmed
Uh for your test XE test that you are going to perform then you can pretty much use this so there is a detailed documentation
Shueb Ahmed
Link uh for apis that we have listed out you can go into the API documentation link uh and get the relevant apis all right
Shueb Ahmed
From this so let's let's start the process uh let's get started by you know getting the you know authent let's authenticate the poud token
Shueb Ahmed
Uh so let me just go into the postman so this is my authentication request right so where I providing the username the username is
Shueb Ahmed
In my email ID and the password is the API key which I just uh uh generated uh from the P platform right so I
Shueb Ahmed
Can I just have I just copy pasted here and uh I can send this request let me quickly run send this the request is
Shueb Ahmed
Sent and I have got a successful token here I I just uh copy this token for my future uh future uh users uh I
Shueb Ahmed
Can I just copied this code all right the token which I have got it through this authentication now the next part is to get
Shueb Ahmed
The list of devices all right so let us go to the uh get IO is devices tab all right so where this is the
Shueb Ahmed
Uh the URL right device. pe.com where we are accessing to the API devices and uh these are the steps right we have to provide
Shueb Ahmed
The token so this is the token which we have got it from the authentication I'm passing the token here uh the duration uh I
Shueb Ahmed
Just mentioned is St 10 and the platform is IOS and available now is true so this will give me a list of iOS devices
Shueb Ahmed
Which are currently available in my public Cloud all right so just let me click on send here let me send this request so that
Shueb Ahmed
I get the relevant response to it as you can see I have got all the list of uh uh the devices that are available
Shueb Ahmed
Now I can choose uh which devices I want all right I can get the devices ID all right the devices ID and uh I
Shueb Ahmed
Can send in my subsequent request uh so that uh you know I book the device so the next step is to book the devices
Shueb Ahmed
All right so to book the devices so uh just make sure that you know you access the uh API documentation link where we have
Shueb Ahmed
Uh listed all our uh the uh uh the apis all right so this is the X test automation apis that we have listed so
Shueb Ahmed
You can get it so just for the benefit of the time I have already uh extracted got the apis and uh kept it ready
Shueb Ahmed
In the uh the postman so this is the place so the next option is to book the device so let me just go into
Shueb Ahmed
The postman and uh go for book uh booking the devices I can select the uh devices which are available here I can slowly just
Shueb Ahmed
Check with the devices whichever I want to run say for instance I want to run it on uh different devices right I can just
Shueb Ahmed
Copy I'll select iPhone 5S and iPhone 6 right let me just uh select these two and go into the automation booking where I will
Shueb Ahmed
Be providing the devices ID right so I can provide the uh devices ID here uh and uh let me just get the token copy
Shueb Ahmed
The token and just go into the [Music] automation booking and uh change the token ID and these are the devices ID which we have
Shueb Ahmed
Got in the iOS devices all right so 49 is iPhone 5S which I have pretty much given and uh let me take another whichever
Shueb Ahmed
Is available I have to make sure the device is available otherwise the script will fail the device will not get launched if it is
Shueb Ahmed
Not available right so you have to make sure that the device only you get the devices which are available and uh the next step
Shueb Ahmed
Is to another device which I can think of at this point is
Shueb Ahmed
I can just choose some other devices whichever is available so let me just take another device okay I think this uh pretty much available
Shueb Ahmed
Okay and now I can execute it uh so I'm booking two different devices here so you can run it on a single device or
Shueb Ahmed
If you want to run it on multiple devices just uh provide comma and followed by the device ID whichever the device is available so
Shueb Ahmed
You can pretty much uh provide and you will be providing the duration here uh for duration in minutes so I'll keep it as 30
Shueb Ahmed
And the automation type is an xoi test so let me just send I'm booking the devices if the devices are available then uh you
Shueb Ahmed
Know you can pretty much test this so as you can see in this case uh the devices are booked by some already by someone
Shueb Ahmed
Already so and hence I have to make sure that the device are available right so in this case let me just take a device
Shueb Ahmed
Which is available I just randomly to one device from my previous run so let me just uh take another device which is available at
Shueb Ahmed
This point of time I can see at different iPads iPhone
Shueb Ahmed
S let me just run it on 443 or I'm just curious to run it
Shueb Ahmed
On okay I can take this9 is [Music] there okay just a moment 3 to 3 to6 okay let me just take 3 to six
Shueb Ahmed
Here in this case six and try to hit run I'm just uh booking the devices here yeah as you can see the devices are
Shueb Ahmed
Reserved successfully for the automation now I can execute it as you would have noticed there is an automation ID as well all right which
Shueb Ahmed
Is uh created I can use this automation ID for my next steps so the next step is uh to initialize the automation all right
Shueb Ahmed
So I can initialize the automation I have got the apis uh for that so before that let me copy the token from my previous
Shueb Ahmed
Request go to the initialize paste the token and change the automation ID which we have got from the automation booking the automation ID is
Shueb Ahmed
This let me just take this automation ID as well and paste it in the uh initialize automation so here we are initializing the automation
Shueb Ahmed
Right so we have booked uh the uh devices those other devices are booked so no other user can use those devices which we have
Shueb Ahmed
Booked now I can uh initialize I can start my start the execution all right to start the execution I have to provide the the
Shueb Ahmed
Automation ID which we have got from the automation uh booking from the booking devices response and also the token let me also uh start
Shueb Ahmed
The device services so device Services is something which is optional but I would uh like to show how the uh the performance metrics you
Shueb Ahmed
Know would look like uh and also I'll capture the videos for it okay let me just take the automation ID and uh paste it
Shueb Ahmed
Okay I can now initialize the uh Kickstart the automation so I have provided the token which is a valid token which I've taken from
Shueb Ahmed
My previous request and this is the automation ID which I got from my booking right response let me just click on send okay I
Shueb Ahmed
Have just clicked on uh send now I should get a response uh here stating the execution has began so as you can see I've
Shueb Ahmed
Got a success State here which says the automation initiated successfully now I will also start the services all right so the services are nothing
Shueb Ahmed
But the performance metrics the logs and the videos which gets captured so I have provided all the the token and the automation ID let
Shueb Ahmed
Me just quickly do that as well okay so the request is sent and this will get started so now the execution has started right
Shueb Ahmed
So now with P what we have done is we have gone one step ahead and uh we are also showcasing it in the live
Shueb Ahmed
So we can see the live view to navigate the live view just log into the platform and navigate into the report section where you
Shueb Ahmed
Can see what exactly is happening in your automation run so I'll go to the report section and uh in the report section you'll start
Shueb Ahmed
Seeing the in the my active session you'll see the test that is just got initiated so it is just loading it'll just take a
Shueb Ahmed
Little time here and uh you should start seeing yeah as you can see the test cycle the test the X test has just began
Shueb Ahmed
And it's ongoing so now uh I can view the live view session we are also providing the live view session what exactly is happening
Shueb Ahmed
During the session let me just click on uh view so this will open up the devices all right so since we use two different
Shueb Ahmed
Devices the devices have just launched uh as you can see I can see both the devices running in and uh one is iPhone 6s
Shueb Ahmed
And the other is 4S as you can see the execution has just began all right so this is the ass sample test case that
Shueb Ahmed
We have written uh using XC test project and uh it is been executed on this particular uh
Shueb Ahmed
Device uh so once the execution is uh finished the device will get released for some reason uh uh the other device just uh uh
Shueb Ahmed
Got released I have to check on that but however I will the the number of test the number of devices uh which how much
Shueb Ahmed
Theoretically you can pretty much run it as long as the devices are available but uh this will in the live view you will be
Shueb Ahmed
Able to see around uh four to five uh different devices that are available all right so as you can see the test is being
Shueb Ahmed
Executed right so once the test execution is completed uh uh so I have a pretty long test case that I have for this uh
Shueb Ahmed
Demo purpose uh where it where we have a positive scenario as well as as on the negative scenario uh so the test will get
Shueb Ahmed
Completed and uh once the test is completed you will start seeing the uh the reports the report will also be get generated all right
Shueb Ahmed
So let me just showcase some other reports uh which we have already while the test is being executed uh to access the uh the
Shueb Ahmed
Put once the uh execution is complete you can navigate into the all report section and uh in the uh in the reports right so
Shueb Ahmed
We'll start seeing the the reports that we have that are generated that we run in the previous run so you can click on further
Shueb Ahmed
View view report so this will give a detailed report uh right uh so this has details about the overview session and uh which has
Shueb Ahmed
The details about the test type the automation tool that you have used uh there is the number of devices that you have used uh
Shueb Ahmed
Total number of parallel run and executed and this will also give the session details uh the session name uh when started the completion then
Shueb Ahmed
The total duration I can further uh go uh and try and understand at the device level so this is a quick report uh the
Shueb Ahmed
XT test report which has the device level at the device level what type of Manu o this device has and the model and the
Shueb Ahmed
Version as well and uh you'll start seeing the entire detail report all right so these are the performance metrics that we initiated right as
Shueb Ahmed
Uh which was an optional but of course uh if you wish to have the performance metrics for your applications that you are testing in
Shueb Ahmed
So you can pretty much use that API as well for testing uh the uh I mean for for getting the performance metrics so since
Shueb Ahmed
We initiated the uh the dev the services right so we here we are having the entire list of the CPU chart this is entirely
Shueb Ahmed
On the device the device consumption on the device side and uh we're also having the memory chat pretty much about the memory at the
Shueb Ahmed
Device level how the memory consumption happen over the period of uh test execution and we're also providing the raw data uh in case if
Shueb Ahmed
You wish to create your own graphs so you can use this raw data for CPU and the memory so we can pretty much uh
Shueb Ahmed
Uh you know test use this raw data for Crea your new own graphs and uh these are the logs this is the device level
Shueb Ahmed
Logs which will be used for further debugging purpose in case if there are any issues or any erors and this is the video that
Shueb Ahmed
I was talking about the entire automation execution video is recorded uh by while the execution just got started and till the uh the execution
Shueb Ahmed
Got completed while the release while before releasing the devices so the entire video again can be downloaded all right so this is the D
Shueb Ahmed
Detail report and we are also providing the uh local report right so the local report which is generated at the XE test xit test
Shueb Ahmed
Level so to access the xit test level uh you can further click on uh the exit test cases report so this will take you
Shueb Ahmed
To the uh the new uh devices page uh which will have a detailed report let me just access the latest report which we just
Shueb Ahmed
Ran yeah the test has run successfully and uh this is the detail report so this is the exit test HTML report that we are
Shueb Ahmed
Providing uh so all the test cases right how many test cases that were executed so you pretty much have all the records here how
Shueb Ahmed
Many tests that are passed and how many tests that are failed and we also also this also provides the screenshot It capture screenshots for
Shueb Ahmed
Every failed test case right it's for every failed test case you can so pretty much monitor at which particular which particular test case got
Shueb Ahmed
Failed so the you can capture all the screenshots for the failed test cases so the failed test cases the screenshots are avilable only for
Shueb Ahmed
The fail it's not for the past one so this is the report uh in in detail it is available in the HTML format and
Shueb Ahmed
Now if you wish to share this report with your uh management or any stakeholders right so the entire test report along with with the
Shueb Ahmed
Uh the performance metrics right so you can pretty much share it uh it's U very uh easy and the straightforward you just have to
Shueb Ahmed
Go to the uh reports page and uh you can click on copy report link so that a report link will be copied to the
Shueb Ahmed
Clipboard and uh you can share it among your different team members and colleagues so they need not be um a cloudy user anyone who
Shueb Ahmed
Has this link uh will be able to access the report and uh access the report just like how we are seeing right now okay
Shueb Ahmed
So that's about uh XC test right so how we integrate uh with the Pcloudy platform so this is something uh which we have
Shueb Ahmed
Launched uh recently and this will definitely help you uh to test your iOS apps that you have create that you have created the scripts
Shueb Ahmed
In the xit test framework and uh not just test it but uh test it on multiple devices
Shueb Ahmed
Right multiple devices So currently we we have provided the apis for all the different uh uh you know the the different use cases like
Shueb Ahmed
Initiating the uh uh you know the getting the authentication token and then booking the devices and uh initializing the test so you have various
Shueb Ahmed
Uh options various different apis that are provided you can use all these different apis for uh for executing it with the p Lo platform
Shueb Ahmed
And hence achieving the uh you know achieving the test execution uh and reducing the test execution time by running out on multiple platform so
Shueb Ahmed
This is one of the primary advantage of uh uh having the cloud-based platform which will help you test your iOS apps on multiple devices
Shueb Ahmed
And at the same time run in parallel and uh uh with that uh uh you know we are uh uh we are going ahead
Shueb Ahmed
On the challenges that we just saw during our slide right when it comes to parallel execution and even even uh for that matter when
Shueb Ahmed
It comes to cicd pipeline right so it's pretty straight about with our the rest AP that we have provided you can quickly initiate the
Shueb Ahmed
Uh you know the test directly from the cicd pipeline just provide these apis you can with the help of these apis you can uh
Shueb Ahmed
You can uh you know trigger the automation test for the XC test and uh performance metrix is an added uh uh benefit uh which
Shueb Ahmed
Will provide uh you know the understanding about the uh the CPU consumption then the memory consumption at the device level so which is very
Shueb Ahmed
Important to understand so of course it's an optional in case if you would like to have this feature then you can certainly use it
Shueb Ahmed
Otherwise then it's however as I said it's optional for you okay and uh the videos also right so while the ex the entire session
Shueb Ahmed
Is been recorded in the form of video so and the reports can be easily readable so so that these are the some of the
Shueb Ahmed
Primary benefits of uh having XC test with Pcloudy so with that you can test your application quickly on multiple devices and uh you
Shueb Ahmed
Can uh you know reduce the test execution time by uh test execution time so I'm pretty much covered on the uh demonstration side uh
Shueb Ahmed
So if you have any questions I would like to quickly uh start the question and answer session so please uh go ahead with your
Shueb Ahmed
Queries you can put put it on the chats uh I'll be happy to answer all your
Shueb Ahmed
Queries okay so I can see uh few questions uh coming in so uh we can get started uh with answering the questions
Shueb Ahmed
Here so one user is asking how to uh use the API testing tool can I use my own API testing Tool uh then the
Shueb Ahmed
User is saying is using SOA AA if I'm pronouncing your name correctly Bala Muran right Balan okay yes of course balaman you can pretty
Shueb Ahmed
Much use your own API testing tool so it's not it's not that you use only a specific tool but if you're already using any
Shueb Ahmed
API testing tool you can pretty much use it so soap UI is also another uh API testing tool which you can pretty much use
Shueb Ahmed
To test your uh uh to test the apis right so that we have provided in the link and you can pretty much uh test
Shueb Ahmed
It on the uh on our platform so there are various different API testing tools you can pretty much use the different apis that we
Shueb Ahmed
Have and uh I hope I have answered your question balaman okay and there is also another uh question by name Imran so he says
Shueb Ahmed
What is the maximum number of devices that we can run parall okay to answer to your question so there is no theoretically there is
Shueb Ahmed
No as such limit so as long as the devices are available you can pretty much test all your different all the different iOS devices
Shueb Ahmed
Which are available so however when it comes to the live view all right so when you're are uh when you are viewing the live
Shueb Ahmed
View so there is a limitation to it's when you'll be able to run it around five to six devices okay uh because when you
Shueb Ahmed
Are running on more number of devices say on 10 more than 10 or 15 so what happens is the live view will not be
Shueb Ahmed
Appropriate where the screen size uh the the devices will not fit in the same screen so behind the scene of course of course the
Shueb Ahmed
Execution will definitely happen and you can get the entire report out of it and you can know how the uh test execution happened but
Shueb Ahmed
However in the live view in order to see the live view so you'll be seeing it only on the uh only five to six
Shueb Ahmed
Devices right which you can test it but however theoretically as I mentioned there is no as such limit as long as the devices are
Shueb Ahmed
Available you can pretty much test all the different uh on on you can test it on number of uh different number of devices I
Shueb Ahmed
Hope uh I have uh got your question okay uh are there any other questions let me just take
Shueb Ahmed
It okay so if you're um if there are any further queries you can uh feel free to reach me out uh on uh know
Shueb Ahmed
By email so I'll be happy to answer to your queries and uh also this as this webinar is uh recorded uh we can certainly
Shueb Ahmed
Answer all right I can take few more questions which are coming in right now so let me just take it take those
Shueb Ahmed
Queries so there is a user who's asking how can we debug if any iOS device goes into problem
Shueb Ahmed
Okay a good question uh uh I don't know uh the user but here a very good question so when it comes to uh debugging
Shueb Ahmed
Right so we have uh uh tunnel tunnel option all right so you can certainly use those uh tunnel option in case uh if you
Shueb Ahmed
Want to debug your application directly but however while your execution while you're executing your XC test uh with the PE loing platform and if
Shueb Ahmed
There is any issue of course you can see it in the live view if there are any issues related to the platform you can
Shueb Ahmed
Pretty much see it in the live view as well also with the help of the uh the report in detail report the local report
Shueb Ahmed
Which we are um uh which we are capturing the local the local report which at the exit test level that is getting captured so
Shueb Ahmed
You can know that the test cases that are passed how many test cases that are passed and how many test cases that are failed
Shueb Ahmed
And not just that uh it also captures the screenshot for every failed test test case so you can pretty much monitor uh which test
Shueb Ahmed
Cases are filled and you can pretty much work on that those uh uh particular test cases uh on the uh with your developers right
Shueb Ahmed
So for any uh any issues that we have that you encounter so that's the uh way of uh doing it it's just uh you
Shueb Ahmed
Know you know you can pretty much use it there are different ways of of course debuging it uh so of course live view which
Shueb Ahmed
Will help you to see you know if there is any issue if the device is uh if the application is getting crashed or if
Shueb Ahmed
There is any issue and the application did not launch or while testing it if there are any issue of course it will the test
Shueb Ahmed
Case will fail and then uh you can monitor those test cases with the screenshots whatever that you have so that's how you uh debug
Shueb Ahmed
Right on the iOS uh devices site I hope I have answered to your question
Shueb Ahmed
Okay uh fine then uh I'm pretty much done with the uh uh on the demonstrations and the QA I hope this was this session
Shueb Ahmed
Was uh useful to you all uh this session is being recorded and also we will share across uh the link so that in case
Shueb Ahmed
If anyone of your colleagues has missed you can pass it on to your colleagues uh so they can they can quickly have a look
Shueb Ahmed
At it so if you have any uh any further queries you can please reach me out on my email and uh I'll be more
Shueb Ahmed
Happy to answer to your queries related to to this xit test or anything on the Ping platform so I once again thank you everyone
Shueb Ahmed
For your time uh for taking out your uh time I really appreciate and I hope this session was very useful uh we will look
Shueb Ahmed
Forward uh in working with you or so thank you so much again have a great day