Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2663135

Browse files
Update README.md
1 parent 69ec723 commit 2663135

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

‎README.md‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,47 @@
22
![LambdaTest Logo](https://www.lambdatest.com/static/images/logo.svg)
33
---
44

5+
## Prerequisites for Python Behave tutorial
6+
7+
### 1. Python Installation
8+
9+
* [Download Python](https://www.python.org/downloads/) and click on Add to path and install.
10+
11+
* To check if python installed correctly you need to go to terminal type python in command prompt. It will show you the current version you have downloaded.
12+
13+
### 2. LambdaTest Credentials
14+
* To use Pytest with LambdaTest, make sure you have the 2 environment variables LT_USERNAME and LT_ACCESS_KEY set. To obtain a username and access_key, sign up for free [here](https://lambdatest.com). After signing up you can find your username and access key [here](https://accounts.lambdatest.com/detail/profile).
15+
* In the terminal export your LambdaTest Credentials as environmental variables:
16+
17+
* For Mac/Linux
18+
```
19+
$ export LT_USERNAME=<your LambdaTest username>
20+
$ export LT_ACCESS_KEY=<your LambdaTest access key>
21+
```
22+
23+
* For Windows
24+
```
25+
set LT_USERNAME=<your LambdaTest username>
26+
set LT_ACCESS_KEY=<your LambdaTest access key>
27+
```
28+
29+
### 3. Setup
30+
31+
* Clone [Python-Behave-Selenium](https://github.com/LambdaTest/python-behave-selenium.git) from GitHub.
32+
* Navigate to the cloned directory
33+
* Install project dependencies by running command:
34+
35+
```
36+
pip install -r requirements.txt
37+
```
38+
39+
Requirements.txt file includes the following:
40+
41+
```
42+
Paver==1.3.4
43+
selenium==3.141.0
44+
behave==1.2.6
45+
```
546
### Environment Setup
647

748
1. Global Dependencies

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /