Dinakar
Hello everyone.
Dinakar
Welcome to Welcome to Pcloudy webinar on bringing Selenium and Appium together.
Dinakar
My name is Dinakar.
Dinakar
I'll be the host for today.
Dinakar
Before we get started, I would like to go over a few housekeeping rules.
Dinakar
Your line is currently muted.
Dinakar
However, you can submit your questions during the webinar through the chat option at the bottom of the screen.
Dinakar
We will answer all of your questions at the end of the webinar.
Dinakar
This webinar is being recorded and we will send out the link to share with your colleagues as well.
Dinakar
Without further ado, let me introduce the speaker for today, Shueb Ahmed.
Dinakar
He is a lead pre-sales consultant at Pcloudy.
Dinakar
He has around 9 years of experience in the IT industry.
Dinakar
Prior to his role at Pcloudy, he worked with Micro Focus as a pre-sales consultant for application delivery management portfolio.
Dinakar
Catering to technologies such as DevOps, automation, performance, cloud, and mobility.
Dinakar
Over to the speaker, Shueb Ahmed.
Shueb Ahmed
Thank you so much Dinakar and thanks everyone for joining in this webinar.
Shueb Ahmed
So today we'll be discussing on the the Selenium and Appium together in this webinar.
Shueb Ahmed
So we will also look into you know how our product can you know help you leverage use the the Selenium and the Appium scripts for that matter when it's combined.
Shueb Ahmed
So let's you know look at the agenda for today's webinar.
Shueb Ahmed
We'll start up with a quick overview and what is Selenium and Appium.
Shueb Ahmed
And then followed by we'll also look into the some of the problematic areas and pain points that these solutions has when it comes to both Selenium as well as on the APM side.
Shueb Ahmed
And how can Pcloudy offer you what help can Pcloudy offer you to counter these pain points and the problem areas that we see on the on these automation tools.
Shueb Ahmed
And we'll also look into the device cloud as well as the browser cloud uses and followed by a demonstration on both the both the platforms.
Shueb Ahmed
So that's the agenda and then we'll follow followed by a quick Q&A and then we'll wrap up the session.
Shueb Ahmed
So that's the quick agenda here.
Shueb Ahmed
So let me just get started.
Shueb Ahmed
So what is Selenium?
Shueb Ahmed
So just to understand Selenium is an open-source automation framework tool which is basically used mainly used by the developers and the automation testers to test their web applications on different web browsers and uh and also the operating systems.
Shueb Ahmed
Right?
Shueb Ahmed
So Selenium basically supports the wide variety of programming language like Java, PHP, JavaScript, Python, Ruby, C#, and so on.
Shueb Ahmed
Hence you know the testers and the developers they have an option to write the test scripts in you know in the number of programming languages.
Shueb Ahmed
On the other hand when we talk about APM, APM is also an you know automation test tool framework wherein you can simplify and accelerate automate the mobile applications like the native applications, hybrid applications, the progressive web applications, and mobile web apps.
Shueb Ahmed
So it's predominantly on the mobile application side so where you where you have support for all the different you know applications when it comes to both iOS and Android.
Shueb Ahmed
So that's about a quick overview on the Selenium and the APM.
Shueb Ahmed
And coming to the when it comes to how this framework works.
Shueb Ahmed
So, just to you know give a glimpse you know how on a high level how Selenium and APM works.
Shueb Ahmed
So, let's look into that.
Shueb Ahmed
So, nowadays you know if you are using the Selenium grid you see the Selenium working with the different browsers.
Shueb Ahmed
Right?
Shueb Ahmed
On the other side the APM working works with the different either emulators or even if you have an internal device lab where you have connected the real devices.
Shueb Ahmed
And on the Selenium side basically the Selenium interacts with the different web drivers as you can see in the middle you know in middle of the browser drivers and the corresponding browsers which are mainly used to mimic or automate the gestures or movements on the users maintained in the web applications.
Shueb Ahmed
And similarly on the APM side so APM does the same thing here but this APM client interacts majorly with the APM server.
Shueb Ahmed
Right?
Shueb Ahmed
The APM server and then the APM server further interacts with the respective drivers based on the request either if it is you know request for iOS or if it's request for Android driver.
Shueb Ahmed
So, based on that so the driver communicates further to the emulators and the real device labs.
Shueb Ahmed
So, that's about quick you know how the Selenium and the APM works.
Shueb Ahmed
So, let's move on and when we discuss about these products there are definitely some pain points when we use these solutions.
Shueb Ahmed
So, let's try and understand what these pain points are.
Shueb Ahmed
Okay.
Shueb Ahmed
So, when we talk about the pain points on the uh Selenium side, there are few uh which we can probably discuss.
Shueb Ahmed
Uh so, when we talk about the different uh browser level, uh right, and the browser different browser uh providers.
Shueb Ahmed
So, there are there are some limitations uh when we talk about the browsers.
Shueb Ahmed
Uh we just have the Chrome driver, uh the IE Internet Explorer, and the Firefox.
Shueb Ahmed
Right?
Shueb Ahmed
So, when we talk about the availability of different sets of browsers in order to test your web applications.
Shueb Ahmed
So, there is a limitation where you will be able to test only on these different uh browsers.
Shueb Ahmed
And uh when it comes to updating the browser versions, uh so every often very few often, so we see the browsers uh you know, the browser versions uh getting released very soon often.
Shueb Ahmed
Then, it becomes uh quite challenging uh for uh you know, for a Selenium user to update, you know, their web drivers and also, you know, the Selenium scripts in order to, you know, work in order to work on based on the need.
Shueb Ahmed
So, that is also one of the pain points.
Shueb Ahmed
And the other big uh big point is there is no uh you know, built-in networking uh network recording.
Shueb Ahmed
So, wherein you have to uh you know, depend on, you know, use of the any third-party tools uh for network recording for that matter.
Shueb Ahmed
And uh when it comes to sharing the test results, uh so there is no uh easy way where you can, uh you know, quickly share your test analytics or results, you know, after you run your automation run on the uh Selenium.
Shueb Ahmed
So, whether either if it's there passed or failed, so there is no easier way.
Shueb Ahmed
Uh so, it's always a challenging task, you know, how to share the uh results uh when it comes to the automation scripts.
Shueb Ahmed
And uh there is also an overhead cost associated.
Shueb Ahmed
Uh so, this is definitely a challenge wherein, you know, there needs to be someone internally who is an uh is internally experienced you know, individual who manages the Selenium Grid.
Shueb Ahmed
Especially you know, if you would like to expand the browser support then it becomes really a challenge to maintain the grid.
Shueb Ahmed
So, these are some of the pinpoints when we discuss on the Selenium front.
Shueb Ahmed
And on the APM front if we discuss on the pinpoints so there are few which we can list down here.
Shueb Ahmed
So, due to the you know, various layers in the networks always there are chances of the flaky test.
Shueb Ahmed
So, no one likes the flaky test right?
Shueb Ahmed
So, there are chances of you know, the test being you know, you know, running abruptly and even there is an interruption while you are running your test and also it depends on the network speed.
Shueb Ahmed
So, your tests are you know, bit slower when you are executing it.
Shueb Ahmed
And there's also lack of for parallel testing where you have to depend only on your physical device which is connected to your machine.
Shueb Ahmed
So, in order to achieve you to run on number of parallel number of devices and execute the same flow of test script.
Shueb Ahmed
So, there is always a challenge where you where you think how to run these on the different you know, different devices at the same time and achieve parallel execution.
Shueb Ahmed
So, there is definitely a lack there.
Shueb Ahmed
And also you know, there is a huge difference when you test it on the real devices versus the emulators.
Shueb Ahmed
So, whatever you test it on the real devices is pretty much real.
Shueb Ahmed
You know, the applications you always tend to you know, test your application on the real devices rather than on the emulator.
Shueb Ahmed
So, there are some differences you know, which can be easily identifiable.
Shueb Ahmed
So, there is always a challenge when you test your application on the emulators the results may not be accurate and so on.
Shueb Ahmed
So, there are multiple challenges which which which you can see.
Shueb Ahmed
And also, when we talk about there's a constant update on the devices when it comes to the different manufacturers and the versions and even on the OS level.
Shueb Ahmed
So, every time there is a new product launched in the market, it becomes a challenging task to, you know, test your application on those different devices.
Shueb Ahmed
So, managing the infrastructure itself becomes, you know, a total uh you know, it's altogether a different task, right?
Shueb Ahmed
So, there has to be a specialized team who manages the everyday on the infrastructure side.
Shueb Ahmed
So, every time when there is a new version releasing either on the OS side or even on the browser side, so definitely, you know, you have to keep on, you know, working on the infrastructure side so that you keep updated on the other devices and you test your application on this.
Shueb Ahmed
So, there is an a challenge in maintaining the updates on the devices level.
Shueb Ahmed
And with that, there is of course an overhead cost on the maintenance of the devices.
Shueb Ahmed
The devices have to be procured and the maintenance of the devices would definitely definitely be an overhead cost associated with it.
Shueb Ahmed
So, these are some of the pain points which on an high and then on an on a nutshell higher level if you can discuss.
Shueb Ahmed
So, these are some there are many more if we drill down still more.
Shueb Ahmed
But however, let's let's try and understand what are the problem, how can we address this problem statement, and how our tool can help you on this case.
Shueb Ahmed
So, when we talk about Pcloudy, so what Pcloudy can help?
Shueb Ahmed
So, let's look into that.
Shueb Ahmed
So, Pcloudy basically, it's a mobile test automation.
Shueb Ahmed
It's a continuous testing mobile platform where it provides, you know, the infrastructure, you know, infrastructure devices where you can test your uh mobile applications be it Android or iOS on the different application sets like you know native applications mobile web applications progressive web apps hybrid and what not.
Shueb Ahmed
So all these different applications you know you can pretty much test on on our platform.
Shueb Ahmed
And and we're not just it's the device cloud but we have also launched our new browser cloud uh wherein you can test your you know desktop browsers.
Shueb Ahmed
So if you have your web applications that are currently being you know tested using Selenium then you can certainly leverage your existing scripts which are prepared in the Selenium and use our browser cloud feature where you can test your web applications on the fly.
Shueb Ahmed
And there are some of course different features and advantages you know added to these platforms.
Shueb Ahmed
So we will discuss that in in detail.
Shueb Ahmed
And uh with this platform you can also achieve the quality of your mobile apps you know by using rapid automation and also on the automation at scale and you can also integrate the Pcloudy platform with the mobile devops in case if you're using the devops tool.
Shueb Ahmed
So you can pretty much integrate Pcloudy with various different CI servers and you know you can execute the flow.
Shueb Ahmed
So let's try and understand what is the device cloud when it when it comes to the mobile test you know automation side.
Shueb Ahmed
So what it can offer.
Shueb Ahmed
So with the device cloud the user can pretty much perform the manual test and as well as on the automation on the automation side.
Shueb Ahmed
So we will look at some of the advantages on the on the device cloud.
Shueb Ahmed
So there are various different advantages.
Shueb Ahmed
So there is unlimited access Uh you you perform both manual and as well as on automation testing.
Shueb Ahmed
So, we have moved to a new licensing model, so which will let you test uh so, there is no restriction as such.
Shueb Ahmed
So, you can test unlimited on both manual as well as on the automation testing side.
Shueb Ahmed
So, we have uh you know, over 2,000 uh real devices on our cloud platform uh where you can uh pretty much uh test your uh application.
Shueb Ahmed
So, the devices which are hosted in our data center are pretty much uh real devices.
Shueb Ahmed
These are not emulators or uh simulators.
Shueb Ahmed
And uh with the different uh devices, we have different manufacturer model with different options with OS manufacturer versions.
Shueb Ahmed
Uh all the different uh devices section you can where you can pretty much offer.
Shueb Ahmed
And uh you also have access to the detailed report.
Shueb Ahmed
So, once you have performed your test either on the manual test or automation test, so we are providing a detailed report uh which has uh you know, performance metrics details like the CPU, memory, uh and the battery chart, and uh and the logs, and the screenshots, and the videos.
Shueb Ahmed
So, the entire session is being captured in the form of video, so that video will be the videos and the logs will be available in the report section.
Shueb Ahmed
So, you have a detailed report section where which you can use it for further analysis purpose, be it either for manual testing or for automation testing.
Shueb Ahmed
And uh we also have some features like simulation, network simulation, so where you can pretty much uh you know, uh simulate the network.
Shueb Ahmed
So, what we have done is we have throttled the Wi-Fi with the different uh you know, network bandwidths right?
Shueb Ahmed
Like the upload and the download speed like 2G, 3G, 4G, and so on.
Shueb Ahmed
So, you can pretty much test your application on different networking uh parameters which will help you understand how your app performs on different networking conditions.
Shueb Ahmed
So, it's a very important to test your applications on the various different networking conditions even before you release your application to the productions.
Shueb Ahmed
So, with this feature will help you to simulate uh your you know, the simulate uh the uh the network by using the network simulation feature.
Shueb Ahmed
And some of the features like WildNet feature, which is a very important, I know, wherein you can test your you know, internal applications.
Shueb Ahmed
So, so the applications which are you know, accessed only in the restricted environment, which are not accessed you know, outside the environment.
Shueb Ahmed
Maybe kind of a staging server environment.
Shueb Ahmed
So, in that case, if you still would like to test your application on our platform on any Android or you know, iOS devices, you can pretty much use this WildNet feature, which will help you which will help you access your internal applications on our devices and you can pretty much test your staging server applications.
Shueb Ahmed
And some other features like localization testing where you can pretty much test your applications on the different regions, you know, and we have support different languages.
Shueb Ahmed
So, you have pretty much test you can pretty much test your applications on the different languages if provided your application is supporting.
Shueb Ahmed
And not just that, you can also perform the accessibility testing.
Shueb Ahmed
So, it's not just important you to test your the functional behavior of the application, but it's also important that you test certain features, you know, which helps the users across the you know, people who are with disabilities.
Shueb Ahmed
So, you can test all the different features around the accessibility testing by using this feature.
Shueb Ahmed
And integration.
Shueb Ahmed
So, when I talk about integration, so Cloud PQR platform can pretty much integrate with APM in case if you are using APM.
Shueb Ahmed
And if you have script created your scripts on APM, you can pretty much integrate it with our platform.
Shueb Ahmed
And it's pretty straightforward.
Shueb Ahmed
It's It's just a six line of code that is required, you know, in order to integrate with the platform.
Shueb Ahmed
So, we have an option uh where you can generate the code uh to integrate uh you know with the big loading option.
Shueb Ahmed
Once this is integrated, you can pretty much run it on multiple uh devices and hence you can achieve the parallel execution.
Shueb Ahmed
So, that's about uh some of the uh advantages that we have listed when it comes to on the device cloud.
Shueb Ahmed
Now, we were discussing on the uh browser cloud as well.
Shueb Ahmed
So, browser cloud is something uh which is new which we have recently launched where you can test your uh desktop web applications, right?
Shueb Ahmed
Desktop web applications on various uh browser and uh OS combinations.
Shueb Ahmed
So, uh so it's pretty uh easy to access the platform uh and acquire a machine and just uh test either it be a manual testing or automation testing.
Shueb Ahmed
And we also have integrated this with Selenium.
Shueb Ahmed
So, in case if you have your Selenium scripts already created and you just you just have to integrate this.
Shueb Ahmed
So, once you have integrated, you're pretty much done.
Shueb Ahmed
You can, you know, execute your Selenium scripts on our platform.
Shueb Ahmed
So, let's look at uh some of the uh advantages uh the browser cloud has to offer.
Shueb Ahmed
Uh so, to begin with and again uh so, we have unlimited access uh when it comes to the manual and automation testing.
Shueb Ahmed
So, there is no restrictions uh depending on the uh licenses uh policy that you will will go.
Shueb Ahmed
And uh we have the real uh Mac machines and Windows machines uh on our cloud platform.
Shueb Ahmed
So, you can pretty much test uh your uh web applications on these different operating systems and also with the different browser combinations.
Shueb Ahmed
And we can also perform the natural interactions on these uh you know, the different uh you know, operating systems and browser level.
Shueb Ahmed
We also get the web application performance statistics uh statistics, right?
Shueb Ahmed
So, in case if you would love monitor you want to monitor the uh the application the web application performance, uh then certainly you can use uh the different tools that are available and you know, like various tools that are available.
Shueb Ahmed
So you can monitor uh your web application performance statistics as well.
Shueb Ahmed
And just like similar to the device cloud, we're also offering a detailed reports where you can monitor the logs and screenshots and the videos.
Shueb Ahmed
So so which will help you analyze you know the screenshots that you have captured during the course of testing, right?
Shueb Ahmed
In case if you have and also the videos.
Shueb Ahmed
So the entire session has been captured in the form of video and if you'd like to see what manual testing or automation activity has been done during the course of testing, so you can certainly download the video and you can pretty much look into the video and even you know if it's required, you can share it among your team members.
Shueb Ahmed
So so you have an access pretty much access to the detailed reports as well.
Shueb Ahmed
And while that again just this is again similar to what we discussed on the device cloud.
Shueb Ahmed
So if you have your web applications which is you know which is in the staging server and which is accessed only in the restricted environment, then you can test such applications on this platform.
Shueb Ahmed
So with the WildNet feature, you can pretty much use this WildNet feature and test your application on on our on our platform.
Shueb Ahmed
And similarly, we can also perform the localization testing, the different testing methods that we have.
Shueb Ahmed
So you can you know test your applications with the by using the different languages for the different regions that are developed.
Shueb Ahmed
And accessibility testing as of course and there's a very flawless easy integration with the Selenium.
Shueb Ahmed
It's just that the capabilities we need to bring in into your existing Selenium code and once we are done with that, you can pretty much you know integrate this with the Selenium and you can run the the web applications on any of the the application on the multiple machines at the same time and hence you can achieve the parallel execution.
Shueb Ahmed
So let's see it in live, uh you know, how uh you know, how how you can integrate the APM and the uh Selenium with Pcloudy platform and uh execute us uh the sample code that I have created.
Shueb Ahmed
So, let me just uh uh you know, move move to the uh uh the cloud platform.
Shueb Ahmed
I'm just going into the platform here.
Shueb Ahmed
Okay.
Shueb Ahmed
Uh so, this is the Pcloudy uh platform uh that the screen which you're currently seeing is the public uh platform.
Shueb Ahmed
Uh I'm just logging in uh with my user credentials.
Shueb Ahmed
Let me just do that.
Shueb Ahmed
I'm just logging in.
Shueb Ahmed
Okay.
Shueb Ahmed
So, this is the quick uh landing page where you land up on the dashboard uh where you have the total sessions that are until date, uh some uh and also on the current concurrent sessions if there is any concurrent sessions that are running alive.
Shueb Ahmed
So, you can monitor all the uh details here.
Shueb Ahmed
And uh and we also have some other uh options like if there are new devices that are added to the cloud, you can pretty much uh navigate this page and get to understand about uh the devices that we have added.
Shueb Ahmed
And uh there's also a video get started video.
Shueb Ahmed
If you're new to Pcloudy, then you can certainly use this video to you know, to see how to create your first test.
Shueb Ahmed
Again, you pretty much use this options and some other stats which talks about your previous manual sessions, your automation reports, and uh updates.
Shueb Ahmed
So, we keep enhancing our product uh with new features.
Shueb Ahmed
So, any feature related enhancements will be notified in the uh release notes.
Shueb Ahmed
So, you can pretty much look for all the release notes.
Shueb Ahmed
So, that's the quick overview on the uh dashboard uh session.
Shueb Ahmed
So, uh just just would like to show on the how the devices page would look like.
Shueb Ahmed
This is the important tab uh where you can see all the different devices.
Shueb Ahmed
Uh so, as you can see, these are the different devices uh that are hosted in our data center pretty much on the different mix of Android and as well as on the iOS.
Shueb Ahmed
So you can pretty much look for a device and you can acquire and you can start your manual testing.
Shueb Ahmed
So for this session, I'll be focusing more on the automation since we are bringing the Selenium and APM together.
Shueb Ahmed
So let's see it in live how APM and Selenium can be integrated with Pcloudy platform.
Shueb Ahmed
Okay, so let's move to the automation piece.
Shueb Ahmed
So there are various different tools of course that are supported.
Shueb Ahmed
We'll be focusing on the APM side.
Shueb Ahmed
How how this can be integrated.
Shueb Ahmed
So the typical architecture of APM would something look like this where you have an APM client where you'll be you know creating your scripts and the test data in it and also have an APM server which in turn is connected to the devices, right?
Shueb Ahmed
Physical devices.
Shueb Ahmed
Now when this gets integrated with Pcloudy platform, we no more require the APM server.
Shueb Ahmed
We just require the APM client where you have created your existing scripts and and the test data in it.
Shueb Ahmed
So once this gets integrated with Pcloudy platform, you can pretty much run the same script on multiple devices and hence thereby achieving the parallel execution.
Shueb Ahmed
So let me just showcase a sample script that I have created.
Shueb Ahmed
I am using APM APM client as an Eclipse here.
Shueb Ahmed
Eclipse is my client here where I have created scripts and since APM supports all the different frameworks, right?
Shueb Ahmed
All the different automation frameworks, you can pretty much use the framework of your comfort based on your comfort and the scale and the resources that you have.
Shueb Ahmed
I have created the script with the TestNG framework, right?
Shueb Ahmed
As you can see and we have various different options here.
Shueb Ahmed
And yeah, which you can pretty much use it, right?
Shueb Ahmed
So this is based on this is a capability based.
Shueb Ahmed
So when I talk about integration, right?
Shueb Ahmed
It's just that six line of code that I need to add in my existing script.
Shueb Ahmed
Once I have the six line of code in my existing script, I am pretty much done with the integration.
Shueb Ahmed
And in the first step, it's the first method where it's called as before method where we are initializing the driver depending on whether if it's Android or iOS.
Shueb Ahmed
And this is the endpoint, right?
Shueb Ahmed
Endpoint where the APM server is hosted on your data center.
Shueb Ahmed
So, so this is the URL.
Shueb Ahmed
And I've written a sample test case which has in detail.
Shueb Ahmed
So, let's try and see uh let's try and execute this script and I'll showcase how this can be executed.
Shueb Ahmed
Okay, so when I talk about integration, so let me just showcase how to develop this the code.
Shueb Ahmed
You can just just pretty much go back to the P3 platform, click on the devices tab, and in the capability section where you can, you know, pretty much create the configurator.
Shueb Ahmed
So, depending on the operating system, either if it's Android or iOS, you can pretty much select and what's the type of automation, if it's browser testing or app testing.
Shueb Ahmed
And while net in case if you want to use it for automation where you want to test your, you know, staging server application, you can pretty much use it either true or false.
Shueb Ahmed
And by default, the location is selected as India.
Shueb Ahmed
In case if you would wish to change, you can pretty much do that.
Shueb Ahmed
And there are now three different options: device full name, device manufacturer, and the device version.
Shueb Ahmed
So, how you want to run it on which particular device.
Shueb Ahmed
If you're going with device full name, you can just pretty much click on it and you will see the different devices here, right?
Shueb Ahmed
With their statuses on the on the right hand side.
Shueb Ahmed
So, you can pretty much select the devices of your choice and which is whichever is available.
Shueb Ahmed
And as you'd have noticed, the device manufacturer and the version just got disabled because we're going with a complete device name which has a manufacturer, model, and also the version.
Shueb Ahmed
And it's the other way around.
Shueb Ahmed
And if you're going with the device manufacturer and the version, then the, you you know, the device full name would get disabled.
Shueb Ahmed
And the next step is to provide the duration, so for how long your script will execute, right?
Shueb Ahmed
On the particular device.
Shueb Ahmed
So, you can provide the duration in minutes here.
Shueb Ahmed
Select the application which you want to test.
Shueb Ahmed
So, the uh prerequisite for this is to upload your application in the cloud in the uh my app data.
Shueb Ahmed
So, there is a tab called my app data where you'll be uploading your applications.
Shueb Ahmed
And then provide the app package and app activity.
Shueb Ahmed
So, which you will be getting it from the developers.
Shueb Ahmed
And once you click on generate capabilities, the capabilities will be generated as you can see here, which you can pretty much copy or edit, right?
Shueb Ahmed
So, I can take my I can pretty much take this code to my existing APM script which I have developed.
Shueb Ahmed
And I'm done with the integration.
Shueb Ahmed
So, this is uh pretty easy when it comes to integration.
Shueb Ahmed
So, uh uh so, you just have to, you know, create the capability configurator depending on the requirement and then paste it.
Shueb Ahmed
Now, I can execute this uh script.
Shueb Ahmed
All right.
Shueb Ahmed
Uh okay.
Shueb Ahmed
So, now I in order to execute the script, uh you know, I have to write a sample script.
Shueb Ahmed
I have which I have pretty much written it here.
Shueb Ahmed
And let me So, there are three different options here uh when you talk about uh you know, how to execute this.
Shueb Ahmed
There is a device manufacturer, device version, and device full name.
Shueb Ahmed
If I am executing this with device full name capability, then this particular script will be executed on this particular device, right?
Shueb Ahmed
But however, if I am executing if I want to execute with the device manufacturer and the device version, then I can pretty much use these two capabilities, right?
Shueb Ahmed
So, for instance, if I am, you know, using the device manufacturer as LG and which has a device version of eight.
Shueb Ahmed
So, in this case, the script will get executed on any LG device which has a version of eight irrespective of which model it is, right?
Shueb Ahmed
However, the actual intent, you know, of integrating APM with Pcloudy is to achieve the parallel execution, right?
Shueb Ahmed
How do I run the same script on multiple devices?
Shueb Ahmed
To do that, what I've done is I have created a parameter here called device name.
Shueb Ahmed
And since this is created in TestNG, I'm passing this as an annotation.
Shueb Ahmed
And I also have a TestNG XML file where I will be passing the values, all right?
Shueb Ahmed
So, say for instance, if I want to execute this on two different devices, I just have to provide the values here.
Shueb Ahmed
Either I can provide the complete device full name or just provide the manufacturer name here.
Shueb Ahmed
So, I'm running this on two different devices, one on Samsung and one on the other place.
Shueb Ahmed
So, now if I execute this particular script, the script will get executed on these different platforms.
Shueb Ahmed
So, let's see it let's see it how, you know, the script will get executed.
Shueb Ahmed
Okay.
Shueb Ahmed
This is pretty much there.
Shueb Ahmed
Let me just run this.
Shueb Ahmed
Okay, the moment I click on run, so you will get a console where you will be, you know, notifying with, you know, if the if the driver is getting initialized or there are any issues or so.
Shueb Ahmed
You will can pretty much monitor.
Shueb Ahmed
With Pcloudy, what we have done is we have gone a step ahead and, you know, if you just go back to the Pcloudy platform and in the report section, in the my active session, you should be seeing the devices coming up here.
Shueb Ahmed
As you can see, two different devices.
Shueb Ahmed
We selected one from OnePlus and another from Samsung.
Shueb Ahmed
I can see two different devices coming up here.
Shueb Ahmed
And I can also see it in live what exactly is happening during the live session.
Shueb Ahmed
To do that, I just have to click on, you know, open live view session, which will help me understand, you know, what how the execute automation script is being executed on these particular devices.
Shueb Ahmed
Of course, you know, optional this is optional.
Shueb Ahmed
The live view is pretty much optional, but this will at least help you understand, you know, how the script is being getting executed on these two different uh platforms.
Shueb Ahmed
So, once the devices connected, you can see the devices connected and you will pretty much see the, you know, it's being executed.
Shueb Ahmed
So, as you can can the automation has been begun here and it is being executed on these devices.
Shueb Ahmed
It just got finished in this devices and it is just getting it over.
Shueb Ahmed
So, it's just I know this is a small script and it took no time and this is got you know executed uh successfully.
Shueb Ahmed
And now uh this the testing the execution is pretty much done.
Shueb Ahmed
Now, if I want to you know while execution, if I want to you know interact with the device, if I click on any part of the screen, I'm not able I will not be able to because you know this is the live video streaming that we have.
Shueb Ahmed
But however, for the debugging purpose, if you have any unwanted pop-ups and if you'd like to interact with the device, then we have a feature we have made that option for Android at this point where you can you know enable the interaction on the top right.
Shueb Ahmed
So, if you can click on enable interaction.
Shueb Ahmed
So, now this device is pretty much enabled.
Shueb Ahmed
So, I can pretty much interact with the device now.
Shueb Ahmed
If there are any unwanted pop-ups, I can pretty much use this.
Shueb Ahmed
So, once the once the script is executed, you can pretty much see the the reports, all right?
Shueb Ahmed
So, the device will get auto released and and you can navigate to the all report section and you can see the reports, all right?
Shueb Ahmed
So, you will have an detailed report.
Shueb Ahmed
So, let me just showcase one sample report here which I've just done that.
Shueb Ahmed
So, let me click on view report.
Shueb Ahmed
So, this will have a a detailed in a detailed view of the report.
Shueb Ahmed
So, where you have a quick overview on the on the test and the session details, started completion, total duration.
Shueb Ahmed
You can also click on further on the device to view the performance related metrics in the report section.
Shueb Ahmed
So, this is the add-on report what we are providing.
Shueb Ahmed
So, of course whatever the customized reports that you may have written within your own you know automation framework, that however is available in your client.
Shueb Ahmed
We are not showcasing that in in our report section.
Shueb Ahmed
This is just an add-on report with no additional work.
Shueb Ahmed
We are just providing just you can you know expand the report.
Shueb Ahmed
You can pretty much see the the chat here.
Shueb Ahmed
So that we have we are providing the CPU chat, you know, which has at the application level, the system level, and the user level.
Shueb Ahmed
And the memory chat pretty much about the memory consumption, battery chart, the network chart, and also we are providing the the raw data.
Shueb Ahmed
In case if you'd like to create your own graphs, then you can certainly use this uh uh raw data that we are providing.
Shueb Ahmed
And we're also providing the logs.
Shueb Ahmed
So we have uh device logs, APM logs, and APM standard data logs.
Shueb Ahmed
So which may you may use it for further debugging purpose.
Shueb Ahmed
And uh we're also providing the video.
Shueb Ahmed
So as I was just discussing during the presentation, so the entire session has been recorded in the form of video.
Shueb Ahmed
And this video uh you can pretty much uh download and you can see what what happened during your uh uh ex- automation execution.
Shueb Ahmed
So this is the deep default report uh which we are uh showcasing.
Shueb Ahmed
And the entire report is again uh shareable which you can pretty much share it among your team members.
Shueb Ahmed
You just have to click on this copy report link uh and a link would be created.
Shueb Ahmed
So they need not be a Pcloudy user.
Shueb Ahmed
Anyone any anyone who has this links will be able to access the report just like how we saw it right now.
Shueb Ahmed
So that's about uh you know how you leverage your existing APM scripts on our Pcloudy platform.
Shueb Ahmed
Now let's quickly look into the browser cloud option which we discussed.
Shueb Ahmed
So Pcloudy recently launched a new uh feature called the browser cloud which uh which which basically helps you to uh test your uh desktop web applications on various different browser uh browser combinations and OS combinations.
Shueb Ahmed
So as you can see, I just navigated to the browser stack uh so where uh where I have a different sets of uh devices here, different uh machines here basically uh with the different operating system and the different browser level.
Shueb Ahmed
I also have a filter option here on the right.
Shueb Ahmed
Uh so based on the uh different uh options, so you can pretty much choose uh the type of type of browser that you want.
Shueb Ahmed
So we have different sets of browser like Firefox, Edge, Chrome, and IE in case of uh uh you know, Windows machine.
Shueb Ahmed
And also, we have a Safari uh browser in case you want to test on it on a Mac machine.
Shueb Ahmed
And um on on the OS level, so we have Windows and Mac machine.
Shueb Ahmed
Pretty much uh you can pretty much connect to these uh devices and you can test your web applications.
Shueb Ahmed
And on the OS version side, uh so we have currently uh you know, all the different versions like Windows 10 and Windows 8.1.
Shueb Ahmed
And on the uh I would on the on the Mac side, we have Catalina and Mojave.
Shueb Ahmed
And we're also adding some more operating uh system or different versions uh to our cloud.
Shueb Ahmed
Okay, so now uh I can pretty much connect to any of these uh uh any of any of these machines and then I can acquire it.
Shueb Ahmed
So, it's pretty straightforward.
Shueb Ahmed
Uh you know, uh you can pretty much connect.
Shueb Ahmed
So, there are two different options here available and in use.
Shueb Ahmed
Legends are basically What does this mean?
Shueb Ahmed
So, if you see any device uh which is in available uh state, so that means that this particular machine is available and I can pretty much connect it.
Shueb Ahmed
If you see any device in use, uh so that means that use uh that particular machine is in be used by some other user.
Shueb Ahmed
So, you have to make sure that device is available.
Shueb Ahmed
Since this is a cloud platform, uh so we do have an option in case uh if you're worried about the uh device availability side.
Shueb Ahmed
Uh so, we have a private cloud for that matter where where the devices will be hosted exclusively.
Shueb Ahmed
Uh you know, uh exclusively for the client.
Shueb Ahmed
Uh so, where you don't have the public uh presence.
Shueb Ahmed
Okay, so that's about.
Shueb Ahmed
So, let me just uh connect to uh any of these uh devices.
Shueb Ahmed
So, let me connect to this particular machine.
Shueb Ahmed
I'm just uh connecting to uh Windows machine here.
Shueb Ahmed
Okay, which has uh you know, a Chrome uh version of 78.
Shueb Ahmed
As you can see, the the browser just got launched.
Shueb Ahmed
I can also go into the full screen mode uh to test my uh web applications.
Shueb Ahmed
So, it's pretty much there.
Shueb Ahmed
Uh, I have uh, the, you know, the OS uh, 10 and uh, with the version with the specific version whichever I'm looking at.
Shueb Ahmed
Now, I can launch my application here.
Shueb Ahmed
I I just provide the value.
Shueb Ahmed
Just say, for instance, I'm launching cross.com.
Shueb Ahmed
I can pretty much do that.
Shueb Ahmed
Let's do that.
Shueb Ahmed
Yeah.
Shueb Ahmed
Uh, the application would get launched and I can pretty much test my uh, web application uh, by using uh, this is for the mainly for the manual testing side.
Shueb Ahmed
And uh, we also have various screen resolutions in case if you would like to test your uh, I know, web applications on various levels.
Shueb Ahmed
So, you have an option.
Shueb Ahmed
You can pretty much choose uh, the screen resolutions of your choice and you know, test your application on different trial level.
Shueb Ahmed
And while you're testing, if you have found any defects, uh, so if you would like to take a screenshot, just click on capture screenshot here.
Shueb Ahmed
The screenshot would be captured and uh, which you can pretty much use it for further you know, uh, raising the defects or you know, for the further analysis purpose.
Shueb Ahmed
And uh, WildNet feature, this is again, you know, in case if you have your applications which is accessed only in the restricted environment like staging server.
Shueb Ahmed
Uh, so you can pretty much test it by using this option.
Shueb Ahmed
Uh, so uh, so there is a small command that needs to be uh, run on your local machine and you have to download an executable before that.
Shueb Ahmed
So, just download an executable on your local machine and execute a command.
Shueb Ahmed
Uh, so if you just click on here, so this will help you understand how to use this uh, WildNet feature and with that you can test your uh, you know, any applications which are accessed only in the restricted environment.
Shueb Ahmed
So, that's about uh, the manual testing.
Shueb Ahmed
So, once you are done with your testing, you can pretty much click on release button.
Shueb Ahmed
Uh, so in order to release, once you have done with that, I'll just click on release and uh, you'll be notified with a pop-up which says whatever the data on this browser will be cleaned up.
Shueb Ahmed
Right?
Shueb Ahmed
So, this is mainly from the security point.
Shueb Ahmed
So, whatever activity that you have done will be cleaned up on this particular machine.
Shueb Ahmed
I just click on yes and the device will get auto released and and the device and the machine will go in auto clean up option.
Shueb Ahmed
So, that's about on the manual testing side how you can you know do your mobile web on sorry on the web app desktop web application testing.
Shueb Ahmed
Now, just to showcase on the Selenium side how we can integrate this with a Selenium platform.
Shueb Ahmed
So, we we have also you know you know showcased in the our documentation this step-by-step configuration how to generate how from the you know integration perspective.
Shueb Ahmed
We just just like you just like I'll take you through the automation front when it comes to the documentation side.
Shueb Ahmed
So, this is the documentation page where you can pretty much follow how you can you know integrate the Selenium platform.
Shueb Ahmed
And we've also listed down some steps for both for manual testing and automation testing which you can pretty much follow here.
Shueb Ahmed
I'll just directly go into the automation side since I've shown the manual testing.
Shueb Ahmed
So, for automation side there are since this is based on the capability side so we have provided some capabilities that needs to be incorporated into your existing Selenium script and provide change the values as per your requirement and and once you have provided these desired capabilities you can you know pretty much you know integrate.
Shueb Ahmed
So, you can also access to the cloud URL and the API access in the settings tab by navigating into the Pcloudy page.
Shueb Ahmed
So, once you have done with that you can pretty much access the application.
Shueb Ahmed
So, let me just showcase a sample script again which I have created for the Selenium.
Shueb Ahmed
Okay, let me just open the Selenium script.
Shueb Ahmed
Okay, so this is my Selenium script which I have created and this is the how it the script the how it looks like.
Shueb Ahmed
So, I this is based on the capabilities as I I just mentioned which I showcased during in my the documentation page.
Shueb Ahmed
You can pretty much copy the capabilities and this is the driver initialization which we are doing and this is the endpoint URL where the the Selenium this hosted.
Shueb Ahmed
And I have written a sample script here, a small script so which will you know navigate here.
Shueb Ahmed
This is the URL which I am which I am testing it and this will launch and you I can pretty much test it on the various different options.
Shueb Ahmed
So, which I which I will be showcasing.
Shueb Ahmed
Okay, I also have a test ng XML here you know which I can use for providing the values, all right?
Shueb Ahmed
So, if I want to run this same script on multiple machines at the same time, maybe on different operating systems, on different browser with different versions, I can do that.
Shueb Ahmed
I just have to change the values in the test ng XML.
Shueb Ahmed
So, I am I am say for instance if I want to run it on two different machines, all right?
Shueb Ahmed
One on Windows and other on the Mac, I could check and pretty much do that.
Shueb Ahmed
I am running this on a Windows machine here currently.
Shueb Ahmed
So, I am providing the values as Windows, the OS version on which particular OS version followed by the browser name and its version, right?
Shueb Ahmed
So, the first test will I mean the I mean the test one one of test will run in on this particular machine.
Shueb Ahmed
And on the other device, all right?
Shueb Ahmed
On the other machine, I'm just selecting as Windows again.
Shueb Ahmed
I'm providing the values here.
Shueb Ahmed
So, which can with the browser name and the browser version.
Shueb Ahmed
So, two different you know operating systems with different browser names and values.
Shueb Ahmed
I can pretty much execute this.
Shueb Ahmed
Let me just execute and showcase how the execution will happen in real time.
Shueb Ahmed
I'll just click on runners and click on TestNG.
Shueb Ahmed
So, once
Shueb Ahmed
Sorry for that.
Shueb Ahmed
Okay.
Shueb Ahmed
So, there is a console coming up where you can see if the driver is you know, getting initialized or not and even if there are any errors or warning messages which you can pretty much monitor.
Shueb Ahmed
Just like on the mobile devices where you have the UI to see you know, what exactly is happening during the live session.
Shueb Ahmed
As you can see the driver has just launched.
Shueb Ahmed
I I just let me just go to the devices section and I'll go to the all reports tab.
Shueb Ahmed
And in the my active session you'll start seeing the machines which are connected.
Shueb Ahmed
So, there are two different machines, one on Windows 10 and the other on the Windows 8.1.
Shueb Ahmed
Two different browser with different versions.
Shueb Ahmed
I can also see a live view here.
Shueb Ahmed
Just click on live view view session option here.
Shueb Ahmed
I'll just make it for other machine as well.
Shueb Ahmed
This is connecting to the device.
Shueb Ahmed
As you can see it's successfully connected on both the devices.
Shueb Ahmed
Now, the script will get executed on you know, on the on these platform.
Shueb Ahmed
Let me just go to the console here and you can see it's pretty much done.
Shueb Ahmed
Okay, so it's pretty much done.
Shueb Ahmed
The The execution has just got finished while we were you know, discussing on the console part.
Shueb Ahmed
As you can see the script are pretty much done.
Shueb Ahmed
The The driver got initialized and few activities just got performed on both the devices.
Shueb Ahmed
And which which you'll probably will have seen here it on live.
Shueb Ahmed
Right?
Shueb Ahmed
So, once the execution is completed on both these you know, both these machine you know, the the machines will get auto released and you'll also I get a report for this sessions.
Shueb Ahmed
Right?
Shueb Ahmed
So, to navigate so once the session is completed the execution is completed you can pretty much go to the all reports section and you can also see the reports the live reports in live.
Shueb Ahmed
So, you can pretty much access currently this is disabled for now.
Shueb Ahmed
So, once we have that option you can pretty much go into the view report section and view the screenshots or you know the videos and the logs whatever we have just provided for the device section.
Shueb Ahmed
So, you can pretty much see it in live.
Shueb Ahmed
So, that's So, So, that's about on the how you leverage your existing IBM scripts and the Selenium scripts with Pcloudy platform and integrate and execute on multiple devices and hence achieve parallel execution.
Shueb Ahmed
So, with that you save you know you know your test execution time tremendously and there is many added advantage to it.
Shueb Ahmed
I don't have to worry about the infrastructure right for maintaining and managing all these devices.
Shueb Ahmed
So, the entire devices and the machines we are we are pretty much managing.
Shueb Ahmed
So, So, it's ready to use.
Shueb Ahmed
So, the moment you have the software you can pretty much test your web application applications web applications or even mobile native and hybrid applications as well.
Shueb Ahmed
So, that's you know I about on the few different parameters.
Shueb Ahmed
So, I'll open up the session for a you know Q&A session and let me just see if we have any questions.
Shueb Ahmed
I'll just pause here for for some for few seconds and and let's see if I have some questions which I can take.
Shueb Ahmed
Okay, so there are some interesting questions coming up.
Shueb Ahmed
Uh You can start typing your questions in case if you have not.
Shueb Ahmed
So we have some more time.
Shueb Ahmed
I can pretty much take down all your questions here.
Shueb Ahmed
Okay.
Shueb Ahmed
So let me just start the question answers.
Shueb Ahmed
I can see some questions.
Shueb Ahmed
There is a user by name Anil.
Shueb Ahmed
Okay, Anil is asking how easy it is to integrate the Selenium part of it.
Shueb Ahmed
We're talking about on the uh integration side.
Shueb Ahmed
So Anil, I'm not sure if you noticed during the live demonstration.
Shueb Ahmed
So since this is based on the desired capabilities, so we have provided some desired capabilities in the on our platform where you can quickly get those desired capabilities and you can pretty much integrate that.
Shueb Ahmed
So it's just that one URL that needs to be changed.
Shueb Ahmed
So where the Selenium where the Selenium is Selenium server is hosted.
Shueb Ahmed
So it's pretty straightforward and pretty easy once you follow the the documentation, you'll have a brief understanding about it which I just showcased during the demonstration.
Shueb Ahmed
And you can pretty much use it and test your application once this is integrated and you can test it on multiple devices at the same time.
Shueb Ahmed
And hence you save a lot amount of time when it comes to the test execution side.
Shueb Ahmed
Okay, I hope I have answered to your question, Anil.
Shueb Ahmed
And there are some other questions coming up.
Shueb Ahmed
User Ritika says, "What is the maximum limit of the on the parallel devices which I can use on the devices section?" Okay, so theoretically Ritika, if I can just answer your question, so theoretically there is no limit as such.
Shueb Ahmed
You can pretty much test on more devices.
Shueb Ahmed
So we have successfully tested you know around 50 devices in parallel.
Shueb Ahmed
So, provided if you have a valid licenses, you can pretty much test on on various different browser different mobile devices.
Shueb Ahmed
So, you can pretty much do it.
Shueb Ahmed
I hope I have you answered your question Radhika.
Shueb Ahmed
Okay, so there are some other questions coming up.
Shueb Ahmed
So, there is a user called Kamlesh Yadav says, do you have an inbuilt APM server?
Shueb Ahmed
Yes, so as I was just mentioning, you don't require the APM server.
Shueb Ahmed
Okay, you just need to have the APM client where you have created the APM I mean AS the scripts and the test data.
Shueb Ahmed
So, we have hosted the APM server on our cloud.
Shueb Ahmed
So, it's a pretty much there.
Shueb Ahmed
So, you don't have to worry about the APM server configuration.
Shueb Ahmed
It's just that you need to have your existing APM client scripts which you have created.
Shueb Ahmed
And once you have your scripts, you can pretty much integrate by using the capability configurator and where you provide the URL where the APM server is hosted and you're done with the integration and you can test your web applications.
Shueb Ahmed
I mean can test your applications there.
Shueb Ahmed
I hope I have answered your query.
Shueb Ahmed
Okay, there is another user is asking from Tanush Shekhar Jayapal is asking what about OpKey?
Shueb Ahmed
It helps us record and replay.
Shueb Ahmed
So, OpKey is basically you know, it's another software altogether a different solution which is our internal solution of course which is on record and replay.
Shueb Ahmed
Recording replay where you can you know, it's a zero code automation.
Shueb Ahmed
So, there is a recording replay option.
Shueb Ahmed
While you record the entire action gets recorded in the simple plain English readable language at the back end and you can pretty much test your uh application which I have recorded on any on any devices.
Shueb Ahmed
So, that's pretty much there, but of course this is a licensed version and it's and it's you know, it's our it's our internal solution.
Shueb Ahmed
I will I will may share you a link about App key in case if you're interested you can pretty much look into it.
Shueb Ahmed
Okay, I hope I have answered to your question.
Shueb Ahmed
Okay, so then there a user asking uh
Shueb Ahmed
Okay, there are some other questions which are repeated.
Shueb Ahmed
Some Okay, let me just take the questions which are new and which are relevant.
Shueb Ahmed
How to test e-commerce website in APM?
Shueb Ahmed
Okay.
Shueb Ahmed
If you are talking about mobile web applications, mobile web application which is an e-commerce, you can pretty much do it.
Shueb Ahmed
Uh so, we have an option.
Shueb Ahmed
You not just test the native hybrid, but you can also test your mobile web application on the APM side.
Shueb Ahmed
Be it a Be it any application, be it e-commerce website or any applications.
Shueb Ahmed
So, it does not matter.
Shueb Ahmed
So, you can pretty much test it.
Shueb Ahmed
However, if it's a web applications, if it's just a desktop web application, then we have a browser cloud option where you can pretty much test your application on on on the browser cloud.
Shueb Ahmed
I hope I have answered to your question, Nursing and Vinita.
Shueb Ahmed
Okay, there is another question called another question.
Shueb Ahmed
Is it possible to integrate APM with App Accelerate Studio?
Shueb Ahmed
I don't think so.
Shueb Ahmed
This can be integrated.
Shueb Ahmed
I just Maybe I just need to understand a bit more about what App Accelerate
Shueb Ahmed
Studio is.
Shueb Ahmed
I may get back to you one-on-one and help you understand on this question.
Shueb Ahmed
Okay.
Shueb Ahmed
I hope I have answered your question.
Shueb Ahmed
And next question.
Shueb Ahmed
Okay, there is another question from Narsingam beta again.
Shueb Ahmed
How much time it provides in APM inspection using Pcloudy device?
Shueb Ahmed
I'm not sure exactly what is your question here.
Shueb Ahmed
Okay.
Shueb Ahmed
Fine.
Shueb Ahmed
You I believe there are more more more questions coming up.
Shueb Ahmed
I think we are also running short of a time.
Shueb Ahmed
But however, I may answer to your queries which I have not answered now one-on-one.
Shueb Ahmed
I may reply to you one-on-one and I'll help you with the the queries which you have asked.
Shueb Ahmed
Okay, just one last question which I can take from Kamlesh Yadav.
Shueb Ahmed
If I exclude testing, can I execute parallel execution?
Shueb Ahmed
See, parallel execution is pretty much possible on both the on the both the either on the APM even on the Selenium side.
Shueb Ahmed
So, this is pretty much possible.
Shueb Ahmed
So, you can test your mobile applications on parallel just like I showcased during the live demo where you can execute the code on multiple devices.
Shueb Ahmed
So, which is pretty much parallel execution is just not you know something which we can which cannot do which is pretty much doable which we can integrate it.
Shueb Ahmed
Okay, hope we have many more questions coming up.
Shueb Ahmed
This was very interesting you know to see these questions coming up.
Shueb Ahmed
I I may not have added I mean answered all your queries.
Shueb Ahmed
I will come back to your queries one-on-one.
Shueb Ahmed
I will answer to you separately.
Shueb Ahmed
Okay, but I hope this session was quite useful and quite helpful for everyone, for everybody.
Shueb Ahmed
So, we do, you know, frequently on the our webinars.
Shueb Ahmed
Please visit our LinkedIn page and and to just understand, you can also visit Pcloudy.com to, to further to understand more on our product, what we offer and what are the different features and we'll be happy to assist you.
Shueb Ahmed
So, I hope this session was useful and I very much thank everyone who has, you know, participated actively in this session for your time and I hope this was very helpful.
Shueb Ahmed
So, we'll also be sharing you a recorded link which you you can share it among your colleagues who who did not attend or who missed to who missed the webinar by any point.
Shueb Ahmed
So, thank you so much for your time.
Shueb Ahmed
I'm closing the session.
Shueb Ahmed
Uh Thanks, everyone.
Shueb Ahmed
Have a good evening.