1
00:00:00,640 --> 00:00:05,050
All right, so in this lecture, we are going to talk about the whole operation that we are going to

2
00:00:05,050 --> 00:00:10,330
be doing so far, doing that, I'm actually going to take one of the website, which I always try to

3
00:00:10,330 --> 00:00:15,610
use for whole operation because it's super easy and super good to work with.

4
00:00:16,240 --> 00:00:24,640
So if you go to the execute automation demo site, just search the Google, probably end up over here.

5
00:00:24,640 --> 00:00:27,400
The demos dot Amazon.com.

6
00:00:27,760 --> 00:00:33,190
So you can go to this website and you can see that we have an over operation on the menu over here.

7
00:00:33,190 --> 00:00:37,560
So you can see that just if you just hover there, it just comes up there.

8
00:00:37,930 --> 00:00:38,410
That's it.

9
00:00:38,410 --> 00:00:39,230
That's in place.

10
00:00:39,240 --> 00:00:40,900
So this operation is what we're going to be doing.

11
00:00:40,900 --> 00:00:44,170
Again, whatever operation is something, you should avoid doing it.

12
00:00:44,350 --> 00:00:51,340
But right now, with the available automation testing services, they always automatically do whole

13
00:00:51,370 --> 00:00:52,150
operation for you.

14
00:00:52,180 --> 00:00:58,560
So if you use this project or if you use in test or if you use any other tool like Appley Tool.

15
00:00:59,740 --> 00:01:06,790
Applied test or AP test or something like that, they always they already have the whole operation taken

16
00:01:06,790 --> 00:01:08,000
care for you automatically.

17
00:01:08,020 --> 00:01:11,670
You don't really have to specify that they're doing is actually doing it for you.

18
00:01:11,680 --> 00:01:13,510
So that's pretty nice to see that.

19
00:01:13,750 --> 00:01:18,790
I mean, for our testing, because we are we are going to run within our local machines with our local

20
00:01:18,940 --> 00:01:19,480
system.

21
00:01:19,850 --> 00:01:25,650
We do really require this kind of capability within our test and we need to have that in place as well.

22
00:01:25,930 --> 00:01:27,250
So we are going to do that.

23
00:01:27,550 --> 00:01:35,470
And once again, guys, we can try doing our whole operation using the playwright Clay, and we can

24
00:01:35,470 --> 00:01:40,990
see if the playwright said I could be able to do it for us because we have never seen the playwright

25
00:01:41,350 --> 00:01:42,130
doing it for us.

26
00:01:42,130 --> 00:01:48,960
So I'm probably going to do use our playwright Clay, and we'll see how it actually works.

27
00:01:48,970 --> 00:01:57,030
So I'm just going to go and be playwright Clay after Corrigin and the site is going to be this demo

28
00:01:57,040 --> 00:01:57,400
site.

29
00:01:59,570 --> 00:02:05,720
I just want to log out this is the site, just going to copy this part of Pasodoble here.

30
00:02:06,380 --> 00:02:07,670
So this is going to call.

31
00:02:09,160 --> 00:02:16,900
Because we forgot installing NPCs playwrite on this particular project, so you can see that once I

32
00:02:16,900 --> 00:02:20,650
do that, it's also going to bring up things for me, which is all right.

33
00:02:20,650 --> 00:02:22,930
And then I'm going to log in.

34
00:02:23,450 --> 00:02:29,110
I'm just going to perform a hover operation and then I'm just going to click maybe specular.

35
00:02:29,440 --> 00:02:31,510
It's performing a click operation, which is pretty good.

36
00:02:31,870 --> 00:02:38,050
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

37
00:02:38,050 --> 00:02:38,580
for us.

38
00:02:38,660 --> 00:02:47,170
I'm just going to copy this code directly and I'm going to create a file name called us over Dot G.S..

39
00:02:47,500 --> 00:02:53,480
So you can see that the whole operation is not actually being performed, even though it claims to be.

40
00:02:53,740 --> 00:02:56,980
So if I tried to run this particular code, we'll see what's going to happen.

41
00:02:57,490 --> 00:03:03,130
So if I just do a logging off so I know the whole Dargis if I try to run this test.

42
00:03:05,290 --> 00:03:10,300
You can see that the whole operation is not going to happen here because basically what the court has

43
00:03:10,300 --> 00:03:15,880
recorded is basically and click operation off the spectrum, but not the holiday itself, because the

44
00:03:15,880 --> 00:03:18,240
playwright itself is not that intelligent enough to do it.

45
00:03:18,490 --> 00:03:23,050
But the test automation services, which I was talking about, they actually do it for you while you

46
00:03:23,080 --> 00:03:24,210
use their platform.

47
00:03:24,550 --> 00:03:27,160
But yeah, but over here it is not doing it.

48
00:03:27,700 --> 00:03:32,320
So we should be telling it explicitly that you need to perform a whole operation.

49
00:03:32,740 --> 00:03:38,710
So far doing that, what we can do is we can go over here on this website and you can see that this

50
00:03:38,710 --> 00:03:42,710
automation tool is basically a text, right?

51
00:03:42,730 --> 00:03:44,980
Like automation tool is basically a text.

52
00:03:45,250 --> 00:03:47,680
So we can actually use the identifier.

53
00:03:47,680 --> 00:03:53,630
Text is equal to automation tool and we can see if we could be able to hover there.

54
00:03:53,830 --> 00:03:54,210
Yeah.

55
00:03:54,490 --> 00:03:57,010
So for doing that, I'm just going to do this.

56
00:03:57,010 --> 00:04:03,100
So instead of doing a click operation, probably I'm just going to perform a whole operation.

57
00:04:03,100 --> 00:04:05,350
So dart just a pitch.

58
00:04:05,350 --> 00:04:10,930
Oh you can see that there is a whole method comes in and for this whole I'm just going to remove all

59
00:04:10,930 --> 00:04:15,820
these guys and I'm going to use text is equal to.

60
00:04:17,180 --> 00:04:19,640
Automation tools.

61
00:04:20,150 --> 00:04:24,350
I'm just going to give you a shot and see what's going to happen, basically just going to save this

62
00:04:24,350 --> 00:04:29,930
guy and instead of closing these, because if I close this, you can see what's really happening.

63
00:04:29,960 --> 00:04:31,820
I'm just going to come into this court.

64
00:04:32,240 --> 00:04:36,720
And if I'm going to execute this test, let's see what's going to happen.

65
00:04:36,740 --> 00:04:41,170
Do you see that the whole operation just got performed there?

66
00:04:41,180 --> 00:04:45,710
So I just called the whole method and I specified the Texas automation tool because I know that automation

67
00:04:45,710 --> 00:04:51,650
tools can be identified using that text, which we learned in the earlier section, it is working fine.

68
00:04:51,680 --> 00:04:52,850
So this is really, really cool.

69
00:04:52,850 --> 00:04:55,620
I mean, we could be able to do the whole operation just by using a stick.

70
00:04:55,760 --> 00:04:59,990
So this way we can make sure that our code actually works with the whole operation as well.

71
00:05:00,240 --> 00:05:03,770
Now, next video, we'll talk about file upload and we'll understand how things work.
