René's URL Explorer Experiment


Title: Parameter 'browser' is required by @Configuration on method setUp but has not been marked @Optional or defined · Issue #10 · browserstack/testng-browserstack · GitHub

Open Graph Title: Parameter 'browser' is required by @Configuration on method setUp but has not been marked @Optional or defined · Issue #10 · browserstack/testng-browserstack

X Title: Parameter 'browser' is required by @Configuration on method setUp but has not been marked @Optional or defined · Issue #10 · browserstack/testng-browserstack

Description: Hello, I am getting "Parameter 'browser' is required by @configuration on method setUp but has not been marked @optional or defined" message while running my test class I have extended my base class to test class as well as I have added ...

Open Graph Description: Hello, I am getting "Parameter 'browser' is required by @configuration on method setUp but has not been marked @optional or defined" message while running my test class I have extended my base clas...

X Description: Hello, I am getting "Parameter 'browser' is required by @configuration on method setUp but has not been marked @optional or defined" message while running my test class I have ext...

Opengraph URL: https://github.com/browserstack/testng-browserstack/issues/10

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Parameter 'browser' is required by @Configuration on method setUp but has not been marked @Optional or defined","articleBody":"Hello,\r\nI am getting \"Parameter 'browser' is required by @Configuration on method setUp but has not been marked @Optional or defined\" message while running my  test class\r\nI have extended my base class to test class as well as I have added browser and url values in testng xml\r\nPlease refer code below\r\n==================================================================\r\nBase class\r\npublic class Baseclass_1 \r\n{\r\npublic static WebDriver driver;\r\n\t\r\n\t\r\n\t@Parameters({\"browser\",\"url\"})\r\n\t@BeforeClass\r\n\tpublic  void setUp(String browser,String url)\r\n\t{\r\n\t\tif(browser.equalsIgnoreCase(\"firefox\"))\r\n\t\t{\r\n\t\t\tSystem.setProperty(\"webdriver.gecko.driver\",\"G:\\\\Javaprogramming\\\\Selenium\\\\Selenium Setup\\\\geckodriver.exe\");\r\n\t\t\tdriver=new ChromeDriver();\r\n\t\t\t\r\n\t\t}\r\n\t\telse if(browser.equalsIgnoreCase(\"chrome\"))\r\n\t\t{\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\t\tdriver.get(url);\r\n\t\tdriver.manage().window().maximize();\r\n\t\t\r\n\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\r\n\t\t\r\n\t\t\r\n\t}\r\n\t\r\n\t@AfterClass\r\n\tpublic void tearDown()\r\n\t{\r\n\t\tdriver.quit();\r\n\t\t\t\r\n\t}\r\n===================================================================\r\nTest class\r\npublic class FBTestnew extends Baseclass_1\r\n{\r\n\tWebDriver driver;\r\n\t\r\n\t@Test\t\r\n\tpublic void LogintoFB()\r\n\t{\r\n\t\t\r\n\t\t// Baseclass_1.setUp(\"firefox\",\"https://www.facebook.com/\");\r\n\t\tFBHome FB_Hpme =PageFactory.initElements(driver, FBHome.class);\r\n\t\tFB_Hpme.LogintoFB(\"username\", \"password\");\r\n\t\t\r\n\t}\r\n\r\n}\r\n===================================================================\r\nTestng xml\r\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\r\n\u003c!DOCTYPE suite SYSTEM \"http://testng.org/testng-1.0.dtd\"\u003e\r\n\u003csuite name=\"Parameterization Test Suite\"\u003e\r\n\u003cparameter name=\"browser\" value=\"Firefox\"/\u003e\r\n\t\u003cparameter name=\"url\" value=\"https://www.facebook.com\"/\u003e\r\n\t\u003ctest name=\"Testing Parameterization\"\u003e\r\n\t\r\n\t\r\n\t\t\u003cclasses\u003e\r\n\t\t\t\u003cclass name=\"Com.Browser.Baseclass_1\" /\u003e\r\n\t\t\u003c/classes\u003e\r\n\t\u003c/test\u003e\r\n\u003c/suite\u003e\r\nBut running a test class or testng xml The browser is not launched.\r\nExecuring RunAs TestNG  class from test class following error seen\r\n\r\nFAILED CONFIGURATION: @BeforeClass setUp\r\norg.testng.TestNGException: \r\nParameter 'browser' is required by @Configuration on method setUp but has not been marked @Optional or defined\r\n===============================================================\r\nWhere as on running testng by executing Run As TestNG Suite, following error seen.\r\n[RemoteTestNG] detected TestNG version 6.8.0\r\n[TestNG] Running:\r\n  G:\\Javaprogramming\\Maven2\\testng.xml\r\n===============================================\r\nParameterization Test Suite\r\nTotal tests run: 0, Failures: 0, Skips: 0\r\n===============================================\r\nCan Anyone help me?","author":{"url":"https://github.com/meetparag81","@type":"Person","name":"meetparag81"},"datePublished":"2018-02-28T04:22:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":34},"url":"https://github.com/10/testng-browserstack/issues/10"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a0c57a89-07b4-7c5b-04f3-8b3f02753016
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB046:2946F1:49B94E3:6279F41:696DFC1D
html-safe-nonce77819f46b62b0fec44d6b49583799df15ce68f99ce4daae0f17f5f4cfa374cf2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDQ2OjI5NDZGMTo0OUI5NEUzOjYyNzlGNDE6Njk2REZDMUQiLCJ2aXNpdG9yX2lkIjoiMzA5MjE1NzQ3MTY4NjI2MTc4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7268b3afa7816262306f442508aa0bcc75a08799a4ed25c5d50c8fdf0f9798ae
hovercard-subject-tagissue:300886785
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/testng-browserstack/10/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ced5fbcd9a57dae549aa9a924d78e285bad770751b3d75dba3f0582e31c37f38/browserstack/testng-browserstack/issues/10
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ced5fbcd9a57dae549aa9a924d78e285bad770751b3d75dba3f0582e31c37f38/browserstack/testng-browserstack/issues/10
og:image:altHello, I am getting "Parameter 'browser' is required by @configuration on method setUp but has not been marked @optional or defined" message while running my test class I have extended my base clas...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemeetparag81
hostnamegithub.com
expected-hostnamegithub.com
None4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064
turbo-cache-controlno-preview
go-importgithub.com/browserstack/testng-browserstack git https://github.com/browserstack/testng-browserstack.git
octolytics-dimension-user_id1119453
octolytics-dimension-user_loginbrowserstack
octolytics-dimension-repository_id52861075
octolytics-dimension-repository_nwobrowserstack/testng-browserstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id52861075
octolytics-dimension-repository_network_root_nwobrowserstack/testng-browserstack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7e5ae23c70136152637ceee8d6faceb35596ec46
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/browserstack/testng-browserstack/issues/10#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Ftestng-browserstack%2Fissues%2F10
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Ftestng-browserstack%2Fissues%2F10
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=browserstack%2Ftestng-browserstack
Reloadhttps://patch-diff.githubusercontent.com/browserstack/testng-browserstack/issues/10
Reloadhttps://patch-diff.githubusercontent.com/browserstack/testng-browserstack/issues/10
Reloadhttps://patch-diff.githubusercontent.com/browserstack/testng-browserstack/issues/10
browserstack https://patch-diff.githubusercontent.com/browserstack
testng-browserstackhttps://patch-diff.githubusercontent.com/browserstack/testng-browserstack
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fbrowserstack%2Ftestng-browserstack
Fork 157 https://patch-diff.githubusercontent.com/login?return_to=%2Fbrowserstack%2Ftestng-browserstack
Star 82 https://patch-diff.githubusercontent.com/login?return_to=%2Fbrowserstack%2Ftestng-browserstack
Code https://patch-diff.githubusercontent.com/browserstack/testng-browserstack
Issues 10 https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/issues
Pull requests 14 https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/pulls
Actions https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/actions
Projects 0 https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/security
Please reload this pagehttps://patch-diff.githubusercontent.com/browserstack/testng-browserstack/issues/10
Insights https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/pulse
Code https://patch-diff.githubusercontent.com/browserstack/testng-browserstack
Issues https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/issues
Pull requests https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/pulls
Actions https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/actions
Projects https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/projects
Security https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/security
Insights https://patch-diff.githubusercontent.com/browserstack/testng-browserstack/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/browserstack/testng-browserstack/issues/10
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/browserstack/testng-browserstack/issues/10
Parameter 'browser' is required by @Configuration on method setUp but has not been marked @Optional or definedhttps://patch-diff.githubusercontent.com/browserstack/testng-browserstack/issues/10#top
https://github.com/meetparag81
https://github.com/meetparag81
meetparag81https://github.com/meetparag81
on Feb 28, 2018https://github.com/browserstack/testng-browserstack/issues/10#issue-300886785
@configurationhttps://github.com/configuration
@optionalhttps://github.com/optional
@configurationhttps://github.com/configuration
@optionalhttps://github.com/optional
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.