-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Added command to run python script to follow first script example #1710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sadik312
wants to merge
18
commits into
SeleniumHQ:trunk
Choose a base branch
from
sadik312:sadik-feature-branch
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2c7aeb6
added command to run python script to follow first script example
sadik312 671371d
added execution commands for all languages to follow script example
sadik312 b7d976a
Merge branch 'trunk' into sadik-feature-branch
sadik312 f4fcf49
Merge branch 'trunk' into sadik-feature-branch
sadik312 10e2239
Merge branch 'trunk' into sadik-feature-branch
sadik312 98e26c1
added microsoft .NET cross-platform installation link
sadik312 ac1cf3d
Merge branch 'trunk' into sadik-feature-branch
sadik312 f16bf24
Merge branch 'trunk' into sadik-feature-branch
sadik312 a2865f9
Merge branch 'trunk' into sadik-feature-branch
sadik312 f1ef893
Merge branch 'trunk' into sadik-feature-branch
sadik312 6081a73
Merge branch 'trunk' into sadik-feature-branch
sadik312 8ec6d1f
Merge branch 'trunk' into sadik-feature-branch
sadik312 4bf0f96
Merge branch 'trunk' into sadik-feature-branch
sadik312 38aa219
Merge branch 'trunk' into sadik-feature-branch
sadik312 ec26159
Merge branch 'trunk' into sadik-feature-branch
sadik312 cade154
Merge branch 'trunk' into sadik-feature-branch
sadik312 8fdaa02
Merge branch 'trunk' into sadik-feature-branch
sadik312 e9a52e3
Merge branch 'trunk' into sadik-feature-branch
sadik312 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Running all test from Selenium C# example | ||
|
||
Follow these steps to run all test examples from selenium C# | ||
|
||
1. Clone this repository | ||
|
||
``` | ||
git clone https://github.com/SeleniumHQ/seleniumhq.github.io.git | ||
``` | ||
|
||
2. Navigate to `dotnet` directory | ||
|
||
``` | ||
cd seleniumhq.github.io/examples/dotnet | ||
``` | ||
|
||
3. Install dependecies using dotnet | ||
|
||
``` | ||
dotnet restore | ||
``` | ||
|
||
4. Run all tests | ||
> Open the terminal or command prompt and navigate to the directory where your test project's .csproj file is located and run the following command in the terminal | ||
|
||
``` | ||
dotnet test | ||
``` | ||
|
||
# Execute a C# script | ||
|
||
Use this command to run a C# script and follow the first script example | ||
|
||
``` | ||
dotnet run HelloSelenium.cs | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Running all tests from Selenium java example | ||
|
||
Follow these steps to run all test examples from selenium java | ||
|
||
1. Clone this repository | ||
|
||
``` | ||
git clone https://github.com/SeleniumHQ/seleniumhq.github.io.git | ||
``` | ||
|
||
2. Navigate to `java` directory | ||
|
||
``` | ||
cd seleniumhq.github.io/examples/java | ||
``` | ||
|
||
3. Install & build dependencies using grandlew | ||
|
||
``` | ||
gradle build | ||
``` | ||
|
||
4. Run all tests | ||
|
||
``` | ||
gradle test | ||
``` | ||
|
||
# Compile a java file | ||
|
||
Use this command to compile a java script and follow the first script example | ||
|
||
``` | ||
javac FirstScript.js | ||
``` | ||
|
||
# Execute a java file | ||
|
||
Use this command to run a java file | ||
|
||
``` | ||
java FirstScript | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Running all tests from Selenium kotlin example | ||
|
||
Follow these steps to run all test examples from selenium kotlin | ||
|
||
1. Clone this repository | ||
|
||
``` | ||
git clone https://github.com/SeleniumHQ/seleniumhq.github.io.git | ||
``` | ||
|
||
2. Navigate to `kotlin` directory | ||
|
||
``` | ||
cd seleniumhq.github.io/examples/kotlin | ||
``` | ||
|
||
3. Install dependencies (using maven) | ||
|
||
``` | ||
mvn clean install | ||
``` | ||
|
||
4. Run all tests | ||
|
||
``` | ||
mvn test | ||
``` | ||
> or to run all tests in a specific class you can run `mvn -Dtest=classname test` | ||
|
||
# Compile kotlin script and follow the first script example | ||
|
||
Compile kotlin file | ||
``` | ||
kotlinc FirstScriptTest.kt -include-runtime -d FirstScriptTest.jar | ||
``` | ||
|
||
# Execute a kotlin script | ||
|
||
Execute | ||
``` | ||
java -jar FirstScriptTest.jar | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.