All right, so in this lecture, we are going to talk about the whole operation that we are going to
be doing so far, doing that, I'm actually going to take one of the website, which I always try to
use for whole operation because it's super easy and super good to work with.
So if you go to the execute automation demo site, just search the Google, probably end up over here.
The demos dot Amazon.com.
So you can go to this website and you can see that we have an over operation on the menu over here.
So you can see that just if you just hover there, it just comes up there.
That's it.
That's in place.
So this operation is what we're going to be doing.
Again, whatever operation is something, you should avoid doing it.
But right now, with the available automation testing services, they always automatically do whole
operation for you.
So if you use this project or if you use in test or if you use any other tool like Appley Tool.
Applied test or AP test or something like that, they always they already have the whole operation taken
care for you automatically.
You don't really have to specify that they're doing is actually doing it for you.
So that's pretty nice to see that.
I mean, for our testing, because we are we are going to run within our local machines with our local
system.
We do really require this kind of capability within our test and we need to have that in place as well.
So we are going to do that.
And once again, guys, we can try doing our whole operation using the playwright Clay, and we can
see if the playwright said I could be able to do it for us because we have never seen the playwright
doing it for us.
So I'm probably going to do use our playwright Clay, and we'll see how it actually works.
So I'm just going to go and be playwright Clay after Corrigin and the site is going to be this demo
site.
I just want to log out this is the site, just going to copy this part of Pasodoble here.
So this is going to call.
Because we forgot installing NPCs playwrite on this particular project, so you can see that once I
do that, it's also going to bring up things for me, which is all right.
And then I'm going to log in.
I'm just going to perform a hover operation and then I'm just going to click maybe specular.
It's performing a click operation, which is pretty good.
So what I'm going to do is I'm just going to stop this and you can see that the code has been generated
for us.
I'm just going to copy this code directly and I'm going to create a file name called us over Dot G.S..
So you can see that the whole operation is not actually being performed, even though it claims to be.
So if I tried to run this particular code, we'll see what's going to happen.
So if I just do a logging off so I know the whole Dargis if I try to run this test.
You can see that the whole operation is not going to happen here because basically what the court has
recorded is basically and click operation off the spectrum, but not the holiday itself, because the
playwright itself is not that intelligent enough to do it.
But the test automation services, which I was talking about, they actually do it for you while you
use their platform.
But yeah, but over here it is not doing it.
So we should be telling it explicitly that you need to perform a whole operation.
So far doing that, what we can do is we can go over here on this website and you can see that this
automation tool is basically a text, right?
Like automation tool is basically a text.
So we can actually use the identifier.
Text is equal to automation tool and we can see if we could be able to hover there.
Yeah.
So for doing that, I'm just going to do this.
So instead of doing a click operation, probably I'm just going to perform a whole operation.
So dart just a pitch.
Oh you can see that there is a whole method comes in and for this whole I'm just going to remove all
these guys and I'm going to use text is equal to.
Automation tools.
I'm just going to give you a shot and see what's going to happen, basically just going to save this
guy and instead of closing these, because if I close this, you can see what's really happening.
I'm just going to come into this court.
And if I'm going to execute this test, let's see what's going to happen.
Do you see that the whole operation just got performed there?
So I just called the whole method and I specified the Texas automation tool because I know that automation
tools can be identified using that text, which we learned in the earlier section, it is working fine.
So this is really, really cool.
I mean, we could be able to do the whole operation just by using a stick.
So this way we can make sure that our code actually works with the whole operation as well.
Now, next video, we'll talk about file upload and we'll understand how things work.