Introduction to QTP

Quality Assurance (QA) Class Introduction on QA Class
56 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€46.79
List Price:  €65.51
You save:  €18.71
£40.22
List Price:  £56.31
You save:  £16.09
CA$68.40
List Price:  CA$95.76
You save:  CA$27.36
A$76.91
List Price:  A$107.69
You save:  A$30.77
S$68.04
List Price:  S$95.27
You save:  S$27.22
HK$391.55
List Price:  HK$548.21
You save:  HK$156.65
CHF 45.70
List Price:  CHF 63.99
You save:  CHF 18.28
NOK kr547.61
List Price:  NOK kr766.70
You save:  NOK kr219.08
DKK kr348.93
List Price:  DKK kr488.53
You save:  DKK kr139.60
NZ$84.23
List Price:  NZ$117.93
You save:  NZ$33.70
د.إ183.60
List Price:  د.إ257.06
You save:  د.إ73.45
৳5,479.93
List Price:  ৳7,672.34
You save:  ৳2,192.41
₹4,165.15
List Price:  ₹5,831.54
You save:  ₹1,666.39
RM238.82
List Price:  RM334.37
You save:  RM95.55
₦63,012.39
List Price:  ₦88,222.39
You save:  ₦25,210
₨13,862.65
List Price:  ₨19,408.82
You save:  ₨5,546.17
฿1,850.71
List Price:  ฿2,591.14
You save:  ฿740.43
₺1,625.67
List Price:  ₺2,276.07
You save:  ₺650.40
B$256.56
List Price:  B$359.20
You save:  B$102.64
R956.66
List Price:  R1,339.40
You save:  R382.74
Лв91.51
List Price:  Лв128.12
You save:  Лв36.61
₩68,743.20
List Price:  ₩96,245.98
You save:  ₩27,502.78
₪188.02
List Price:  ₪263.24
You save:  ₪75.22
₱2,879.04
List Price:  ₱4,030.89
You save:  ₱1,151.84
¥7,745.27
List Price:  ¥10,844
You save:  ¥3,098.73
MX$848.53
List Price:  MX$1,188.01
You save:  MX$339.48
QR181.37
List Price:  QR253.94
You save:  QR72.56
P693.49
List Price:  P970.94
You save:  P277.45
KSh6,723.65
List Price:  KSh9,413.65
You save:  KSh2,690
E£2,393.27
List Price:  E£3,350.77
You save:  E£957.50
ብር2,831.84
List Price:  ብር3,964.81
You save:  ብር1,132.96
Kz41,738.73
List Price:  Kz58,437.56
You save:  Kz16,698.83
CLP$47,675.46
List Price:  CLP$66,749.46
You save:  CLP$19,074
CN¥362.23
List Price:  CN¥507.15
You save:  CN¥144.92
RD$2,950.94
List Price:  RD$4,131.55
You save:  RD$1,180.61
DA6,719.13
List Price:  DA9,407.33
You save:  DA2,688.19
FJ$114.63
List Price:  FJ$160.49
You save:  FJ$45.86
Q388.19
List Price:  Q543.50
You save:  Q155.30
GY$10,446.17
List Price:  GY$14,625.47
You save:  GY$4,179.30
ISK kr7,032.09
List Price:  ISK kr9,845.49
You save:  ISK kr2,813.40
DH504.58
List Price:  DH706.45
You save:  DH201.87
L889.82
List Price:  L1,245.82
You save:  L356
ден2,878.96
List Price:  ден4,030.78
You save:  ден1,151.81
MOP$403.02
List Price:  MOP$564.26
You save:  MOP$161.24
N$956.51
List Price:  N$1,339.20
You save:  N$382.68
C$1,830.70
List Price:  C$2,563.14
You save:  C$732.43
रु6,659.89
List Price:  रु9,324.38
You save:  रु2,664.49
S/184.01
List Price:  S/257.63
You save:  S/73.61
K189.04
List Price:  K264.67
You save:  K75.63
SAR187.49
List Price:  SAR262.51
You save:  SAR75.01
ZK1,286.92
List Price:  ZK1,801.79
You save:  ZK514.87
L232.80
List Price:  L325.94
You save:  L93.14
Kč1,180.98
List Price:  Kč1,653.47
You save:  Kč472.48
Ft18,403.36
List Price:  Ft25,766.18
You save:  Ft7,362.81
SEK kr543.19
List Price:  SEK kr760.51
You save:  SEK kr217.32
ARS$43,628.97
List Price:  ARS$61,084.05
You save:  ARS$17,455.08
Bs343.69
List Price:  Bs481.20
You save:  Bs137.50
COP$195,114.83
List Price:  COP$273,176.37
You save:  COP$78,061.54
₡25,056.16
List Price:  ₡35,080.64
You save:  ₡10,024.47
L1,227.59
List Price:  L1,718.72
You save:  L491.13
₲369,041.22
List Price:  ₲516,687.24
You save:  ₲147,646.02
$U1,917.85
List Price:  $U2,685.15
You save:  $U767.29
zł202.21
List Price:  zł283.11
You save:  zł80.90
Already have an account? Log In

Transcript

Okay, so addition wanted to make sure everybody knows if you want to know practice more about Pft you're more than welcome say you have drive everyone have access to drive and then go here go to share drive their mind whenever you go to there. Okay, you might not have you seen like this Martin levers Oh yeah. Okay, let me do my finger so this is how it might look like for you. But for me I like this way so amazing is here you have like 24 Okay, so I hope everyone has a journal Google shredder, go to 20 foot surface. Okay, click here automation tools word and click the automation tool. Go to cue DB Okay, cue DB and then you have an option to read q p p 9.1.

So you can download the beta version, you have 30 days trial version, you can use that. Okay? So you 30 days you can, you know, finish this one, and you can download right from here. Okay? So this download and install it in your system, and you can work on it. Okay, and I'll show you how to just in case this screen looks like a word.

Okay, so what are the main components for now? What do you actually do in gdb? So now you have all the application set, you're done, man, interesting. Now there are particular integration testing now, to configure that there is a new primitive testing, okay. Now, for some reason, right? developer says no, no, no.

So there is some issue going on. Suddenly developer container there is some issue. Okay. Now we are checking the code for the theory for application that is integrated I already do on one application. Okay. Makes sense?

Right? So or what does it say? Right? Okay, they have integrated three modules Okay, so let's say they are the only three are daddy now they also want to add 1006 or something and wonder how they haven't been added now so we are not going to test again we have already done that right we don't want to do that again It makes no sense we have completed our testing now what you do is like you know who that work will be given to the other teams the regression team they never have to do the testing why because in a lot of code changes you know, plenty of questionnaires you know one time giving go to touching code 1010 developers working on same application and everything is going from it so many things are happening. So what happened is that I don't know though the segment code now they're saying that no, no, no, we have updated it.

Go ahead and start testing service No, no integration testing in between that way because we already completed a manual issue we cannot do again the same thing, unique type, no, there is no time. So now regression test you will prefer this SPSS now. They will do they will just do. Okay, now can you be using this tool to create one script? Okay? They create one script and repeat the same script.

Okay? So that's why they use gdb. Okay. So what is the process? So what are we doing UDP so we prepare. Okay, this is a repeater, you're right.

So UDP recorded playback, that means you record the script and once and you do playback to select a record right from your wr you record it, and then play it how many times you want, right? modify, play modified, right? That's how it is. Okay? So first you do recon, okay, but you do recording to the beach and show up and show that knowledge, you know, like, show that to cutiepie that, you know, this is how you have to do it next time it will perform by itself. Just like saying someone is ready to share your knowledge thing that, okay, do people keep doing that?

Right. So that's how a p2p is once you do it, and record it and then playback rate Keep doing it. And you can change our properties inside properties, whatever you want to change and then they can perform by same thing, you know, change properties. Okay? So that is now you do prepare and record the new record, enhance a test that's it, you know, that's what it means enhancement you modified, you know, that doesn't require this now, you don't really want to change the property, you know, change the values change digression, okay? All these things.

Now, if you want to do a debugger, okay, you can debug that test, and then you run the test and analyze those so that's the more important part writing what you do is you analyze the results Okay, then you once you run the tissue analyzer, then you if you find the defects of course, there might be defects, no pure script might take Okay, scripts my friend then you require to report so this is a process, you know, the testing process in pewdiepies. Okay. Now, whenever you open cutiepie so this is like, you know, This used to be before thing it's no anymore. This looks doesn't look like there. But see there for me things that are integrated, right? I told you let's take in again and go back or primitive website amazon.com.

Okay, let's go here. Now. So here you see so many things, right? So what they're using, they're using JavaScript that is HTML. Okay, this is all HTML, right? And they're using JavaScript.

The body is also filled in. And then you have what? So yeah, that's a double we don't even know what the scripts are using. Okay? So so there's so many Okay, they might have to use Visual Basic or not, okay, then other Java and we have SAP or I could put these things might be you three, one box. In one website.

You're using this very thing. Right. Are you an alternative to errors? See that? Oh, you're handling them. Okay.

So there's like so many things. Okay. So now since even after that, right, so you have like options you want ActiveX because they okay that again, that script might have an ActiveX? Or do you want to run this on the website? Do you want it? So that is checkboxes.

That means UDP doesn't understand everything right? One thing. These are the separate models that add ins added, adding a separate feature to the feature you want to plug in, like, you know, you want to include even this too, because it might contain ActiveX. It might contain Visual Basic pipe and then web. Okay, so these are all okay, I didn't when you check that checkbox, then it will be included. Otherwise it doesn't record that session data without adding any note.

It is it doesn't record a session. Okay, so then you have okay so that's why this add ins is an add in manager okay? That's when you share it adding manager when you can add a new feature if you want to suppose that application has ActiveX and whatever other features Java or Siebel Racal for Okay. Now next we go to record and done mode. So how many ways you can record Okay, so three ways three ways you can record that is normal recording and lousy coding and low level recording. Okay, in a normal recording what you do is okay, in normal recording a sermon that's a normal recording like you know everything you know, whatever your clicks can left click Buttons whatever left click whatever you click on buttons right so these buttons click enter DMR nine Okay, that's fine and you order these buttons okay and these check this digit box these are like normal recordings okay?

Then you have like analog recording analog recording is like something around like you know whenever you're trying to add buttons or want to tab right now these terms ended up getting highlighted and won't change those things for now that is like you can do anything and now recording again you have low level a very low level recording are like you know, whenever you are if you have that right click mouse button. So let's say See, this thing is coming right when you click on the right, this thing is different. Now this is different. Okay, I know this. No, this is different. This takes information.

Is different. So so I mean okay that is not required here. That's just an example what can be lower condition right click buttons, okay. It buttons even lower level and then you run more so many times you can run two times normal then fascia. Okay. Okay, so whenever you go into whenever you connect these are so many Come with me Okay, so whenever you open it, these are some buttons, okay.

So, so there is a like title bar. Okay. So let me show you. So this is called titlebar Okay, so this is all mean this is like title where you have, you know recording and quick test. So that's a very good idea about where you're gonna have the information and then you have new bar, okay, so everybody knows what it means. Okay, so, new bar.

Where do you have all the information like, you know file edit view, insert, text test. Step over all that functions that's called menu bar. Then you have like, you know file toolbar. So this is our file toolbar. Okay? I hope everyone can see this right?

Okay, so this is the like file too but this is like shortcuts have a shortcut for this. So you have new if you want to open a new script then you click on that okay, a new script showed up and if you if you have created a new script and you can want to open that script, he This is like open, okay, so this is the sloppy icon like no save, okay? And then you have like print option fine. And this is from grids. Okay, two grids. And if you want to build a coalition one, okay, so let's see this three important thing for this is quality center connection.

Okay. Yeah. And that, that title is called internet not HPL. So whenever you have this, this idea Count shows, right? This. So, so many things so many people want on this one.

So what happened? Right? Somebody prepared the script. So there's automation architect, okay then you know, automation developer, okay, QA automation developer. numr. And then someone will be like, you know, automation tester, and then someone will be automation analyst.

So, those kind of things, let's say automation, QA, auto, automation architect, prepare those scripts, okay? All heavy, heavy, high level scripts. So that thing, right? But at the end of the day, we are the one who should be testing right automation script. So we're gonna, what they do is like, you know, they'll put in QC, okay, he knows where you are OPC rally or whatever, they have their options, you know, where you can upload that scripts and store their scripts into that particular location of folder in folder Okay. Now, whenever you connect that, okay, whenever you want to connect it, you can pull out the scripts from that location and It will enter that scripting to this so that you won't have to design everything by yourself someone will do that.

Okay, so when you need to run that, so you need to pull out the script and use it. So that's the reason you use it in your and other test cases and past that place. So that's the reason that is called v center connection, we used it all this information. And then you have this object is an object repository. Okay, so that is called object repository. So object repository is where you know, store data.

Okay, store the objects. So I you know, briefly I'll be explaining what are the objects and what you do with it, okay. That is object repository, where you because the GDP only understands you know, anything could be we can understand is objects to objects. So, that is you want to store any information about our And then you have this man with the hat you can see that is that manual that that guy car objects pipe. So whenever. So whenever you're trying to see everything is an object, okay?

So let's take a number Okay, so let's say this is an application can anyone tell me? No What is an object here in this application complete application. The only node which and what is an object in this and in Angular application Right. So, yeah, so that's right, you know, everything is okay. So you know, you see, this browser itself is a parent object, right? The browser itself is an object.

And then you have this picture of course, that doesn't an object, okay? doesn't finish showing up yet. So that's an object and then buttons, okay, these buttons is an object. So even that, so normally an object, what is an object object is like, you know, anything which contains which properties and values. Okay? So for me that can give you can recognize an object using its properties and its value.

Okay? What it has some properties, what are its properties? Let's take an example of this button. So let's enter the amount and so you can see that that button has its own property and its own values that say, what is the property let's say height, does hydrate that button has some height, and then Helmand okay. Because length and height so that's you know, two properties right one property and what the heck do I think it is? Let's take an example.

And it has a height of no one centimeter letter one centimeter okay? So that is no that's like property or the property name, what is the value of the property? Then what is the property height? What is the value for the category? Okay, one less than one kilometer. When you have like, you know, one more thing, title, title of this button, what is the property title?

What is the value what enter dm online? So, these are like properties. So, in UDP anytime UDP can only be identified to which properties and values, okay, so these are so many properties, you know, I'm just I only remember three, the height, land, title, you know, they like flags flag, no HTML tag, and so on and so forth. There's so many things So, these are like called object objects. So what is the object contains anything which is which has properties and its values, everything has properties and values right? So how do you find out using objects so this guy right this guy you know whenever click so let's say you want to know the property of in button, you get the object by button Click here to show you what are the properties panel says like x axis y axis, HTML tag, then you have like title and so on.

So like, each object has like 30 to 40 properties and values, okay, some more properties where some of the values of that property will be not okay, but most of them will be having, some of them will be having values, okay, so that's how you can recognize so that's how the qbp also recognizes an object because I don't know because I see the Queen again. They have Right, so this, this has the same length and height with the same button again, about the geometry, only the difference is the title, the title is different your title is entered the amount above. So that's how it becomes hard for cutiepie to cognize a button. If it is entered your mind learn about the jam board three, three buttons and looks like same. So which button to click? Don't know.

Right? So that's what you need to apply more properties and values whenever you are trying to, you know, if you want to click on that button, then you need to put all the what are the values and what are the properties you can and there's normally sort of descriptive programming otherwise I'm in in the current playback is already captured the properties and values so no big deal. But descriptive programming you have to specify everything there. All right, could you be gets confused and don't know which button to click? Okay, that is objects, surpassing All the all the properties and its values are stored into that object repository. So repository is like a database right?

Okay, not exactly a database but internal internal for the DB. Okay but internally the PDB for stores that information for the objects and values inside the KGB folder itself. Okay? Now you have the next one debug toolbar Okay, so now this debug toolbar, right you have all options enter stop, and then when you want to debug Okay, in particular line for a particular line of code there be and you can go to that line and you know, use that one so that is the option for this. Okay, wherever you want to execute that action Anywhere you're trying to execute it to go to that line and try to execute it, and then you know, you can be about that in that code okay? Normally to debug that code when you have testing to bar Okay, this is testing to see what options you have in this you have records.

So this is the main thing we will be using right record. And then once the record is done, you stop it. Okay? This is where you want to stop it. Okay, and then run. You want to run it, okay.

So but until then you have these two things, right? This is action, create a new action. So we have many types of action, right. reusable action. So the external action internal action, then we have reusable action, reusable action, non reusable action. So the data right, what is this?

It's like this workspace workspace. Want to you want to write something? Like, you know, it's like a book, right? Whenever you want to write something, you need a new paper. Okay? So the same way here is action, you know, you want creating new work specs, kind of okay?

But that was how do you want to do that you want to put it new or reusable or images, right and just put it to your desktop and store into yourself or that is non reusable and reusable intense. If you want to use a library function, that means you put it into that into the library and recall it whenever you required in the script. So that's what they know. That's what the use of that action will be using it for future. We don't want to use it you work here you're doing with the team. So you want to use that action.

So that's what it is. Okay. So that's an action and then you have like split action, which is a, you know, you can also get, which is actually grayed out. Okay. This is prediction where you can split an action Then you have this two buttons, okay? That's called stock transaction time and n transaction time.

Let's say you want to view some of these. So you are actually not trying to find out you are naturally trying to see the granularity between an application like you know, you have two pages, let's say you have two pages, right? We want to see how was the time taken to that page? Or you know, there's so many factors what is the time taken to move that page how the you know, application is behaving in that page. So you want strong transaction time and transaction that means you're actually checking in with dish to point of time in this one you know, from start to end you're trying to see highlight the thing and want to see what is trying to do, which like kind of highlighted you want to see that one and looking at what is trying to do. So that for me is what start transaction time and transaction time.

Okay, so now do you have this one currency is a lot regarding and slow level apart okay and then you have to this is what action toolbar. So this is action two but of course, now you have okay action you want to use whenever you feel their library files you want to take out from that or you want to use the new okay action or you know you want to create a new action you can do that okay here you are restrict various options to do that. And then you have this is called test pain. Okay, so this is called test pain where you have like key so there are two views here your keyword view and expert view anomaly. Next view, you write the code of a poorly generated index for you all the code, which is you know, generated in the expert view where you can see that code in the keyword you You only know you're actually viewing that objects here you have no view object, and what are its operation values.

Okay documentation whatever information about that object but you you normally you can do either way okay if you go if you're going to dp you can either you know edit here itself in the keyboard view or if you want to more and more no more Some people go to a pub and then debug their code. So normally this and then you have this is called Data Table okay this is like Excel can always like accelerated for this is a no cutiepie sX Excel not Microsoft acquisition few DB technologies integrated in center Qd v search nothing to do with except okay so this is only for us for the purpose wants you to be sure whenever you're trying to parameterize any value you detection, okay, and when you have this screen which is called active screen where you can see that happening whenever you're running the test what's happening in between.

So this is like You know, different buttons and different functionality features in udb. Okay, let's go to theoretical view. So those are many, you know, various buttons, but there are more functionalities other than that water cooled will only work You see, but there are so many things in Edit and view insert so many other things that you can only see once you open that know your PDP and look into it and see, how does it know what are the various things you can talk on that and then you can create a test. Okay, let's now talk about the object repository. So this is how it looks like. Okay.

So, you have parent object or parent object and then you have child objects. So this is parent field here you can see that it's not much more okay. So here you have okay. So this is parent object welcome mercury Can you see that? See this welcome Mercury is a parent object. So whenever you open a browser right, demo dot said this browser is a parent object.

And other than that, see, inside it is like Welcome. Welcome mercury that is sent child object for this. Welcome at this all objects are stored in the order. Okay. So whatever it is, And then it has this all these three are like control buttons okay functional no not exactly but a field where it okay thing the field username password signing in the field values okay then you have this other related to is like another object so these are all objects okay. So each can be anything it can be any object it can be you know the buttons this image okay then it has so many other objects here 3456 objects then you know for the six objects they have texture this box okay this digit box okay and then two more buttons.

So, these are so many other objects all these objects, now it has this property there as I said it has property and its value. So, what are the properties? It can be type that is text of course, and then it has named user name HTML tag input, okay and then it'll be should make you know this is how Object Repository handles these values okay so using our database you can identify an object so that mainly shows that you know what objects are referring to and the properties and values of that object then you have so this is objects file you know which that many that didn't know that whenever you click this ok click on that man at the hand this dialog box opens and when you click on that, so we can no view that objects and properties and property can vary here in the in the, in this model properties and each variation will show Okay, so Then you have so how does so as I said like to do clearly recognizes two objects.

So how does GDP recognizes those objects? So, so there are like three three default properties properties are called monetary properties. So it says two properties in ordinal identify, okay because of the three udb cognizer z objects and then you have synchronization. So synchronous synchronization is like you know something that you need to synchronize okay to one goal the goal for the synchronization is let's take your time to, you know, record something for free. You're trying to record something and whenever you're trying to record you did you know so far uncritically understood that okay, everything is done. But now the server is slow.

No, for some, for some reason, it becomes slow and the website to move to one and so when one URL to another URL, it gets navigated, right one website is going to stay in time. It's like you know, that says I'm not five to six time because five to six seconds. Now because the server has been slow Okay, so has become slower but it's taking some time to move. Now Katie, we don't know that. Suddenly what happens throws an error No, technology is not reachable and you know, throws an error and hosting costs face to face and test results back pain and everything it fix, but there is no reason again, that website is working fine. Right, got it.

So now you need synchronization. That means you know, Qt p doesn't know that it takes some time because of the server don't know. So that's how you know you need this occasion. To what do you do right? You have some time. They're called wait Wait in bracket 10.

That means, let's say, okay, stay in five seconds. Let's wait for 10 seconds. Okay, now we're ready to begin. Wait. Okay, so now let's make you understand the cutiepie that no, don't execute right away, wait for time. So that's very, very cool.

Okay, so no piece of code to wait in bracket. Let me do want to wait to navigate. That's the No, you need a synchronization because if you don't know to wait, you need to tell. Okay, so that's how you need synchronization. So, this is what an example of given how to synchronize. So when you have this, you know, you can go to insert step synchronization point and add existence segment here.

If you want to build this in expert view, we can just write this core, whatever the core is. Okay, they have given about my Kirino demo demo application. They can use that when they add like, you know, own client application so again this TTP you can use not both client application as well as web application. Okay so this is more or for a client application and then you have okay dialog box and you put this chorus wait so this is how you synchronize it That means there is certainly there is an pop up okay there's a pop up button if there is a pop up then in your sink UDP to wait don't executed right away because it takes time out of the script in my face okay 30 are checkpoints. So, checkpoints to checkpoint is normally not a one to one thing actually know compared to the war the actual value is and what is it showing?

Okay, what is showing after the result and what are the actual value for it. So how can you do that? How can you wait You got you're gonna you're gonna go to the Insert, checkpoint, and then scan of Japan. So you have various checkpoints here. So they have like a checkpoint, the standard checkpoint. If you don't know what checkpoint is, you can go ahead and put a standard checkpoint.

So name, it's a red check point you're checking it, you're trying to verify, you know, what is what the act what application is no want to verify that, you know, how does it showing up is actually some bug. Because after running this many scripts and after entering, because right some values you entered in sometimes reputation beer, some art, painting, some values suddenly changes to another. So that's what you want to check. After entering something doesn't get screw up, the poor doesn't get to update, right? You just check points. So whenever you don't do anything, the standard that means standard in a normal text, normal text, and, you know, not gladly made but you can also use that image so no That's hard standard JPEG image point whenever you're trying to use the images.

Or just like this, right? You have this image. So you can use the image checkpoint. When you have like a table checkpoint, table checkpoint, whenever you're trying to know there are tables in the database and you want to validate those tables, let's say no 10. In columns you have we are making your 10 rows. Let's say you have 10 columns and rows and 10 columns and you want to validate that you want to put a checkpoint, that's a table then you have page upon page checkpoint is like you know the whole page you want to validate the whole page when you put the page up.

Then textbook textbook by the similar to standard yet, if you know, this is more text from let's say, example is human and is a textbook. Welcome to Let's say, this is you know, in red color, no showing in the green color, no validate actually why it's green. validate that so that is you know, text when you are that text area checkpoint, so you want to also see that area do that right? How much of the area for this is for this text? Okay, if I select 60 area then you have bitmap Jeopardy similar to image net if you have any, you know, images which is big bitmap pages, you can click one and then you have database checkpoint database you want to want to see them. So how does it look like okay, so which one of those so when you want to see the checkpoint, right, it shows in a whenever you're running that after inserting the checkpoint, this is how it looks like the highlighted color, the active screen.

I hope everyone can see that it's cleaner that purple color you can see that mercury upon so that is fixed. That is the texture point. Whenever you're running it, it highlights it highlighting that area and you can see the Okay, so looking at that is like you know checkpoint so it's not like a rocket send you just to view that one because you want to view that and look for your religion and that's it. And this is it's all you can you know, insert a checkpoint from an active screen. Okay, so this is when you have in the keyword view if you're working on a keyword you want to know you have this application right you can right click on that, and enter insert checkpoint, and then you can know in certain checkpoint various expressions So let's you know, we're on the parameterization. So, what are the parameters?

So, did anyone tell the core what are the like actually parameters parameters Okay, so parameterised like, you know, for a layman language is a variable that means it varies, it varies, okay sometimes value was one value is two, so you want to increase that value. So now you want to keep on increasing 1234 and so on. So, that's how to use parameters. If you want to see this These are usually when you want to run it in an iteration iteration, you know, right loop, you want to run it loop, you know, adding one value to value again, run it, third value, run it for value, run it, call it so on. So that's what is useful. So that was that.

That's why you use parameter parameters, like in variable, like x, let's put an X and X is equal to 12341231. What is the value gained from it picking up from some data table or some, I know some data sheet or from Excel or something for that, like x is a parameter. That's how we use parameterization. In this let's say, okay, you have this, you know, in the keyboard, you have this new flight from, okay. And the value the value for that object, so object is lifelong. and the value is London.

That means you know, it's, it's going from London to Paris, okay. You We know that the flight is going from London to Paris. And now you also want to test that, you know, from not even London to Paris, also on Paris to London and you know New York and so on. So but since only London, how do we know that so what we'll do is click that button and change it to some value item. Let's put in job London, we'll put some items for what we're trying to do. We're trying to parameterize that object, the value of an object now the object, the value of an object, and putting that know as an item in Joplin, London is a value.

Okay? And put an item. And then what you do is right, right click that and you know, you get information like Mo, you want to put constant or parameter, you put the parameter and then you have data table data table I showed you, right? That's an Excel sheet which is integrated into the Qt P. So that's how you could pick up the value from that. And then you want the global sheet or you wanted a current sheet. Okay and then you put as a global cheat and you know you put that parameter is taken from data table What is the name of the parameter p underscore item okay whatever you can put down you can put whatever you want to like you will put that one and click OK now you put that to change know the value from London to it and wherever it you should pick up from the global table as we know we're put into that configuration option and now what do we do right now it runs into iterations one time when it runs it takes London to Paris Okay, second time it takes Paris to London so we have parameters to values not one okay.

So this from and to Okay. And then you said like you know, we will pick up from the data sheet which is in the global and we have given four parameters. What are their London Paris, Denver Paris, okay, now we are trying to see application that if you are changing the destination 400 destination does this application behaves properly that application is running appropriate URL to get phase that is a defect. Okay, that's not so what are you trying to achieve by using this parameterization we are trying to see in our even after running the iterations even the customers are logging in don't have adding the flag for me and the test doesn't fit. That's what we want, right? So that's the reason we use opera Now see, this thing cannot be done manually.

The reason right? So you can test only once. One sir. And quite suppose you need like 40 let's say 30. No 30 values to be checked. Here's the thing, right?

Let's say we are order quantity one. Okay. One is going to we don't know there might be a bug in some You know, 699 we don't know there might be a bug, we are, we can check each and every right one, two, when we have to validate for the three, we cannot prepare test cases for all the serious right? Again, we will go for or how can we do that? No, we have more time but as we waste so much time on this and prepare test cases like to go to that the reason you need this parameter should what you do just prepared for and it automatically runs that Udemy takes the values from this sheet and runs it. Okay, so that's how you love parameterization you can run any values and just keep that connected up and it will automatically ninja you come up and under want to run the hundred values, notice put it back on it, and you can do your own work or you know, just put it like that.

By tomorrow. We'll show you that validation results. Okay, so that's what it is used to. parameterization and when you have these results, okay once you run it natural result then there is a touchstone in it. So there are like framework right if I do explain the framework. Okay.

So you are okay, they all talk about it as a checkpoint parameter is that. Okay? So all these all this information right whenever you're trying to run this test case, okay, okay, this script, let's be specific on the script. There is a test script, there is a test case. And when I'm saying test case that makes your no writing the test case when you're announcing the script. That means it's a beautiful script or Selenium script or any script or script that normally contains the code.

Test cases is our language. Okay? It's like no QA that we know we're writing an activity. The normal people don't know They might say for a script to testator anticipation, the script, okay. Don't don't have to correct anyone, but if you are specific and if you know the differences that more than you know, okay. So, here I am using scripts Why?

Because there are scripts that are generated in the from the Qt that says script that is generated, right. So, you need to put in some place where we do put So, there is a framework, so there is a like framework. C, I'll be explaining the layman language framework is much more detail and much more complex okay to say no, nobody's paying but though there's not a theory behind the product. So to be more, you know, the simplicity finger I'll be simple. So they like structure. It's like no, the way that organized.

No, there is a structure of directories like let's say you have getting the scripts, your scripts, your test results, your test cases, you know, And then you have a test result in store results, all things new everything for meetings and again all the library files okay library files and things coming up from from new places. So you really want to store it someplace like let's say your network directory and there are like whoa, directories okay to make folders. Okay? So every folder has its own electoral test results, test cases, notice groups, you can have like library functions, library, library cops, all those things. So those directories throw that return name with this stage okay. So that is called framework okay.

So, there are so many keyword driven framework then hybrid framework, okay. So, those are like you know, framework that the way that things are organized into, but this is exactly the know the meaning of that framework, but to be to be more simply, simple side note will want to go much more complex because there is a lot of theory and That propane button, a lot of things to understand, but to be simple, you know, it's like structure how the structure is designed. Okay. So then you have nine minutes. So here I said lecture again multiple actions. So you can create any number of actions.

Okay. So as I said like actually like a spreadsheet, workspace, the workspace window, how do you want to divide your workspace so that no two types of actions there's regular action and usable action regular which No, you cannot do 212 done. That means you can store your desktop and that's a reusable Menzies kind of library if you want to use it and put it into some network file or some Dr. Gallin drive. And you can reuse it. See, normally it's a library file. And if you want to call some function today, there's put it back and put that into your script.

And then you have like a local and external reusable function has met locally and externally it locally means nodes are related to you and your network and external limits related to external universe Okay. So now yes shown you right how do you call a new function you can click on that button action button and you can put in the information here like you don't worry what you have to do and then new action will get added and this is quicker to unit no parameterization. So, here is like you know, what you will be doing at various actions. There are ways actually what will you do call to action call to copy so, these are like features features you know, in the actions. Whenever if you are using reusable right, you want to call you know, put that no color option and call it action wherever it is.

In the library fine. So this is how, how do you go about action? And then you have like recovery scenario. So let's say you know, suddenly you're running test cases or any test scripts, right? When you're running the scripts, okay? Now something happened, something happened and got crashed.

Now can BP have to recover from that? No, you know, get get crashed now, we're running 40 our scripts and you know, it suddenly got crashed and you know, you don't want to waste 40 hours of time got waste of nothing wrong to happen that way right. So, what do what is the recovery scenario? So there are like scenarios where you can recover. So there is like, you know, trigger event if you are recovering cooperation portion of it or not, objection to what you do is you'd be to recover From unexpected events okay that occur interesting. So let's say trigger trigger trigger event Okay, so what is the trigger event?

So what happened What do you need to do is if you see this thing if you know already that you know people get crashed Are you or will you're actually not putting that recovery scenario otherwise not required okay so then what happens is a pop up window suddenly pop up window comes up and quickly got crashed no no no no what so what you have to do in that when you know when the pop up window that shows UDP Okay, now the proper window Okay, now UDP no so that you don't get cashed. So this was mixing UDP that don't get crashed, it will be pop up window. So you need to know that so that's what you're trying to tell that UDP okay. So there are like I know three times. Trigger event recovery operation post recovery an option here that Given, you know, options, pop up window and test runner or something, something happened, there is a run in error annotation called crash.

So now you tell it up, no, no, don't get crashed. There is some error. Okay, just don't run that. No, you can run other than this. Okay, we'll take care of this. So Tom malko we change the code and and accept it.

So you're telling that up? No, no, don't get crashed. Okay, so and then your application crash? That is scenario recovery scenario, then you have, see, this thing is important only when you know that you get a crash. How do you even know that we get crashed or not. But it doesn't save that you're trying to put you know, they say application has these issues.

We want to see that you know, don't affect that GDP. Okay. That's what I use. And then you have like, you know, creating tests without object repository. So every time we have a created with an outdated pulse rate, because all the information of the objects and properties and values are stored in objects Question. This is this is more of a descriptive program.

Descriptive programming, right? You don't know. You don't use any of the objects and proper object property and it values stored in the database. No, I mean stored in the Object Repository? No, we don't do that. We actually are specifying the same objects and its properties in the code itself, we are actually giving the code itself you're not storing any way.

So in that coma, simple. There's nothing here this code is complex, because you're giving everything here dialogue name, the name is a property. Login is value. Again, you're giving the narrator okay? This is a property agent name is a value dot setting. So it's like you're trying to give object properties and its values in the code set.

So that is called descriptive programming. And then, you know, you're actually you know, trying all this. You're actually putting a VB script so this is more of a VB scripting. Okay. where you actually put the property values values here and then know it can enhance their skills with descriptive programming of course you can enhance it whatever is required you can edit it if you go request No, you remove that. So you know you're trying to put that value and then you have this is like you know, so they have given one example for the one example for the descriptor descriptive programming, okay.

So that means see this is an application where window error, so there is an error pop up okay window window button is pictured in the pop up. text you have okay? Okay, this you're giving the property of in here a property This is a property and its value here again, this is again property and you and the document Click this, click it on it with the click on mouse on the browser writers like click here. So that's what you're telling that up to click documents to pay for and then you're putting those values to not set my description. Create. Again, you're giving here property and its values.

Okay? Again, no description. So this is an example for a descriptive form. Okay. Oh, you can go through the slides. Okay.

So yeah, this is all about automation. So I just wanted to do some introduction. Okay. So we can go to the slides. Okay, same thing what I've explained these two slides is there in staring Google Drive okay. No, this has nothing to do with the rally since it is located not seen personally know working with UDP and using the trolley but of course you can use rally to this to pull out the scripts the scripts otherwise for test cases and all the stuff he got caught incorrect because he rally the test management Do you repeat automation too?

Okay. So yeah, you can do that. No, you have all the access to the Google Drive. So you can go ahead and download it and just go through that UDP toner you will be familiar like you know how to use that. And you can work on axons totally, most of things Oh yeah, we can go through this. Okay, these are just an introduction about GDP, you know, there's nothing because so much of impurity very washed up that 630 is an ocean.

Okay. So okay, so any questions, any questions concerns? So, you want to connect load this class today to be one are good Okay, so if no one has questions, so I'll be stopping this class today, more or less taking action on Laura Okay. Thank you

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.