Full transcript of “AI Meets QA: Master Claude Code as Manual Tester / Test Automation(with Ollama)(FREE)”. Click a timestamp to open the video at that moment. Need another video? Use the YouTube transcript generator.
0:00 Yes or no? How many of you have installed? Yes. How many of you have already installed cloud code with Kim 2.4? Okay. Uh CL let me know. Let me check also. I think we are live. All right. Welcome. So I think we are live also, right? Awesome. Great. Great. Great. Okay. Clear. Okay. One second guys. runs again. Okay, awesome. Great. Ch. Good. I think we we are on live on uh comment stag. What is this comment st? Okay. Uh let me remove this everyone with me? Yes. Okay. Let me share my
0:47 screen also guys. What we are learning. Okay. So what we are learning and what we have learned till now. Okay. So I hope everyone is can see me also everything is smooth everyone just confirm in the chat everyone welcome guys welcome so today uh target for us sir what is the target right yes let me open this okay now uh last time so this is what we are learning everyone so we are on the mastering the claw code or open code as well as schemi code uh directly for the test automation point of view right so we are on the target we have covered in the part one if you have not seen uh if you're from YouTube and everything if you have not seen the part one then I would highly recommend you to watch the part one also after this but this is going to be independent this is going to be independent this case okay now what we have discussed last time is
1:34 we have installed the open code yes we have installed the open code we have also installed the ki gold also so ki is something that also we generally use it ki 2.5 is something which is also useful uh you can get the ki right now I have also given you one link to in less than 80 rupees per month which is the first month. For first month we can use it. Open code is free. I think open code provides you a free of cost but limited amount of this. Okay. Then we have cloud code. Cloud code we have already installed. Right. So last time what we have done is we have installed we have the cloud code which is available. We have Kimi code also which is available. And here we have open code also which is available. Right? Yes or no. I think this one is smooth simple thing that we have tried. Right? This one we have seen it. If you don't know how to install it,
2:21 I'm going to give you the link. Don't worry, it's very simple. Uh last time we have discussed if you want to install cloud code, simple instructions, you just have to run this command. If you are on Mac, if you are on Windows, you have to run this command. If you are if you are on Windows Mac system, this is what you can install. So what I'm going to do is I'm going to share this link everyone. So this link installations links, let me share with you again. Okay, everyone with me? So this is installation link. So installation installation links I'm going to give each and everyone okay on YouTube also how many of you want it just type yes in the chat on YouTube also if somebody wants this is cloud code uh this is cloud code on with okay if somebody wants to install clude cloud code with basically means here you
3:08 will have a you will find a free version also okay so clude code with also this is also available let me add let me add one this word. Okay, this thing also let me add this done key spelling mistake. We are going to add it like this. Okay, this is direct load code. If you cla directly uh this one, this will be $20 per month everyone. Yes or no? If you use here you can get it uh you can get Kimi 2.5 2.5 cloud uh which is free for uh certain which is free generally it is free for some time okay then you have open code everyone so we have a open code also
3:54 which is open code open code is almost free almost free here also you will find kimi 2.5 uh which is again free mostly provided by zen okay Second one directly also you can install. If you go to Kimi code directly you can directly install KI also right. Uh this is KI KI code all of them are actually replica everyone. Okay. All of them are replicas only right and it is also 2.5. Uh you can get for first month. For first month everyone for first month you can get it for I think $.99 also. How to get it for $99 $99? uh go to kimi.com and chat with him. Chat with him. I think I have given
4:40 the link also how to chat with him right yes or no. So let me share it again to start with everyone with me. I hope everyone is give me yes in the chat. This is just a revision just a revision what we have done what we have discussed till now. So why we have installed this? Okay sir what is the reason for that? The reason we are using CLI tools is because we don't want to depend on cursor. We don't want to depend on any other one. Yes or no? So this is where you will get you will get a offer everyone for.99. So if you're use if you are from Kim code you can get the 99 offer from here. Let me share this link with all of you. Okay. So on the chat also on the zoom chat also I have shared as well as I'm going to share this into a uh one second. Okay.
5:27 Uh let me share this into a go YouTube also everyone. Okay. YouTube also notes I have discussed. So that everyone is able to see that okay everyone will be on YouTube also please confirm yes in the chat if you can see everything right let's go back sir this is the installation links that we have done right so again your choice your rules whichever you want to use it sir I want to use cloud code paid version if you want to use paid version $20 per month uh cloud code with Olama if you if you are using withama or generally it works with GPT 20 billion1 If you have uh around if you have a 16 GB memory or more then it works free almost free in this case open code uh almost free with
6:14 Kim 2.5 okay directly also you can install all of them are as so you can see here I have installed all of them we have cloud code KI code as well as open code how many of you are with me give me yes I have installed all three just to show you that this is absolutely possible so you can use whichever you want to I am right Now in which folder I am right now we are working on this folder. Now this folder I have also opened into anti-gravity also everyone. So this is the folder which we are working on everyone. So this is a folder which we are working on. I have opened into a anti-gravity also or visual studio board whichever you want to use it. Now the advantage of anti-gravity is anti-gravity also provide you access to other models right. Yes, anti-gravity also provide you access to other models
7:00 also which you can use it side by side whenever you want to use it. Okay, but our focus first will be sir how to master clot code first. Okay or oki code or open code. Now the master we need to become a master of first one then all of them are very similar right. So if we talk about first thing we have discussed is init. If you remember what does the init do? Init command will basically give you idea. It's like a what exactly is present into the folder. So init command basically works in a similar way where it will analyze. It will analyze what exactly is present into this folder. So if you remember in this folder we have end to end test case that we have written for playright everyone. Yes or no? If you are from right this is what we have written last time we have
7:46 created by using the QA skills that we have created. Okay everyone with with me till now give me W in the chat sir if you are with me know. So we have created this till now. Okay so good. So init command basically will give you what exactly we are doing. Similarly in the kim also we have a same command init. Okay. So if you do same same init command is here also. Okay. Here also you will see that here you are a software engineer expert program explore the project and everything. So it is going to run the same thing right and I can do approve this case. By the way, when you do init, whenever you do init, Kim will give you the instructions also. Key what what I'm running in instructions. Yes or no everyone? So, Kim is very smart. It is actually telling you, I am going to run this prompt. I'm running this prompt
8:32 actually. Yes. So, whenever I say init command, it is nothing but a prompt that which is running here. Similarly, in in code also here, we have if you type /init, we have a same command. Everyone now please remember because all of them are inspired from the cloud code that's why the commands are very similar. How many of you got it? Give me G in the chat. All of them are actually inspired from the cloud code. Okay. That's why the commands remain almost similar in all of them. Okay. So if you do init command right now automatically open code also will try to understand key what is going on into the project. So it's a it was a playright end to end framework. Yes or no? So it is telling you that okay based on my analysis it is a playright end to end framework I will create a agent MD file for you. Agent MD
9:18 file is just a file which which open code can read it and explain you better. Okay. What is it? Okay. By the way here if you see we are using kim K.2 Kim K2.4 free version from the open code. Okay. So these are inbuilt commands right? Absolutely command. Okay. Now this is very similar to if you say if you say planning and if you say can you please analyze analyze the folder for me and let me know what we have in the folder. How many of you got it? How many of you got it? So init command is nothing but like this. This is a prompt which is similar to init command. Yes or no? But why we are learning commands? Anyone has this question sir? Why we are learning
10:04 commands? Because please remember working with CLI is always faster as compared to the normal one. Yes or no everyone? Yes or no? Working with CLI is always faster as compared to the UI tools. Number one. Number two is you can spawn multiple versions which means I can have same I can have multiple versions. Everyone I don't know if you guys know this. See I can have like this. This is like five agents which are working. Everyone with me? Give me yes in the chat if you're with me. Now I can have multiple five versions. Five agents will be working on same directory. How many of you got it? What I'm trying to say? Let me tell you what I'm trying to say. I am trying to say the directory which I am working on. Okay. Now here in
10:50 by using the CLI option by using the CLI option if you see right now we are working on this everyone yes or no. So this directory we are working on. Let me show you which directory we are working on. Uh what was the directory name everyone? Uh let me check. Okay. So let me show you what I'm trying to say. I am trying to say so the directory name directory is cd uh documents take not tech sorry uh learn AI and then we have learn code right this was the directory which we are working on. Yes or no everyone? Now by using this I can spawn multiple versions multiple coding assistant. Yes or no everyone? I can have multiple coding assistant. How many of you got it what I'm trying to say?
11:37 Like almost five of them are working parallelly. How many of you got it? What I'm trying to say? Five of them can work in this case. Five of different agents can work different work can work on same directory. Everyone in the same directory in this directory only in this project only we can have five different coding assistants working together. Isn't it awesome? Isn't it awesome? Yes or no? But here we have one to1 everyone. Here if you see we have a 1:1 you chat with him. You chat with him and it basically modify. So this is one to one. Yes or no? Yes or no? Everyone how many of you got it? Give me G in the chat. It is one to one. Sir, we are doing something. It will do something. Yes, this is 1 2 1 right here in this case if you see this I can give multiple
12:25 task here if you see here here I can give first task to this second task to this third task to this fourth task to this and sixth task to this yes or no sorry fifth task to this how many of you agree with me yes or no I can give like five plus task to each and everyone to work on the different different things that's why people prefer CLI option now you understood Parallel execution, parallel coding, parallel documentation, parallel fixing, parallel debugging. Now you understood how many of you understood key why people prefer CLI option. Why people prefer to use DSL option? Because now you can have five people who are working for you. Isn't it? Isn't it same that okay there
13:11 are like five people who are working on us working for us. Yes or no everyone? Isn't it same? For example, here I can say, so for example, see here I can say that okay uh do one thing here I will say that okay you are a SEO expert can you please start like something here I mean you can say that okay create a test case here for example you can give it for example test case creation for the task here you can say that okay documentation creator here you can say code reviewer here you can say that okay do CI/CD for my project here And here you are developing. So this is why it is important. Now how many of you got it? Give me G in the chat. Okay sir, I got it. What you are trying to say? You can have multiple versions. All these are coding assistant or coding agents which
13:58 will be working for you on the same directory. Okay. So the first command we have learned is was the what was that everyone? What is the first command that we have learned? So you can switch back. You can switch to different different ones. Sir I can switch to this here here. I can switch to by the way if you want to exit so you can s do exit and click on exit it will close so I can say close exit exit and exit exit will close this this okay so I'm I'm just going to close all of them okay I don't want them everyone yes or no close now we have only one okay now we have only one project which is working with me I I hope everyone is with me so now we have only one which is working for us similarly we have Kim also so if you see Kim Kim has also figured it out. Okay,
14:43 what you are working on? So it has read the file. It is saying that okay I have read the file. I can understand that also you are basically working with the playright project. So it has also figured it out we have worked on playright. Okay. Now the second command which we have discussed everyone. Second command was second thing we have discussed was basically exit. We have seen we know exit also exist right now. First thing you can do is plan mode everyone. So if you do shift plus tab everyone if you do one second if you do shift plus tab you are in a plan mode if you do shift plus tab again right if you do it becomes a edit mode so this one also we have discussed last time first of all similar to this everyone similar to this option planning planning
15:30 basically means I will only plan I will not create a code how many of you got it give me G1 in the chat planning basically means I'm I'm just going to plan I will not create a code code mode create okay but when you say fast mode or here we have edit mode whenever you do a edit mode edit mode will start coding also okay for example if I say plan mode so I will just say shift and tab so right now I'm in a plan mode so I can ask I can ask how many test cases it has this is a plan mode yes or no so if I have asked how many test case this has this is in a plan mode if we are having a discussion right Now no file editing and everything is available. Okay, this one is clear everyone. I hope this makes sense. So this was about the plan mode. So if you
16:16 if you go with the one by one everyone. So first one is the first rule that we have discussed is run from the root directory. Make sure that you run from the U directory everyone. Yes or no. Make sure that you run from the clear directory. Init command is basically for init. Then we have discussed about clompt file which is like a readme file. It's like a global file which basically give you all the project level information. Then we have keep keep this file in under the 300 line. This we have discussed also. So window may be same command right. Yes, it will be said. Okay. Now structure and validation right. This is uh what basically you just mention everything properly into cloud code. You can modify the cloud code also. Then shift toggle for plan mode as well as autoedit mode. Right? Escape to cancel it. For example, if I
17:03 type something guys, if I type something and if I don't I don't like it, I will just click escape. Right? If I type longer version, I don't have to do it. Delete, delete, delete, delete. I will just say escape escape. Okay? With me? So, by the way, it has told me that okay, there are this number of test case exist. Okay. So, this was the command. Now, double escape will delete this. We know screenshot and drag. So, sir, I want to basically this is a screenshot we have taken everyone. Now I can drag the screenshot everyone. So this is a screenshot. I can directly drag it here also with me. So we you can drag a screenshot also key. I don't know what is the problem with this. Similarly in the kimi also we can have a screenshot everyone. So suppose you have a screenshot you can also drag the screenshot here. Screenshot
17:49 automatically dragged here or you can give a path also in the open code also. If you see let's suppose if open code supports the dragging here if you see dragging is possible right? So open code supports it. Kimmy does not support it properly. I'm pretty much sure it does not support properly. But let's see. It has provided file load found. Right? So you have to give a proper path in this case. How to so for Kimmy it is pos. Let me check if there is a command of image or something we can give. No. Right. So there's no command actually we can give for so Kimmy has a problem with drag and drop but claude code can do images also. Okay. Now in case of directly here also we can attach media. Yes or no? Everyone yes or no. So if you're using UI option sir I want to use GitHub copilot and
18:34 everything there also we have an option of media everyone with me give me yes n I'm with you. So here you can have this thing also media also can be available. So I am showing you all the models everyone you can use it here also you can use the CLI option also and after this session everyone let me tell you after this session you you will all of you will be working on CLI mode. Trust me, CLI mode is the most powerful mode. I'm going to show you with demo. Okay, with me with me. It's the most powerful mode. Powerful. It will make you superhero. Okay, it will make you superhero if you start using it properly. Okay, now the next thing sir, clear command. Clear will basically clear everything. So if you use clear command, okay sir, clear.
19:21 Clear basically means everything will be deleted. Fresh, totally fresh. Similarly here also we have a clear command. Do we have clear command? Yes. Clear the context which means everything will be clear. It will forget. It will forget what we are doing everyone. So if I say clear again here also we have a clear command. Same clear is almost similar to new. New basically means it becomes fresh automatically. Everyone fresh. It does not know about your project now. So gaji right everyone? Yes or no? It's like gaji forget about everything. Now fresh start totally fresh start. So clear command is clear with me. Next command is called as context. Okay. So this is there's something command called as context. What is this context means? Context command basically means it will
20:08 basically tell you what are the things which are available into my memory. So cloud code also store the whatever you are doing whatever the task that you do multiple time it can store it can store what you are doing. I I'll tell you a very simple way. Everyone see if we talk about let me tell you very simple way. Okay. Now suppose if we have added a skill. Now the skill is how to create a uh for example let me show like yes. Okay. So how to write a playright API test everyone? How to write a playright API test? I have written a very beautiful way. Okay. So if you go to qaills.sh SH okay if you go to QA go to
20:53 skills option okay suppose we will search for API okay we'll search for API and we have playright API okay now everyone so this playright API if you know this is the information that it contains it contains a big prompt what is a context everyone context is nothing but a big prompt that you add for example if I said if I ask you can you write a test case of playright what what is a prompt that you are going to write tell me in the chat everyone you are going to open the chat GPT and you will say that okay uh tell me how to write a playright API test case how many of you are going to do this give me yes in the chat sir tell me how to write a API test case yes or no this one I'm going to write or I will go to here I will go to my
21:39 anti-gravity or I will go to my GitHub copilot and I will say that okay can you please can you please can you please tell me how to write the API playright playright test case. But this is what do you think guys? This is the best method. Do you think this is the best method? Absolutely rubbish method. Yes or no? Absolutely rubbish method. So if even if you see this, it is telling you something but absolutely rubbish method. Yes or no? The best method will be you take a help from already people have returned this everyone. So there are people who have returned the skills. Skills are nothing but pre-made prompts. How many of you are clear? Give me yes in the chat. These are pre-made prompts
22:27 which are created in a proper way like riceport method. If you know in the AI tester blueprint batch, I don't know if you guys remember this. How many of you are from uh the batch? How many of you are from the batch? Everyone. So if you are from the AI tester blueprint batch, you know that we cover rice port method. Yes or no? We cover a rice board method to create a to create a proper right to create a proper skill. So this is the proper skill. You are a QA automation engineer with the API testing with pre-built and AI context. When your user asks you to write a review or something, right, you need to do this. This is the folder structure will be. This is this is how the folder structure will look like. This is how the code will look like. Can you see that everyone? Yes or no? Everything is written. Best
23:12 practices right make sure and CI/CD how to run CI/CD and everything you need to right yes or no. So this contains full details. So either you have two options either you copy this everyone they go now either you copy this fully this becomes a context. Yes this become a skill. So either you copy this. Yes sir. I will copy this and I will copy this like this and I will now go back to my here and I will type this. Yes or no? Either you do this. Either you do this sir. I will basically do this sir. I will copy paste. I will copy paste and click on enter. How many? If you're with me, give me yes. No chat. I will do this. But this is a not a logical way. Yes or no guys? This is not a logical way. You should teach because
23:58 this is a task probably multiple times you will be doing it. You will be multiple times adding this API test. Multiple times you will be writing multiple test case in this case. So every time you are going to write this guys every time you are going to write this tell me no that's why you will use a skills so what you will do you will do only one time what is it so if you run this command if you run this command automatically yesterday also I have shown you if you open the prompt if you open the new tab if you have installed the NodeJS you just have to in enter the command everyone copy this command right and put it here. Enter. Now it will add the skill into your cloud code
24:44 automatically. So it will figure it out which one you are using. Are you using cursor? Are you using CLI codec cli? Are you using Gemini or are you using cloud code? Which one you are using? So suppose I would say that okay I'm using cursor example I'm using cursor. So automatically it will I will just select it and it will add the skill. Skill basically mean it's nothing but a file. So now you will see in the cursor in the cursor rules automatically this file is added. So now your cursor will know how to write playright API test case. How many of you go to give me gin the chat? So it is very similar to that. Previously we used to create a prompts everyone yes or no. Previously we used to create a prompts by ourself but now you don't have to create a prompts
25:30 because there are hundreds of prompts people have already created for you that you can directly use. How many of you got it? Give me G in the chat. So hundreds of prompts people have already created for you. These are ready to these are ready to use that you can use it. Yes or no? For example, if I want to install I want to run let's suppose I want to run snapshot testing. I want to do snapshot testing, I can use this. Okay. So, how to use it in co-pilot? Same way, same way. If you have a GitHub copilot, if you have a GitHub copilot, everyone, what you are going to do? Same thing you are going to add. For example, here you can see it is doing it. But uh we will not do that. It is going to add lot of test cases in this case. Okay. So, we were discussing about the skills
26:16 as of now. How many of you are with me? Go back to the skills again. Okay. So, now these are the skills which are already added. Now everyone please understand my code knows how to do SEO, how to how to run YBM test cases, how to run even security test cases and everything. Can you see guys? My claude knows everything because it has all the skills but your claude does not know. My GitHub copilot knows all the skills but your GitHub copilot does not know. How many of you now got it? What I'm trying to say it is very similar to that suppose both of us are going for war. I have a skill. I know how to I know how to use AK-47 also. How to use bazooka, how to use handgun and how to use ste command. This is skills. But you know
27:03 only how to use handgun. Now which one is better? The more skills you know everyone. The more skills you know the more better it will be. Yes or no? That's why we are installing this. Okay. Got it. So they have a memory bank now using the context file. Absolutely you are right Tusha. So they have nothing but a pre-made skills that you are teaching to AI agent. You don't have to teach him again and again. Okay. So when you install this skill for example I have installed this skill uh which is let's suppose agent browser agent browser then my cloud codes knows how to open a browser how to go to Amazon how to do something. It knows but your code will not know your open code will not know your codeex will not know.
27:48 Okay sir client and uh cline and codex also support these skills right absolutely everyone so if you see all of them supports this so cloud code cursor github go p- pilot winds surf codex adront continue clin zio bold new all of them are supported everyone with me all of them are supported support skill.md file is something that every most of them supports okay most of them supports how many of you are with me give me yes s I'm with till now with me that's why it is important that we should understand key how this works so the next command which we are learning let's go with the next command so next command we are learning is let the auto comp let's command is context so context basically means if you say context if you say context right
28:35 so context basically means visualize the current context so if I say this if I see this here it is telling me that okay these are the context file it is telling me that now what exactly code is telling you cl code is telling you I have the custom skills I have more than 100 plus custom skills I have more than custom skills right plus system prompt plus custom agents memory files more than 2.5k skills messages free space and automate basically it's a way where agent is telling you how much mature I am everyone it is a way to tell you how much mature I am my agent is very mature. Yes or no? And your will be very immature. How many of you got it? So
29:21 when you first run it some first time, you will not have hundreds of skills. So I have basically increased him. I have teach him continuously. Now it becomes more and more like me. Yes or no? The more I will work with him, the more he will become like me. He will understand what are the skills I have, what are the uh different memory files that I have, how many skills that I have basically learned. Give me yes in the chat if you understood what I'm trying to say. Right. So here my agent actually knows everyone. So my agent know how to write a cyber file. Everyone how to write a cyber J test playright end to end test case play uh pi test wipe test YBM agent browser all of them. So my brow my this guy my claw code open code or kimi code
30:09 all of them are very mature as compared to yours. But if you if you all of them install this everyone if you install all of them then you yours will also become good right yes or no yours also become good right yes absolutely yes okay so the next command is model everyone what is the model command everyone so if you type model you can select which model you are using so I can go with oppus 4.6 six I can se select sonet also I can go with hiku also similarly in the kimi also you can have model command so if you do model kim does not have any model so only one model is supported everyone so if you go to open code if you select model right here you can switch between the different model for example kim withama kim with zen big kipple miniax
30:57 all these are free models free models okay Now sometimes so next thing is by let let me go with default which is opus. Okay now suppose I'm working everyone so suppose I was working uh let's suppose if I say that okay can you please create a full SEO strategy or let's suppose not SEO strategy this is not a marketing uh session everyone so escape escape can you please start working on my end to end test cases I want you to write thousand plus test cases on the app.wo.com ww.com suppose I have given this task everyone okay with me everyone with me give me yes inside I'm with you now it is working so it is start working thousand test cases right now I have to write thousand test cases now what I can
31:42 do is suppose there is something happened I interrupted it I interrupted it I went to uh outside my computer were logged and everything then I can use a command which is resume how many of you with me so if I use a command resume it will start working again so it will tell me that Okay, which one you want to do again? So these are the stage that I know which one are you want to work on it. Similarly, if you see in the open code also we have a resume command. So resume here we have review changes. So resume is not there. I think we have another name. Let me see what is the name that we have connect. We don't have that review. Review changes. I think there's a command that we have. So if you see there there is a little bit changes. Yes or no to to change? I think here
32:29 on only. Okay. So here do we have resume command? No. Here we don't have a resume command also. So they they also don't have a resume command. Okay. Anyways, so we'll move back to next command. Uh we have MCPS. If you want to add a MCP which is model context protocol everyone. So MCPS is also there. Second command if you select right. No MCP configured. You can configure the MCPS also. So by the way suppose I want to add a MCP of playright. Okay. So I would say MCP- enter. So it is telling me that okay no MT MCP exist. No MCP exist. So I would just say that okay can you please add the MCP for the playright. Okay. Can you add a playright MCP? Right. It will add
33:14 the MCP automatically in this case. Raindra is asking sir very good question. Okay let let's take one question from Ravindra. Ravindra is saying sir uh npx qsaql cla add playright option for this command it will not show the open code. Yes still it does not recognize open code as of now I have to write a code [laughter] to I will write a code for it but as of now you can save the file into the into the root folder of open code. So open code also have a root folder everyone. Okay. So you can store their file here in this case. Okay. So here what you can do is you just copy paste here raindra. Okay. Whatever we have copied right if you remember we have copied this part longer part that we have right you can
34:00 copy paste here right as of now copy paste will work this part we have copied right you remember we have copied the from the QA file h same thing I have just copy pasted here. Okay. From here I'm talking about from here I have talking about. Okay. So this is the skill for example. This is the one that we are working on. Yeah. So this one I have copied over. Okay. Now difference between the MCP and skill what difference? It's very different. Okay. MCP can access the tools also but skills are just a way to interact. It's a just a normal MD files. Okay. Now for example here if you see Kimmy uh in Kim is not working actually here you can see it is telling me that okay I have found the MCP of playright. Now what is the
34:46 MCP everyone? MCP meaning here guys. What is MCP? I have already explained the MCP very well in one of the tutorial. Everyone if you have seen my uh sessions if you go to sess uh go to testing academy one of the session we have already covered this right? We have already covered this uh somewhere MCP MCP uh uh uh somewhere we have covered right model context protocol we have already discussed this here which is model MCP how MCP works right so but in a nutshell in a simple way I will tell you MCPS are nothing but a way to communicate with the playright to give instruction to the playright for example right now this is a claw code which we are working and this is a playright server they cannot
35:34 communicate with each other but they can communicate with each other by using the MCP so clude code can directly give instruction to playright if there is a collection between the MCPS okay not only this I can give MCP of Jira everyone can I give Jira MCP also how many of you agree with me I can give the Jira MCP also it will connect it will also connect from here so if I give Jera MCP connection Also it will also connect for okay how to connect it at launchion MCP right absolutely right let me show you first of all I will show you playrite MCP so it is going to install the play rate MCP it is say cloud code cannot launch this inside the another code session let it do so I cannot run the command from the session you need to run this separately so what I'm going to
36:20 do is I will just open it here and I will add command load code MCP now it has added the MCP into this okay so now if I if I ask do you have any MCP enter it is it is telling me that okay I don't have any MCP right now okay but okay so here you can say file modify we have already added in the cloud JSON file users so we already have a file available let me check if you open it uh no no we don't want to open it okay can we open this uh somewhere else okay so I think let me check okay I have added the NCP of playrite. Okay. Can you check? Okay. I
37:05 will ask him only that. Okay. If if you are able to access it or not. Let me check. Okay. Searching a pattern. Okay. So, it is going to search the pattern. I think he will be able to figure it out. Let's see any questions as of now. S on resume uh on YouTube. We have a question. on resume will the resume on this spot or where it stops or interval where it is stopped. So resume will basically /resume command will resume from whenever he you have saved it the previously for example generally what you you generally what you do is you save your pro progress also. So resume generally is a command whenever you type resume right if you say resumes
37:51 a previous conversation that you have. So previous conversation maybe after like 5 minutes before that you have. So it is telling me that okay I found the issue the play rate MCP was added to promote project okay but the current project is this right which is MTV servers right it is telling me that okay can you do it from this folder to folder it is telling me that okay please go to this folder first okay so let me go to cd learn AI learn AI this and now let me add this okay so now it is added now I think it is added so can you check Now I have added the MCP. Okay. So now we have added the MCP in this case. Okay. With me? Everyone with me till now? Give
38:36 me a second. So we have added the MCP. Now from this folder only. So if you ls if you do ls you will find a file. You will find a file that okay. Yes we have done addit. Okay. Right. So here let me check if we have by the way. By the way, if you are using the anti-gravity, if you click here, you can add MCP here. Also, if you are using anti-gravity, we have a play rate MCP already here. Everyone go to manage server. Here we have a play rate MCP already. You can add it here. Okay. So, you I know UI wise is very simple. Yes or no? Everyone UI wise it is just a normal file. So, we have a normal file that we have, right? That's why so here but here in this case it is little easy. So it is saying that
39:21 okay now we have configured I have configured it now you need to restart the cloud code session for the MCV to activate okay so let me say re do we have restart do we have restart now so I just have to exit so here what I will just say I will just say compact okay compact basically means save the uh so here I will say that okay mcp of the playright added it's like saving I am just saving the convers conversation how what we were working on. So I think uh John you are asking this right? So I have just compacted my conversation that okay I I am working on this now I can resume from this if I want to. Okay so it is compacting the conversation and after that what we are going to do we are going to do clear. Okay clear basically
40:08 means we will clear everything. We will close the session and start it restart it again because whenever you add a MCP we need to restart the session of code. Okay. So compacting is taking time. Let it do let it do little bit in this case. So let's see how we can add MCP here. So if you see MCP it is telling me that okay we can we don't have any MCP here. Okay. So here also I will ask him key how can I add the MCP in the open code. Okay. How I can add the in the open code? Please let me know. So it will tell me how do I add it? Okay. So it is finding key do we have any files or anything. So now I understand user is asking open code assistant note this
40:54 right. So it is telling me that okay how to add MCP. Uh he's telling that okay you can add a MCP like this. Add a MCP like this. Create a file. So it is telling me that okay you need to create a file uh with with this you can create a file and add like this. Okay for example this is a GitHub MCP that we have. So create a custom MCP server that we don't want to do by the way. But you here also you can add a file but as of now we'll stick with cloud code. Okay. So here I'm going to say exit because I have to restart the session. Yes or no everyone. So exit and let me restart again claude from the same same one. Okay. Now I would say resume right? Resume a resume 9 second before. So 9 seconds before when we have done clear I'll just go back. Okay. So
41:42 it is telling me that okay bye. Okay. So can you check if you have the playright playright MCP configured? Okay. So I'm just asking him if you have a play rate MCP configured. It will say that okay yes or no. Do we have it? Yes or no. Right [snorts] now so it is telling me that I have all the ones. I have all the player at MCP and these are the functions or you can say these are the things which are available I can use them. So now very interesting thing you can do guys I can tell him can you please open the app.vlo.com and enter the dummy username and dummy password in email and password and click on the submit button and verify if the
42:28 error message comes after 3 second by using playride mcdp. How many of you are with me? Give me yes. Now I am telling him to use the playright MCP. It is going to automatically do that. So cloud code will use the MCP to interact with with the playright which is running on my system. So it is telling me that okay let me do this. Okay. So automatically it will open the browser. Can you see that everyone? Yes or no? So clawed code right now controlling the browser. Can you see that everyone? Yes or no? So here I will say that okay please allow me automatically allow. Automatically it has entered the details. Yes or no? It is controlling if you see properly it is controlling the browser automatically with me. How many of you can see that it is controlling the browser now completely controlled. So here you can
43:14 see that okay it is taking a screenshot also to show me properly I have communicated. I have got the error message also. Now we are done. So by using the power of model context protocol clude code was able to communicate with playright directly directly communicate everyone. It it has directly communicated right so it is telling me that okay I have found the error message I have found the error message which was this right uh this was the error message which was displaced okay now let's do one thing let's do few more things okay somebody is saying sir can we okay let me do let me ask can you please give me the locators of the email id and password and sign in button give me the perfect locator which you think
44:01 should be added and what will be the code into the TypeScript playright this is what you want Narendra yes or no this is what we want right so it will now it will because we have a browser open already so it will now figure it out okay let's see what we can do okay so it is saying that okay I will evaluate by using the playright MCP let me open the playright MCP okay uh it is going to evaluate and ask a question so let it do the magic okay let it do the magic Now everyone try to understand now what is happening in this case. So it is now using playright mcp to get the locators automatically. Okay locators n it is basically trying to fuel or get the locators automatically your code has the
44:46 access of playright mcp or full control of playright. Now in this case okay it's going to take time it's going to take time. Now by the way same thing can be done by using open code and playright. Same thing can be done by Kim code with playrite. Same thing can be done with anti-gravity with this. Same thing can be done by GitHub copilot with the VS code also. Everyone get clear with this point. Raindra Raendra can you see that yes or no? So it is telling me that okay this is get by label get by label I'm able to figure it out and this was the locator for this which I have figured out automatically. Good for this. And not only this, it has also created a script for you. Yes or no guys? Yes or no? But sir, can
45:32 we go further also? You can everyone. Now some some people think sir it is it can only automate login page or dashboard page. We are using playrite NCP server with cloud code or kimi code or open code or anti-gravity with directly Google gemini or argument with visual studio code or visual studio video code with github copilot where we are able to automate a complex workflows. How many of you voted give me g in the chat? How many of you understood? very complex logics also both complex we have gone with very very complex in this case also if you sir it is taking 2.5 2.1 tokens is it okay to consume these many tokens for this right 2.1k is nothing 2.1k okay so
46:21 they just saying sir it has taken 2.1k tokens so let's see what is the cost h how many of you want to see a cost Yes. What is the cost? Everyone please remember 1 million token is around I think claude code is 1 million token is around $1. I think 90 rupees. Okay. 1 million everyone which is almost equal to 10 lakh just I think it is more than that. Yes or no? So 1 million token is 90 rupees and by the way uh companies are providing free of course GitHub go. Yes or no everyone? Sir, can you show how to perform the same thing by using GitHub copilot bill? So, open Visual Studio Code. Everyone open Visual Studio Code.
47:07 Okay, with me open the Visual Studio Code. This is the Visual Studio Code that we have right now. Let me open Copilot also everyone. So, if you click here, you will see a copilot here. This is a co-pilot build with agent and everything. Three dots. Uh, click on this icon. MCP server. Do you see that? Ashi Sharma MCP servers right here we have MCP servers all the MCP servers now which MCP we want to use playrite playrightina playright MCP right so playright MCP I'm Google right we will basically say playright MCP this is by some I think this is playright somebody has created this I think this is not uh original one but let me try if we can use that okay this
47:55 is by Vijay Nurmal Indian So I think this is a playright relay provider browserility and everything. Okay, let's see. So we'll go to MCP server again. Okay, let me close this. Okay, now uh in this MCP go to the MCP servers again. Okay, so installed. So it is telling me that okay, this these are installed by the way. Playright woman is also installed. Open this. Uh let me see how exactly it look like. Let me check. Okay, let me check. So let me ask him here. Uh are you able to fetch the playright MCP? So I will ask him. Ashish I will ask him are you able to fetch the playright MCP? Let's see. Okay is right.
48:43 I have asked him only do do you have access to play rate MCP? Yes or no? Okay. So let it is telling me that okay let let's see [clears throat and cough] okay I think he has not able to do it because I'll tell you what is the reason everyone reason is yes guys we are using the most underrated model which is GPD find mini [laughter] at least we'll go with if you go to manage models they don't provide you any kind of good model everyone yes or no by the way by default I don't have a for example haiku we can use by the way haiku is good haiku has a good way also
49:30 take can we switch to haiku yes I think yes so I'm going to ask again uh please add the playright mcp okay please add the play mcp let me see if it can add By the way, let let's open a folder. Okay. So, it is important that we should open a folder because this guy will get confused else. Okay. Anyways uh let me close all the files. Close all the files by by default. By the way, guys, I don't know if you guys know this, but you can create a do GitHub folder. Okay, in the GitHub folder,
50:16 let's create a uh let's let's see. Okay, let me ask him here also. This is Haiko plan mode. Okay. Uh can you please add the playright MCP into the project? Let me ask him if it work. Sir, can we use playright agents provided by the We can use that Rahul. We can use that also. Okay. How to use planner, healer and generator, right? I think one of the demo I I have already shown you. So it is basically trying to fetch the player at MCP. Okay. I can give him also by the way because if because this model is very slow. Yes or no? This model is very slow. We can go go to Google. We can directly go to official website and give him by this one you can use. Okay with me. Here we can have direct options
51:03 also. By the way if you go to official website here you can find all the options. So which one we are using everyone? VS code. VS code use right? Yes or no? So by using VS code is telling you just have to run this command everyone. You have to just run this command and VS code may automatically add. So let's see. Okay. Uh so it has by the way it has also figured it out. Okay. It has also figured it out. I'm pretty much sure it has figured it out. Right. So let me run this command. So go to terminal new terminal or go to terminal and enter this command. Okay. So what what is the problem? Let me check. Uh let me check. Okay.
51:50 But why this collab evaluation? No module name evaluation and everything. Okay. H we are not able to add it by the command line. Okay. Let's see if this guy can do it or not. Allow. I think the e one one of the easiest way is I'll tell you what the easiest way is. Okay. If you I think uh go to the playlist and say I think we we can create a MCP dot JSON also right yes you are right you're right VS code difficult I think okay let me check if we can do that open Visual Studio Code button by the way I've clicked on button let me check if we can add it oh okay okay okay now it is done everyone so I have clicked on this install into in the work workspace let me click on it done guys
52:37 so this was this was it okay So the easiest way I think we have figured it out is which one? Easiest way is by clicking on this button. [laughter] Yes or no? So click on this button install into VS server like or this right. I have clicked on this button. What exactly it has done? It has created a it has created this everyone. Let me close. It has created this file a its folder. In this folder MCP is there which is played MCP. Now this guy can use it. Okay everyone. So, let me reject all of them. Okay, I don't want to use it now. I think this guy Oh, by the way, this is anti-gravity. Let me close it. Uh, where is uh one second where are you?
53:23 Here is the one. Okay, skip it. Stop it. Let me stop it. Now, this guy has the access. I will say that. Okay. Can you please open the app.vidlo.com by using the play rate MCP? Okay. Let me see if it is working. Okay. So now please open the app develop by using the play rate MCP. It it it will know now how to use it. Okay. Because we already have given him M MCP connection. Okay. By the way, make sure make sure we go to agent mode. Everyone make sure we go to agent mode, not the planning mode. Because if you are in planning mode, it will not execute. Yes or no? Yes or no. Make sure you are in a agent one in this
54:08 case. Okay. Okay. So let me run it again. Let me stop it and let me run it again. Okay. Please open the app. Using the playright. Now we are in a agent mode. So automatically it will do. Okay. So optimizing the tool selection. So it will basically trying to find if you have the playright mcp connection. Yes or no. Okay. So it is telling me that okay I have figured it out. I'm reading the file. Let me open the file. Okay. Done. Yes or no? So now you can see GitHub copilot is also controlling everyone. Yes or no? Done. So GitHub copilot is also controlling the Now you can see GitHub copilot is also controlling it control. Yes or no? Right? So same thing can be done by
54:54 using GitHub copilot anti-gravity anything. Right? It can be done by everyone. Okay? So please remember it is not tool specific any you can do it by if I'm teaching you right now it clot code can do the same thing also right and as well as this thing now which all these thing things are needed very good question by the way okay Ashish Sharma is saying okay sir which one we have to use okay now very good question by the way let me tell you what exactly he's asking given the question is sir what so should we add all of you should have a MCP of GitHub as well as playright right this one is less powerful cloud plus this is very very very powerful how many if you are with me give me yes in chat Ashish but maximum
55:42 company does not allow you to have a cloud code so that's why we will use GitHub copilot got it yes or no everyone got it how many of you got it give me yes in the chat maximum company does not provide you cloud right some people allow cloud good companies are allowing code right send we will use uh selenium also right selenium MCP can be also used everyone selenium MCP can also be used if you don't know how what is MCP I would suggest you to go to I think we have discussed this right yes or no many people says sir we don't know go to live section make sure this uh MCPU you are basically doing by the way guys can you guys like this session how many of you are with me guys some small support like
56:27 the session huh live session if possible please live it I think you guys are live also guys on the YouTube also everyone yes sir I liked a lot of your session okay good good good make sure everyone like it this is good to know okay and one more request also from your uh way everyone it's a humble request uh if you can do a star of this also okay so make sure that we do star of this free repository also this is a free repository for everyone Okay. By the way, what I'm planning is what if I'm I'm planning uh what if we have our own frameworks also everyone? So can you imagine if you go to packs what if I give you a complete pack guys? How many of you wanted yes or no? In future what if we give you a full pack you s full
57:15 pack of playright if I want to start a very fresh project of playright everything will be included in this case right everything will be included in this case full pack for API testing toolkit full pack for performance full full stack QA include everything in this case that also we are planning it will be that will be great right yes okay ch roll back to the original commands everyone no sir can you explain one more time regarding the skills and its role Okay. Skills are a way to teach the agents about the information everyone. Yes. So now by the way let me uh one second guys. Okay. Because there's a lot of noise uh coming from Visual Studio Code. This guy is continuously waiting. Okay. Skip. Okay. Let me stop it. But
58:03 again you guys know. Okay. So it is. Sir today my company uh has taken a subscription of chat GBT and requested uh to use it for testing. Can we give a prompt and ask to create a framework by giving the Java path? It is chat GBT or they have also given you access for codeex or they have given you access for GitHub copilot or anything. So bangi shangi which one only chat gbt they have given codeex. Oh very good to right yes or no then you can use so I think this is good. So codeex works in a similar way like a claw code which we are learning everyone. So if you install Codex everyone if you're with me give me yes chat. So Codex can also be installed like similar way how many of you are with me guys? Same everyone please
58:49 remember this codeex cloud code open code kimi code all of them are almost similar how I am teaching you everyone how many of you are with me give me yes chat I am teaching you one tool but most of them are almost similar init command resume command changing a model command everything almost remains same so if you are using codeex I think you just have to install the codeex okay simple way let me show you also cyber codex also everyone to just to give give you an idea. Uh go back to the this one. Okay, new new one. Just install codeex also in this case. But because I have a co I have a open AI subscription you I will be a I can use the codeex but all of you will not able to use it because you
59:35 don't have access. Everyone with me? How many of you are with me? So just type codeex. You guys will not able to use it. Okay. Everyone now tell me guys. So it is telling me that okay uh you can keep using G for free if possible use the existing model uh try the new model let me see try the new model which model we are using by GPT 4.0 to high. Now guys, can you see that similar me? Tell me. Tell me guys, isn't it similar? Isn't it similar? Yes or no? Tell me. Yes. Do we have init command? Yes, we have init command. Okay. Do we have resume command? No. Resume command is there. Yes or no. Subcopy past based. I told you right. Clude code was the first one who created the CLI. Then codeex has
1:00:21 copied. Open code has copied. Ki code has copied. Yes or no? Got it. Now people please prefer please remember normal sub aent normal UI mode that you use right that is good but this CLI mode is best. How many of you are with me? Give me yes no chat. This is best because I can run two codecs parallelly. Yes or no? How many of you got it? What I'm trying to say? Yes or no? I can run two codecs. Yes, I can run how many codecs? Tell me guys, can anyone tell me how many codecs we can run? Unlimited ones. Yes or no? So one is doing suppose test create test case creation and this guy will doing test planning. Another one suppose we is doing test s test
1:01:07 strategy. Second one is working on bug report. Third one is working on documentation. Ha powerful yes or no. Now do we need more QA? [laughter] This is questionable. Yes or no everyone? This is questionable. Yes. Surprisingly sir, when I asked GP propacity, they're suggesting GitHub copilot over the cloud code. N cloud code daddy. Okay. Ashish, you know, cloud code is like a daddy for all of them. Okay. Let me let me vouch for you because I have been using it for almost one year. Almost one year that I I can see that right. Yes. But it will not guys trust me. It will not look it will not hamper your jobs. It is only going to increase
1:01:52 your productivity. How many of you are with me? Give me yes in the chat. Let me surprise you. Suppose we had a playright framework. We used to write uh let's suppose 50 test cases per week. Let's suppose I'll tell you this what is happening nowadays. So we have a team of five people and they are writing 50 test cases previously per week. Per week everyone with me. So per week they are writing 50 test cases. Now because of claude because of codeex because of kimi because of open code because of anti-gravity or because of uh 4.5 opus it is around around 200. How many of you got it? Give me yes n it is around around 200 with more optimized more optimized and better versions. So around almost 3x to 4x productivity has been
1:02:40 increased for all of this. Okay. How many of you got it? Give me G in the chat. What I'm trying to say because of these tools the productivity has increased. Okay. But number of people have not reduced productivity is increased because now the work we can do it more better way. But definitely but in your manager point of view your manager will say key sir previously we were doing 50 now we are doing 200. Let's do one thing. Let me fire one person. Yes or no sir? Your managers are culprit. Yes or no? Everyone how many of you agree? Managers. So manager will say okay we will do less work let's fire one person we will use some codecs or everything like yes or no so maybe maybe in this case okay ch let's move back roll back everyone how many of you are loving the session till now sir mad right how many of you are enjoying the session till now yes how many of you are
1:03:25 enjoying the session till now okay sir I am enjoying the session so you can use codex also by the way guys is free of course for some of the time I think codeex is free for some time okay to time free I think so if you guys can use it also Uh so this is codeex everyone. Okay. So codeex is by uh GPT guys. Okay. GPT 5.3 CEX if you want to install it. Okay. Now roll back to original ones. What are the things? Okay. Now couple of things. There is an option called as dangerously skip permission only for throwaway or CI/CD environment. Let CL go with right. This is basically means giving superpower to clude by do whatever he wants yes or no. So if you
1:04:12 use this option, if you use this option, suppose if I start okay if I open uh CD documents uh learn AI everyone learn AI this code and suppose this is where let me create a file let's suppose if I say let me create a directory um GitHub uh portfolio portfolio creator. How many of you want it? Give me yes chat. So guys we have discussed this key we want to create a GitHub portfolio creator for QA how many of you remember that give me yes check yesterday only I have told you so let's create a GitHub portfolio creator let me open this clude code into dangerously script permission okay what do you mean by this sir okay if you open this it
1:04:57 will say by warning you are giving clude access to everything I can do whatever I want I will not ask you so I will say that okay yes by late cha G right yes or no go Kiran go live your life yes or no so now we are into a no permission which means clude will never ask you permission in this case everyone yes or no how many if you're with me give me yes chat sir enjoying the session that's why I missed my meeting thank you Ashish okay thank you for this Ash is enjoying the session everyone quick guys how many of you are enjoying the session now so we have given dangerously skip permission which means Now I I will give him a a simple idea. Okay. So I will say that okay
1:05:45 your task is basically to help the person as a QA. So QA people are there right? Your task is to create a GitHub code portfolio for them which means that you will ask for so you will basically give a option of UI where a person will enter his name his details language which tool he is working on selenium playright API whatever you think about it right it you will ask for all the questions from the person it will be a UI first of all there will be UI on this where you will ask all the question after asking the you will generate the file which this person will going to upload them into their GitHub so that their GitHub portfolio will be visible all the
1:06:32 information make sure it is very similar to the image which I'm going to give you okay so everyone so let me give you the image let me give the image also how exactly it will look like okay everyone with me so this is a prompt which I have given to him okay I have used dangerously one which means it will not ask me so GitHub profile creator if you if you have we have a GitHub profile creator everyone? Yes or no? So this is very similar to this everyone. This is very similar to this. If you fill this information, if you fill this
…