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
€48.10
List Price:  €67.34
You save:  €19.24
£39.96
List Price:  £55.94
You save:  £15.98
CA$71.89
List Price:  CA$100.65
You save:  CA$28.76
A$80.23
List Price:  A$112.33
You save:  A$32.10
S$67.90
List Price:  S$95.07
You save:  S$27.16
HK$388.49
List Price:  HK$543.93
You save:  HK$155.43
CHF 44.72
List Price:  CHF 62.61
You save:  CHF 17.89
NOK kr570.92
List Price:  NOK kr799.33
You save:  NOK kr228.41
DKK kr358.78
List Price:  DKK kr502.32
You save:  DKK kr143.54
NZ$88.75
List Price:  NZ$124.25
You save:  NZ$35.50
د.إ183.61
List Price:  د.إ257.07
You save:  د.إ73.45
৳5,996.77
List Price:  ৳8,395.96
You save:  ৳2,399.18
₹4,247.89
List Price:  ₹5,947.38
You save:  ₹1,699.49
RM225.35
List Price:  RM315.51
You save:  RM90.16
₦77,806.43
List Price:  ₦108,935.23
You save:  ₦31,128.80
₨13,966.08
List Price:  ₨19,553.63
You save:  ₨5,587.55
฿1,722.05
List Price:  ฿2,411.01
You save:  ฿688.96
₺1,759.09
List Price:  ₺2,462.87
You save:  ₺703.77
B$308.73
List Price:  B$432.25
You save:  B$123.52
R918.80
List Price:  R1,286.40
You save:  R367.59
Лв94.14
List Price:  Лв131.81
You save:  Лв37.66
₩72,428.88
List Price:  ₩101,406.23
You save:  ₩28,977.34
₪182.42
List Price:  ₪255.41
You save:  ₪72.98
₱2,941.21
List Price:  ₱4,117.93
You save:  ₱1,176.72
¥7,835.62
List Price:  ¥10,970.49
You save:  ¥3,134.87
MX$1,014.35
List Price:  MX$1,420.18
You save:  MX$405.82
QR183.15
List Price:  QR256.43
You save:  QR73.27
P691.23
List Price:  P967.77
You save:  P276.54
KSh6,461.20
List Price:  KSh9,046.20
You save:  KSh2,585
E£2,545.38
List Price:  E£3,563.73
You save:  E£1,018.35
ብር6,381.64
List Price:  ብር8,934.81
You save:  ብር2,553.16
Kz45,890.82
List Price:  Kz64,250.82
You save:  Kz18,360
CLP$49,572.58
List Price:  CLP$69,405.58
You save:  CLP$19,833
CN¥364.87
List Price:  CN¥510.85
You save:  CN¥145.97
RD$3,051.95
List Price:  RD$4,272.98
You save:  RD$1,221.02
DA6,726.62
List Price:  DA9,417.81
You save:  DA2,691.18
FJ$116.04
List Price:  FJ$162.47
You save:  FJ$46.42
Q386.56
List Price:  Q541.22
You save:  Q154.65
GY$10,499.17
List Price:  GY$14,699.69
You save:  GY$4,200.51
ISK kr6,951.10
List Price:  ISK kr9,732.10
You save:  ISK kr2,781
DH503.65
List Price:  DH705.15
You save:  DH201.50
L920.80
List Price:  L1,289.19
You save:  L368.39
ден2,960.95
List Price:  ден4,145.57
You save:  ден1,184.61
MOP$401.67
List Price:  MOP$562.37
You save:  MOP$160.70
N$917.26
List Price:  N$1,284.24
You save:  N$366.97
C$1,846.97
List Price:  C$2,585.91
You save:  C$738.93
रु6,832.10
List Price:  रु9,565.49
You save:  रु2,733.38
S/187.33
List Price:  S/262.28
You save:  S/74.94
K203.41
List Price:  K284.79
You save:  K81.38
SAR187.84
List Price:  SAR262.99
You save:  SAR75.15
ZK1,388.84
List Price:  ZK1,944.48
You save:  ZK555.64
L239.38
List Price:  L335.15
You save:  L95.77
Kč1,209
List Price:  Kč1,692.70
You save:  Kč483.70
Ft19,898.24
List Price:  Ft27,859.13
You save:  Ft7,960.89
SEK kr551.77
List Price:  SEK kr772.53
You save:  SEK kr220.75
ARS$51,090.27
List Price:  ARS$71,530.46
You save:  ARS$20,440.19
Bs346.77
List Price:  Bs485.50
You save:  Bs138.73
COP$218,877.66
List Price:  COP$306,446.24
You save:  COP$87,568.58
₡25,237.64
List Price:  ₡35,334.71
You save:  ₡10,097.07
L1,273.89
List Price:  L1,783.55
You save:  L509.65
₲392,023.82
List Price:  ₲548,864.71
You save:  ₲156,840.89
$U2,229.98
List Price:  $U3,122.15
You save:  $U892.17
zł204.96
List Price:  zł286.96
You save:  zł82
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.