Configuring the Test Project

14 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

Hello, continuing here to elaborate our test project, we will now set it up so that it gains successfully received in both of our test scripts. The first thing to be done is to include that in the SRC in a folder of our project a package or a package named cone dot example dot that why is that? Because this is the default package, there is a difference in our export the discretes. Yeah back here we are different name is created a reverse here we are cure So, access in here for example, script to one of our scripts. You'll do check the standard package comm dot example dot tests. There is often too and here too.

So opening our project here, remembering that the project was created the budget did not exhibit because it is hidden here in this side by just clicking here on this icon. Indeed you will display here all my projects in jail entities here. My ino project. I'm going to expand it oh can I can I fix it? Yeah. Anyway then notice that I default library was created here which is in the Java library because it is a project Java has to have the Java library.

And it is was also created in the src folder that I can see. He would be as if you was the root folder of the project. Then right clicking, I will come here in New by clicking on the folder. I mean going to coming near you. I will put here package and I will put the second name of package that will be read dodge example. Dodge tests for sicari reasons we can also copy directly from our script.

Got here and I mean going to pace here. It is the right thing. You're going to forget some handwriting, something like that. It's just that either read grades there in the answers folder. I am just going to click Finish ready. Here's my package, notice that it is white because no class is assigning the referring see.

So it is just the first procedure to be done. Now let's set up the necessary libraries for our project. The first of these is the fast energy framework, which you can download and install it through this option here, Eclipse in marketplace. In previous versions, you should all this procedure install new software. And now it is seems that the new version of Eclipse have it is new work delfy have downloaded the libraries, you're going to come here to click on it in search you can search for best in eg I will click here and go. Did it reminds a lot of a beautiful study, you know, catch my nature.

Reach the package manager. So you're here, the best energy to wear clips, where I will install by clicking the button Here sighs dash n is already installed on my Eclipse you saw red market here as installed. But if it doesn't, it will appear as installed. You click Install wait for the installation, and they click just ok at the ads. So test Angie has a read will be enabled for your Eclipse. So now after we must install Java, but I already mention it in the previous class, you will download the J s E which uses Java for development the most current version possible you will configure the environment variable shortly thereafter.

Let's now refer to the libraries in our project. In addition to test and usually I will have two or three different Selenium client watching this skeezy is the WebDriver for Java in our Selenium in depth nh local server, which is the Selenium standalone server. Both are available on the official seal and website. So before you set up our library is there have you accessed the silly annual downloads website and from the beginning here you can read along with the day stand alone server, which is in this version here. Just click and download the loose start going going to save As I already have, I will not just say and you will also download the WebDriver. For the programming language, you are creating the project.

In our case here, the Selenium client, let's download the Java which is also in the same version of a standalone right. Let's click here on download, you will see started downloading the library. You can go into to save it to as I already have, I'm not going to save either. These two features you can just put here in the athletes workspace that sits there in C column. users that who were clip see that work space so you're here I saved in my WebDriver and in my independent server and how would it work? Now to configure the libraries.

If you just write a few key on the project folder, you go in to view the path, then configure build path service option. using Java build path. Know that you have four tabs source projects, libraries, in order and export. Here in libraries in Node C, Daddy, we already have here our Java library added. So what are they Three that we're going to add now, actually, the two right that would be the test Genji and Sylvania and the seal No, we will encompass both the library WebDriver as well as the standards have. So my first yet in the test Genji I simply go here at library and the knowledge is very we all read show me some libraries that Eclipse already makes available.

By default, including those you add that separately. Then you will show up here for me test gingy I will select it. I will click on next and I will click Finish ready. Here we add the test Genji library Next, we will add the Selenium miscellaneous stuff follows, I will have to click on Add libraries and note that it does not have available here. ie there is no library called the Selenium. I may have I didn't forget to check out the marketplace.

But I think it's hard to have a library already. We've WebDriver and selenium standalone server, but just in case, you can come in here and add it manually by clicking on user library. Click on Next. And in Knott's Berry you already have a library of this on created because I came to use in order project, but I'm just going to come in here and I'm going to remove it And I'm going to do it from scratch. Again, I go to your library, or your choose user library. And I go access user libraries is going to be blank here.

I will click on new, you form the name of my library, reaching the case Sylvania. Okay. And now I'm going to tie up my research to this library. What would that be my library in my server. My Library here is in a dot c format, and the server that is here in the dollar t shirt. formatting Can I come here, click on Add external jars.

I will select the both here notes that I will read it says my ex leaves a workspace here in a view selected here, the two features I downloaded. Click Open. Note that any we want to magically add here my WebDriver library and also my server independent. not present in any arrows. You simply click apply and close. Verify that the checkbox is actually selected from the library and then click Finish.

Ready, sit in your library also added successfully and then just by clicking on upload and Close again. Read, he's that it's our project is already properly configured with the necessary libraries, ending the next step visually so we will perform the import activity of the scripts and then make the appropriate adjustments. You're right. Thanks for the attention and until then

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.