New Selenium 4 IDE - The Next Generation

Selenium 4: New Features Selenium 4 - New Featues
21 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.91
List Price:  €65.68
You save:  €18.77
£40.47
List Price:  £56.66
You save:  £16.19
CA$68.51
List Price:  CA$95.92
You save:  CA$27.41
A$77.48
List Price:  A$108.49
You save:  A$31
S$68.13
List Price:  S$95.39
You save:  S$27.25
HK$391.71
List Price:  HK$548.43
You save:  HK$156.71
CHF 45.59
List Price:  CHF 63.83
You save:  CHF 18.24
NOK kr550.63
List Price:  NOK kr770.92
You save:  NOK kr220.29
DKK kr350.03
List Price:  DKK kr490.07
You save:  DKK kr140.04
NZ$84.59
List Price:  NZ$118.44
You save:  NZ$33.84
د.إ183.59
List Price:  د.إ257.05
You save:  د.إ73.45
৳5,482.14
List Price:  ৳7,675.43
You save:  ৳2,193.29
₹4,166.70
List Price:  ₹5,833.71
You save:  ₹1,667.01
RM238.95
List Price:  RM334.55
You save:  RM95.60
₦62,835.43
List Price:  ₦87,974.63
You save:  ₦25,139.20
₨13,901.61
List Price:  ₨19,463.37
You save:  ₨5,561.75
฿1,851.47
List Price:  ฿2,592.21
You save:  ฿740.74
₺1,629.79
List Price:  ₺2,281.84
You save:  ₺652.04
B$258.27
List Price:  B$361.60
You save:  B$103.33
R961.74
List Price:  R1,346.51
You save:  R384.77
Лв91.64
List Price:  Лв128.31
You save:  Лв36.66
₩68,881.10
List Price:  ₩96,439.05
You save:  ₩27,557.95
₪189.07
List Price:  ₪264.71
You save:  ₪75.64
₱2,877.02
List Price:  ₱4,028.06
You save:  ₱1,151.03
¥7,738.45
List Price:  ¥10,834.45
You save:  ¥3,096
MX$855.86
List Price:  MX$1,198.27
You save:  MX$342.41
QR182.16
List Price:  QR255.04
You save:  QR72.88
P691.87
List Price:  P968.68
You save:  P276.80
KSh6,723.65
List Price:  KSh9,413.65
You save:  KSh2,690
E£2,403.50
List Price:  E£3,365.09
You save:  E£961.59
ብር2,843.66
List Price:  ብር3,981.35
You save:  ብር1,137.69
Kz41,738.73
List Price:  Kz58,437.56
You save:  Kz16,698.83
CLP$47,621.97
List Price:  CLP$66,674.57
You save:  CLP$19,052.60
CN¥362.26
List Price:  CN¥507.20
You save:  CN¥144.93
RD$2,946.71
List Price:  RD$4,125.63
You save:  RD$1,178.92
DA6,722.05
List Price:  DA9,411.41
You save:  DA2,689.36
FJ$113.84
List Price:  FJ$159.39
You save:  FJ$45.54
Q388.60
List Price:  Q544.08
You save:  Q155.47
GY$10,450.72
List Price:  GY$14,631.85
You save:  GY$4,181.12
ISK kr7,051.58
List Price:  ISK kr9,872.78
You save:  ISK kr2,821.20
DH506.54
List Price:  DH709.20
You save:  DH202.65
L891.33
List Price:  L1,247.93
You save:  L356.60
ден2,887.76
List Price:  ден4,043.10
You save:  ден1,155.33
MOP$403.15
List Price:  MOP$564.45
You save:  MOP$161.29
N$953.60
List Price:  N$1,335.12
You save:  N$381.51
C$1,838.47
List Price:  C$2,574.01
You save:  C$735.53
रु6,662.39
List Price:  रु9,327.88
You save:  रु2,665.49
S/184.06
List Price:  S/257.70
You save:  S/73.64
K189.83
List Price:  K265.79
You save:  K75.95
SAR187.50
List Price:  SAR262.52
You save:  SAR75.01
ZK1,289.99
List Price:  ZK1,806.09
You save:  ZK516.10
L233.45
List Price:  L326.86
You save:  L93.40
Kč1,185.36
List Price:  Kč1,659.60
You save:  Kč474.24
Ft18,487.45
List Price:  Ft25,883.91
You save:  Ft7,396.45
SEK kr544.30
List Price:  SEK kr762.07
You save:  SEK kr217.76
ARS$43,604.59
List Price:  ARS$61,049.92
You save:  ARS$17,445.32
Bs346.40
List Price:  Bs484.99
You save:  Bs138.58
COP$195,320.69
List Price:  COP$273,464.60
You save:  COP$78,143.90
₡25,002.29
List Price:  ₡35,005.20
You save:  ₡10,002.91
L1,233.13
List Price:  L1,726.48
You save:  L493.35
₲370,137.26
List Price:  ₲518,221.78
You save:  ₲148,084.52
$U1,925.98
List Price:  $U2,696.53
You save:  $U770.54
zł202.69
List Price:  zł283.79
You save:  zł81.09
Already have an account? Log In

Transcript

Hello everyone, in this video session, I am going to explain part 19 of selenium four that is new Selenium ID the next generation. So in Selenium four as part of selenium for which is going to be released soon, we are going to get a new ID which is going to be the next generation ID guys, okay, it's going to be the next generation ID pill. Selenium three that is in Selenium one, selenium two and selenium three. We used to use an older version of selenium ID. But this ID got deprecated already. It's not available.

Okay so it already got deprecated guys this older version of selenium Id already got deprecated and when it was like wait and like when there is no Selenium ID available in the market okay there came a new ID guys new Selenium ID the next generation ID we call it so it is released by a company known as athlete tools so as the tools as provided and helping hand to Selenium guys in developing this new Selenium ID Okay, the new Selenium ID is already there so you don't have to wait for it to be released along with Selenium four. Okay, though it's a when it is when the Selenium four is officially released. It will be officially announced though, but in the current okay. Today also it's available days, okay. You don't have to wait for the cylinder. For the very least for this new Selenium ID it is already there in the market guys.

It's developed by applitools to fill the gap of the older version of selenium ID, okay, as it's already got deprecated and it's not supported by the latest versions of the Firefox browsers that is quantum Firefox browsers. Okay. So applitools company has directly jammed in and after talking to Selenium guys they started working and developing this a new Selenium ID and they're already created one so let me show you the new Selenium ID whichever one called to be the Selenium for Selenium ID okay. So the latest generation Selenium ID guys just I already installed it in my in my browser. Okay. You can get it from the Google Chrome add ons and all the stuff Firefox add ons anywhere you can get that you can simply search for Selenium ID and you can get an install this add on.

And then when you try to learn this, the look and feel will be a bit different from the older version, guys. So it's like a cool kind of feel, look and feel is there in the latest version of selenium ID. Okay, so this is this is the latest Selenium ID guys that is already available in the market. Okay, you don't have to wait for this new Selenium ID that is Selenium force ID for the Selenium for to be released Okay, it's already available in the market fine is an extension ID and it's being developed by boom acidosis creating this, okay, these are company guys as we tools.com if you go to this website so this aptitudes company is behind this visual UI testing, okay. And this company has as like given some resources developers and all who actually worked on developing this new and latest Selenium ID okay.

And it's already available in the market if you go to the Selenium HQ slash Selenium ID. Okay, so let's see. Yeah, this one Selenium I found it this is optional web website of this latest source of selenium ID maybe it's not displayed here guys. Okay production website of selenium and then click on that Selenium ID This will take you to the latest Selenium ID the look and feel is completely different from the older OSS of selenium ID guys. And the Selenium ID is contributed by applitools okay it developed and contributed by applitools.com This is a company behind this new latest Selenium ID anyhow. And you can download for Chrome browser Firefox, Rosa and also find a lot of latest features are available here.

This is the next generation whites called next generation I'm going to explain anyhow, okay. So unlike the older version of selenium ID, the new Selenium ID has very good advanced features. Okay. It's as more advanced and capabilities that older Selenium it doesn't have. So let me list on some few of the features here. One of the feature here is like a fallback locator strategy.

Okay, there is a concept known as fallback locator strategy. And it is going to be one of the good feature in Selenium ID Yes, it will increase the stability of the Selenium ID test. So let me explain what is this fallback locator strategy. So, this is an advanced feature in the new latest Selenium ID guys, which is going to be the part of the Selenium four anyhow. Okay. So advanced one of the advanced feature here is fallback locator strategy.

While recording the test in Selenium ID while recording the test in Selenium ID. Let's see, let's record one test. Do some project name use some application you are let's say let me use an application URL like this. Let me show you a practical things to some extent, not completely but to some extent, I will be able to do that in this video session. It started recording and let me maximize the time let me type some text here. And while I'm typing the text here, You see the things are getting recorded as you see recorded clips I now stopped the recording process you see it's asking for some test them do some testaments okay to see all the spot recorded while I'm while I'm recording on the server I'm performing some activities during the Selenium ID recording process, which is similar to the older version of selenium ID anyhow, okay.

So here guys, if you take this example clicker name is contiguous there. Apart from this name is called cue other locators are also inside the same element okay. The same export for the same exports failed. Multiple locators are available here. You see, apart from this name is called fuel locator for locating this text possible Selenium ID is automatically recorded multiple locators. So why am I explaining all this multiple locators?

Because this is related to the fallback locator strategy where, okay, let's assume that this name is for the queue is not working, okay? It's not locating the required x field that we have recorded. Okay. So in that case, guys, instead of failing the car Blood Test Selenium ID we'll choose the second locator here okay and try with the second locator and see if it is locating or not if it is still not locating it will go to the third locator okay for the locator like that it will keep on continuing until all the locators are done. If all the locators are not able to look at then only it will face a test case. Otherwise if one of the locator out of this multiple capture located for the same UI element is working then the test will pass.

Okay. That is a fallback locator strategy in selling the older version of selenium ID this fallback look at strategy was not available to make the test more stable okay. And to increase the stability, body color stable assigned the reliability of the test, this fallback locator strategy got introduced in the new Selenium ID which is a very good feature guys okay, because the test will become stable and will not fail much. Okay. So that is one thing. The next thing is automatically weights.

So if you are running this test, okay, if the application is taking over of time to load it will wait a second, okay? It will only continue only when the UI elements or application is completely loaded automatically weights are there. You don't have to set the weights between these commands to wait for this web page to load or for a particular URL meant to wait okay? You don't have to provide any explicit weights. A inbuilt a mechanism for automatically waiting for the survey pages to load or the elements to load is already available there are there in the rhenium ID that is another good feature. And you can also perform visual testing guys okay.

So, using this Selenium ID recorded test, what you can do is like even check the functionality of the application. But in real time, you cannot check whether the law the proper logo is displayed the color of the locker is properly let's say today the this particular text is in our black color and it's expected to be black. But tomorrow somehow due to some mistake, this particular text is getting displayed in some orange color or blue color. Okay, then how to test that We cannot test that using this functional testing, right? This will only check whether this text is there, but it will not check whether the proper color is displayed or not. For that case, we have to perform visual testing visually, we have to confirm whether the UI and all the things goi of this particular page is properly there or not.

For that, we have to perform visual testing guys. So the company behind this visual testing is applitools. So they have given some some kind of additional plugins where you can install with this new Selenium ID using which you can perform visual testing also. Okay. So such kind of advanced features are there in the new Selenium IDE, your latest Selenium ID, whatever you call, okay, it's a next generation ID guys it's going to be definitely the next generation because of this advanced features that it has. And apart from all this, we also have another advanced feature like Selenium ID command line runner, okay.

Not only can you do a test from the Selenium ID UI, screen that you are seeing here, but also Okay, you can execute this particular test from the command line also, let me save this project. Okay, so let me show you practically one of the tests that you can execute from the command line. Let me save in the downloads. J Fox dot this is like generally you will get this extension by default guys, but in some cases you may not get the extension so you have to view manually like dark side and then say all files and save it. Let's say I am saving in my downloads folder. This particular file is then in my downloads folder, it can show in folder and see whether it is saved on its side file extension is there.

Okay, that's fine. Now, let me open the command line command prompt. I've already installed node j s. Okay. And after installing the node j s in my machine, okay in my mission, I already installed node j software. And after that, I have already installed one of the node okay. Note software that is a Selenium side runner okay.

Selenium hyphen side runner This is already installed here. Okay, this is a node package. So after installing Node JS in your machine, this this is a node.js in your mission of installing then then you can install any of your protocol node packages. Okay, once you have the Node JS in your machine, you can install different node packages as part of that. Okay, I have already installed this package name that is Selenium hyphen siphon runner using that Node JS in this command line. Okay, once I'm not explaining how to install Node JS and selenium side runner because this is off topic, guys, so for Selenium four, okay, I have only I'm trying to demonstrate how, like the features of selenium ID Okay, the new Selenium ID in Selenium four.

I'm going to demonstrate but I'm not going to take up all the detailed topics on Selenium ID in this video session. That's why skipping a few things that you can observe No, like installation of Node JS or the Selenium side runner installation. This is one of the package they said hello I'm saying that Selenium hyphen side hyphen runner is the node j one of the Node JS packages there are many Node JS packages available in the web. And whatever you want, you can often selling widgets, you can install them okay, as I already installed this Selenium side runner in my command line, okay, you don't have to install it again. Okay, I don't have to install it again. Now during this Node JS package that is Selenium side runner, I am going to run this Selenium ID test okay.

So at a high level I'm explaining this copy this spot. Slash do the filename that is clear Fox dot side which is in the Downloads folder here and press enter. You see it says using from the command line we are now is using this test from the command line instead of the Selenium ID UI. We I am trying to go to the this particular test from the command line. Let's see what's happening. Anything goes on we don't know.

Okay, let's see how it goes it's taking a lot of time which is not expected though. Let's see. Yeah, data mining so to run it saying something slow guys, let's wait whether it will run or not, but most probably should run that's running it seems. So this is like a Selenium side, side runner command line runner guys. Okay, this is whatever you're seeing this is a normal command prompt right? Where you already installed the Selenium side runner, node j s package.

Okay. So, you see the browser that has been launched. Now you are exuding from the command prompt instead of sitting in my UI. Okay, this is one of the advanced features in Selenium IDs. And there are other benefits that you are going to get with any of this command line runner. Which I will cover soon.

Okay, it has opened the application URL. It has maximized a browser window type text and that's it. Okay, done. So it's done guys. Close you see the test has been passed. Okay.

So this is how guys are using the Selenium side runner that is Selenium ID command line runner or side side runner we can call in short. Okay. That is a new thing in this Selenium ID. The Next Generation Selenium IDE has Selenium IDE command and runner with the older version of selenium it doesn't have. Okay. So there are different benefits that you're going to get with this command and burner that is, which supports parallelism is okay.

It supports circularization. That is a good day at the same time, you can exert multiple tests, okay, which I'm like, which I'm not going to demonstrate in this video session anyhow. But this time using this command line runner using this UI, you cannot run the tests in parallel ways. Okay? Using the UI from the UI, you cannot run the tests in parallel. But using the command line runner, this particular command line runner of selenium ID, you can exude the tests in parallel.

That is one thing. And whatever browser you want, as you would suppose, when I run this test, by default, it was running on the Chrome browser. And there are other commands in the Selenium side runner using which you can run your test in either Firefox browser, Chrome browser, Internet Explorer browser, it's a browser like that, okay. There are different browsers that you can run that is cross browser testing, there is nothing but the cross browser testing can be achieved using this command line runner, which is not possible using this Selenium ID UI. Okay. You have to use a command line runner which is in addition to this selling mid July to Okay, in which parallelization and cross browser testing is possible.

Is it good getting the same set of say multiple tests at the same time is parallelization and it Getting on multiple different types of browsers is the cross browser testing. And apart from that, on the top of that, you can also do the Sauce Labs education. Okay, Sauce Labs has, like a test Labs is one of the cloud platform. Okay, so instead of measuring your Selenium ID test in your local machine, you can actually go through go to this Sauce Labs a cloud platform and configure it in such a way that your Selenium ID test will instead of running in the local machine will run on the remote machine that is hosted in the sauce lab store platform. Okay, that's kind of advanced things are there in this Selenium ID next generation Selenium ID that is new Selenium ID, which is going to be a part of the synonym for Okay, anyhow, it's already there in the market.

Yes, you can use it okay. You don't have to wait for the Selenium for to be released for using this new Selenium ID or the latest Selenium ID that is being developed or contributed by the company known as atolls.com. Okay. So apart from all this stuff, guys, apart from all this stuff, like in one of the conference in Bangalore, Jon Stewart, one of the founding member of selenium has announced that it is going to have a new plug in system. Okay, I'm not aware of like what exactly this is, but it set a text level for me just for now. Okay?

These things are clear for me all the other things are clear for me. But this new plug in system is not available or so. We don't have much information on the web also. So as per the new plugin system, there are like a asper that video that is a biannual conference Selenium conference video, where Simon Stewart was announcing the new things in new Selenium ID he was mentioning that you can declare your own locator strategy. Okay, I don't know like what exactly that means. But let's wait for the complete features to be available in new Selenium ID to understand this particular statements like new plugin system, which will allow you to declare your own locator strategy and run your Selenium on any browser vendor.

Okay. So this plugin or there may be some plugin, I guess, system that will allow you to run your tests. MIT test on different browsers it seems okay. But these two statements are not clear for me so far. Okay, so but other remaining things are very good and clear and they are very advanced and selenium ID falls into their codeless test automation tools okay. Selenium ID falls into which category is colas cordless test automation tool, okay.

You don't require any programming knowledge or something you can sell simply record and playback and all this stuff okay. And like a new market in the market there are many cordless test automation tools available and as part of the same instead you were telling guys don't want to leave hopes on the older version of selenium Id like that. And they want to improve the Selenium ID so that it will be like very good competitor in the cordless test automation tools market. Having a lot of coolest test automation tool. What it is okay like one of the qualities like stableness of the test like visual A lot of things are there right automatically waiting without failing okay. So, all these things like these are like drawbacks a lot of drawbacks will be there in the Polish test automation tool.

When you go with this older Selenium ID a lot of drawbacks are there when you consider it as a codeless test automation tool come into the latest new Selenium ID they are overcoming those drawbacks okay they are like lessening the maintenance problems is there another advanced feature is also there guys that I forgot to mention here use the dis okay you can reuse the disposal which was not there in older version of selenium ID in new Selenium ID you can actually reuse a test okay. So like a lot of maintenance will be reduced in older Selenium ID a lot of maintenance was there because you cannot reuse a test but in new Selenium ID, which is a cordless test automation tool. And it's a future hope for Selenium guys to be the best, holistic automation tool in the market. As per that they have a lot of problems that are there in old us and new idea and and As part of that they even introduced the reusing the tests, for example, you have a login test.

And other tests actually depend on the login test. Let's say you can reuse a login test and all the other remaining districts, okay? You don't have to do modification. If login test fails in every every test, you only have the chance to log in. That's how the usability counts, right? It will reduce a lot of maintenance also, such an all new features are there in the new Selenium ID and, and selenium guys don't want to live up on this latest set of selenium ID.

Because older Selenium IDE has a lot of drawbacks, and they rectified that in the latest cilium ID. Therefore, the applitools developers who are making this goal list at a restaurant or mission dude to go to the next level in the market, okay. So that's all about the new Selenium ID guys, which is going to be the part of the Selenium four anyhow, and you can write right away that is available in the market so you can simply download, install and all and do all these things. Again, you can experiment all this stuff. So that's it guys. In the next video session, I am going to explain other pending topics on Selenium four and the new features.

Okay, so that's it. See in the next video session. Thank you. Bye

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.