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

Elmasekar/Python-selenium-set-testname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1 Commit

Repository files navigation

How to set test name for automation test in Python-selenium on LambdaTest

To set test name for automation test in Python-selenium on LambdaTest, the following steps can be followed. You can refer to sample test repo here.

Steps

To set test name as method name in UnitTest, the name attribute can be added as a capability in the desired capabilities. For example:

desired_caps = {
 'LT:Options': {
 "build": "Python Demo",
 "name": "Python Demo Test", # Change your test name here
 "platformName": "Windows 11",
 "selenium_version": "4.0.0", 
 },
 "browserName": "Chrome",
 "browserVersion": "98.0",
 }

Run your test

python lambdatest.py

Links:

LambdaTest Community

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