Building Selenium Java Framework from Scratch using Page Object Model | TestNG | Mini Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ธ.ค. 2024

ความคิดเห็น • 143

  • @testing24x7
    @testing24x7 ปีที่แล้ว +12

    You are awesome! Thanks for clearing my doubts on selenium framework. Explanation was very simple and organized and step by steps. 👍

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Welcome

    • @akshaywanjari2279
      @akshaywanjari2279 5 หลายเดือนก่อน

      @@sdetadda can we get github link to clone whole project ??

    • @fruite_145
      @fruite_145 3 หลายเดือนก่อน

      ​@@sdetaddabro same can you make appium android java playlist video course with project

  • @sandhyarampure6256
    @sandhyarampure6256 9 หลายเดือนก่อน +1

    Very informative learnt how to build framework from the scratch Thankyou so much sir

  • @SavayavaKrushikhushi
    @SavayavaKrushikhushi 10 หลายเดือนก่อน +1

    You are gem. I don't know how I found this channel. Fantastic explanation brother

  • @saraniyasathisvari5443
    @saraniyasathisvari5443 ปีที่แล้ว +2

    Expecting Appium framework from you sir. This was amazing. The best framework explanation I have come across.

    • @akshaywanjari2279
      @akshaywanjari2279 5 หลายเดือนก่อน +1

      let me know if anyone get appium frmaework

  • @stutitomar6230
    @stutitomar6230 ปีที่แล้ว +1

    Best video on Selenium framework till date.. thank you so much for the efforts.

  • @BirenkumarSoni
    @BirenkumarSoni 8 หลายเดือนก่อน +1

    Much appreciated your demonstration. Very very useful:)

  • @SP-vq7tg
    @SP-vq7tg 3 หลายเดือนก่อน +2

    Thankyou so much Raghav Sir!!! I donno how to thankyou. I am really excited to see my very first attempt to design framework and automate a website work in the first run itself without any error after blindly following your video. You are great. Please post more such beginner level vidoes.. Would be of great help.. New subscriber here..

    • @sdetadda
      @sdetadda  2 หลายเดือนก่อน

      All the best.

  • @PratikDhake-i4w
    @PratikDhake-i4w ปีที่แล้ว +2

    Really very very helpful session on framework as of now I found. Thanks for such a great video, this helped me a lot and cleared all my doubts The way you explained it from scratch with the real scenario is awesome.

  • @ashokn1423
    @ashokn1423 ปีที่แล้ว +5

    Framework explained very well and any one watch u r video can able to develop end to end real time framework on their need, Thanks a lot for your valuable time and video .

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Welcome. Please help your friends by suggesting this channel to them.

    • @rajeshvepada3171
      @rajeshvepada3171 ปีที่แล้ว

      @@sdetadda Brother nice explanation brother Brother will you please do a video regarding installation of ATU Test tecoreder in the selenium from the scratch which is useful for recording the screen.

  • @Beasthades
    @Beasthades ปีที่แล้ว +5

    The way you explain framework that is awesome. Its help me to understand framework very well. ❤

    • @sdetadda
      @sdetadda  ปีที่แล้ว +1

      Nice to hear that 😊

  • @Baskar_ProCar
    @Baskar_ProCar 8 หลายเดือนก่อน +1

    It's very usefull Thank you so much bro..🤩

  • @UmakantChauhan-q6r
    @UmakantChauhan-q6r 27 วันที่ผ่านมา

    Very clear explanation👍

  • @gundappadhole6527
    @gundappadhole6527 หลายเดือนก่อน +1

    Thanks for the explanation!!!

  • @sandeepsan3476
    @sandeepsan3476 ปีที่แล้ว +1

    Hey thanks for the video it is really helped me to understand the complete framework in short duration ✌

  • @riyashukla1717
    @riyashukla1717 ปีที่แล้ว +1

    It's very helpful to understand

  • @AenKaaf
    @AenKaaf 9 หลายเดือนก่อน

    Very nice bro, keep them coming..

    • @sdetadda
      @sdetadda  2 หลายเดือนก่อน

      More to come!

  • @qatester6425
    @qatester6425 ปีที่แล้ว +5

    Great video, can you share the repository of the project? Thank you.

  • @srikanthyadav5246
    @srikanthyadav5246 ปีที่แล้ว +3

    Thanks for the video

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Welcome

    • @srikanthyadav5246
      @srikanthyadav5246 ปีที่แล้ว +1

      @@sdetadda sir can you make a video of log4j and also provide properties file.... if possible

    • @sdetadda
      @sdetadda  ปีที่แล้ว +3

      @@srikanthyadav5246 Here is the video I've uploaded on log4j2 for Selenium webdriver - th-cam.com/video/RkXTLd0gxMg/w-d-xo.html

  • @talentvista1119
    @talentvista1119 ปีที่แล้ว +1

    Very very useful. Thank you so much.

    • @sdetadda
      @sdetadda  ปีที่แล้ว +1

      Glad it was helpful!

  • @Rehana1238
    @Rehana1238 ปีที่แล้ว +1

    Thank you so much for the explanation

  • @mdsalekinnewaz3093
    @mdsalekinnewaz3093 8 หลายเดือนก่อน

    You are awesome, thanks for making proper explanation, i have a request,please share the github repo for this project.

  • @preciouspearl8583
    @preciouspearl8583 11 หลายเดือนก่อน

    your efforts are appreciatable sir please provide sourcecode without sourcecode its hard to learn

  • @naveenthippanaboina8712
    @naveenthippanaboina8712 ปีที่แล้ว

    Explanation was very good and please share code in description

  • @Avinash_sammetla
    @Avinash_sammetla ปีที่แล้ว +1

    very helpful, thank you! i have a small doubt so when we create testcase 2 and convert it into testngclass it will generate its xml in same testng.xml and we can pass data there? for newly created test case two?

  • @KenjiMiller
    @KenjiMiller ปีที่แล้ว

    Amazing video, thank you so much

  • @rk498r
    @rk498r ปีที่แล้ว +2

    Can you please share the repository link for this awesome framework? Thank you!

  • @prasadgoud1295
    @prasadgoud1295 ปีที่แล้ว +2

    Hey thanks for the video it is really helped me to understand the complete framework in short duration 💯,if possible could you please send the code for this framework..?

  • @avishekroy
    @avishekroy ปีที่แล้ว +1

    Thanks for the detailed framework explanation. Much appreciated. :)
    Is it possible to share the repository? That will be of great help.
    Thanks again.

  • @SineQuaNon1
    @SineQuaNon1 ปีที่แล้ว +1

    Many thanks for this great video. The folders that you created at the beginning, are they Directory in IntelliJ?

    • @sdetadda
      @sdetadda  ปีที่แล้ว +1

      Thank you and Yes you are right, Those are directories created for the selenium framework developed using Eclipse IDE.

  • @deepayadav7155
    @deepayadav7155 หลายเดือนก่อน

    Your voice❤🫣 also the tutorial 🎉

  • @yogeshbhavsar9368
    @yogeshbhavsar9368 2 หลายเดือนก่อน

    The way you explain framework . Please share GIThub code URL for all sessions

  • @RAJESHS-w2p
    @RAJESHS-w2p 9 หลายเดือนก่อน

    Good Explanation.. How to add Screenshot in Extent Report
    for Every steps

    • @sdetadda
      @sdetadda  7 หลายเดือนก่อน

      Will upload soon

  • @AvinashSingh-bv6nn
    @AvinashSingh-bv6nn 20 วันที่ผ่านมา

    Sir if i hate to test loginpage , dashboard page, myinfo page so i have to create page object model for each page????

  • @jbhatnagar1
    @jbhatnagar1 หลายเดือนก่อน

    Hello Raghav sir
    Please explain me why did u use
    “src/main/java” folder to create Selenium project
    Instead of “src/test/java” . It is confusing me
    Thanks

  • @rasik7000
    @rasik7000 9 หลายเดือนก่อน

    Thank you for this! Very helpful. Could you please provide a link for the files so it is easy for everyone to follow along?

  • @lakshminarayanasindiri9586
    @lakshminarayanasindiri9586 5 หลายเดือนก่อน +1

    Why did u written extent report and listeners code in base test itself . Can't it be written in another place?

  • @AbhitesterTester_ak
    @AbhitesterTester_ak 18 วันที่ผ่านมา

    Hello sir, can you share the link of the videos where you have explain about the code that you are copying from the notepad at 5.32 minutes of video.

  • @subhajitmandal9196
    @subhajitmandal9196 4 หลายเดือนก่อน +1

    Awesome video.. Could you please provide us all the codes for this in Git-hub repository .

    • @sdetadda
      @sdetadda  4 หลายเดือนก่อน +1

      Please follow the video till the end and let me know if you have any issues creating the Selenium framework for webui testing.

  • @swapnil6569
    @swapnil6569 2 หลายเดือนก่อน +1

    Hello Sir,
    In above code how to execute multiple test cases? I have configured the code according to video and also I can able to run the code but if i add multiple test cases then only one test case get executed other get skipped.. please sir do let me know if you have suggestions.

    • @sdetadda
      @sdetadda  2 หลายเดือนก่อน

      Use testng.xml

    • @swapnil6569
      @swapnil6569 2 หลายเดือนก่อน

      Thanks for reply, I do got the line where test case get skipped when I debug code the skip happened on BaseTest Class on following line
      logger = extent.createTest(testMethod.getName());

  • @itserror96bish36
    @itserror96bish36 ปีที่แล้ว +1

    Thanks a lot brother, Is there repo link to refer this project ?

  • @saakdiahamimi7lppp8axlyi48
    @saakdiahamimi7lppp8axlyi48 ปีที่แล้ว +1

    Thanks for the video. Do you have any repo for this code please?

  • @asifmohammed6214
    @asifmohammed6214 10 หลายเดือนก่อน

    Thanks a lot for sharing this knowledge with us, it would be great help if you can share the github link for this framework.

  • @anneydigvijay1536
    @anneydigvijay1536 ปีที่แล้ว

    Hi, why should we use assertTrue in page objects classes? Is it recommend?

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Yeah, we can use.Nothing wrong with that.

    • @anneydigvijay1536
      @anneydigvijay1536 ปีที่แล้ว

      @@sdetadda I think it is not recommended

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      I did not say it is recommended or not recommended, I said it can be used within page objects classes as well and there is nothing wrong if you want to check on or validate something then and there in the framework; user/automation tester usually put assertion in test script when the objective is more on getting number of pass and failed tests case. I hope it is clear now. Please let me know if you have any further queries, thanks. :)

  • @balajisanatan8126
    @balajisanatan8126 ปีที่แล้ว

    Awesome. Can you share the repository....

  • @SSS3-10-12
    @SSS3-10-12 ปีที่แล้ว +2

    Could you please explain why we are not using page Factory?

    • @grabieldelanieved.380
      @grabieldelanieved.380 ปีที่แล้ว

      x2

    • @sdetadda
      @sdetadda  ปีที่แล้ว +1

      There will be a separate video for page factory. Stay tuned! thanks.

  • @adityatripathi3379
    @adityatripathi3379 9 หลายเดือนก่อน

    2 problems I encountered while implementing this Framework in my project.
    1. How to add screenshots at log level as well, since you didn't define any method as generic to capture the Screenshot?
    2. If you write multiple tests in Test file, then after evey test, new chrome browser window openes, which should not be the case.
    Please provide solutions to these.

  • @alokkumarsingh2766
    @alokkumarsingh2766 ปีที่แล้ว +1

    my control is not connecting to TestCase1 class (i.e. after launching the browser, test case is getting finish, it not calling my @Test method). any thoughts?

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Please follow the video thoroughly to get it fixed on your own; share the stack trace with me otherwise; will take a look and suggest.

  • @sunnysinha8688
    @sunnysinha8688 3 หลายเดือนก่อน

    Hey, I'm unable to import all these packages, errors are appearing, proper suggestions aren't also available form eclipse, what should I do ?, can I get any link to your source code ?

  • @sridharmurari3007
    @sridharmurari3007 ปีที่แล้ว

    One question does Base test to be in src/main or src/test? because all test to be in test folder ?

    • @papunkumar8761
      @papunkumar8761 2 หลายเดือนก่อน

      It's up to you. But for the better convention it is wise to keep the test cases in the src/test/java folder

  • @grabieldelanieved.380
    @grabieldelanieved.380 ปีที่แล้ว +3

    Please could you share the repository with the solution? thanks!

    • @sdetadda
      @sdetadda  ปีที่แล้ว +1

      Will push the code to git or to some common path soon and provide the link in description of this video.

    • @AjayAwdhut
      @AjayAwdhut ปีที่แล้ว

      ​@@sdetaddacould you please provide the link?

  • @sandeepbodkhe8974
    @sandeepbodkhe8974 ปีที่แล้ว +1

    Hi, Could you please provide code for reference ?

  • @DadaKhadarBasha-v3h
    @DadaKhadarBasha-v3h ปีที่แล้ว +1

    Can i get the Git hub link for this Repo?

  • @imrankhanlodhimd
    @imrankhanlodhimd 8 หลายเดือนก่อน

    any specific reason to create Constants as Interface?

  • @rajivgift123
    @rajivgift123 6 หลายเดือนก่อน

    An error stating" PDFBox IOException: End of File, expected line" is displayed while automating PDF reports

  • @babarao-u4f
    @babarao-u4f ปีที่แล้ว

    Hi @sdetadda , Lecture is very helpfull. Please share Repo / Code.
    Thanks.

  • @T3tu21
    @T3tu21 8 หลายเดือนก่อน

    do you have a repo for this project?

  • @githinjibonface8486
    @githinjibonface8486 ปีที่แล้ว +1

    Can i use page Factory model on my project?

  • @rokkingrronak4464
    @rokkingrronak4464 ปีที่แล้ว +1

    Hi sir can u plz let me know how can we access credentials stored in keyooass software using selenium java

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Noted, Will look into this scenario and upload the video on this.

  • @fajarajipamungkas8265
    @fajarajipamungkas8265 21 วันที่ผ่านมา

    please help me, i can't access the tutorial ninja demo sir 🙏

  • @DadaKhadarbasha
    @DadaKhadarbasha ปีที่แล้ว

    Great explanation, Can i get the repo template link?

  • @manikumar-ix7sr
    @manikumar-ix7sr ปีที่แล้ว

    Can you please provide the github link of this project ,as many ppl asked about the same.
    Can you please provide the gitub link of this project??

  • @chhandakbhattacharya6149
    @chhandakbhattacharya6149 8 หลายเดือนก่อน

    Any git repo for this framework?

  • @doubts-z5i
    @doubts-z5i ปีที่แล้ว

    Hi ..How can I fix? " The method size() is undefined for the type WebElement" I was following your Video and stuck up on this

  • @deepakhire4970
    @deepakhire4970 3 หลายเดือนก่อน

    Could you please provide github link of this Demo project

  • @DadaKhadarbasha
    @DadaKhadarbasha ปีที่แล้ว

    Any update on the Repo?

  • @FunMasti
    @FunMasti ปีที่แล้ว +1

    kindly share repository link please

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Will push the code to git or to some common path soon.

  • @doubts-z5i
    @doubts-z5i ปีที่แล้ว

    "The method size() is undefined for the type WebElement." how can I fix this? .I was flowing your video

    • @sdetadda
      @sdetadda  ปีที่แล้ว +1

      Check to see if
      ElementFetch class has below package and import at beginning of the class-
      package utils;
      import java.util.List;
      and also if LoginPageEvents has imported ElementFetch as below-
      import utils.ElementFetch;

  • @dasarianveshitha7386
    @dasarianveshitha7386 ปีที่แล้ว +1

    Can you give this code for git hub it's more useful

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Will push the code to git or some common path soon.

  • @stormwindyt
    @stormwindyt ปีที่แล้ว

    possible could you please send the code for this framework..?

  • @RamatEbudola
    @RamatEbudola ปีที่แล้ว +1

    I got lost immediately your initialised the extent report. Please push your code to repo.

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Will push the code to git or to some common path soon.

    • @asif4world
      @asif4world 7 หลายเดือนก่อน

      @@sdetadda Hi, awesome explanation, we are waiting for the github link. Please share with us so that we can practice.

  • @Primo-r1l
    @Primo-r1l ปีที่แล้ว

    Do you have any repo for this code? Thanks!

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Will push the framework code to git or some common path soon.

  • @piyumidanthanarayana9750
    @piyumidanthanarayana9750 8 หลายเดือนก่อน

    Can you share this mini project ?

  • @akhtarkazi4085
    @akhtarkazi4085 10 หลายเดือนก่อน

    Please steps for dependency

  • @sumanmukherjee7161
    @sumanmukherjee7161 ปีที่แล้ว +1

    can you please share the github link for this project

    • @sdetadda
      @sdetadda  ปีที่แล้ว +1

      Will push the code to git or to some common path soon and provide the link in description of this video.

  • @FhdRahmN
    @FhdRahmN ปีที่แล้ว

    why its still showing errors for after importing in baseTest

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Please follow the video thoroughly to get it fixed on your own; share the stack trace with me otherwise; will take a look and suggest.

  • @NarendraMargam
    @NarendraMargam 4 หลายเดือนก่อน

    Hi Can u provide full code of framework

  • @kotaanirudh1388
    @kotaanirudh1388 9 หลายเดือนก่อน

    please provide the code
    how can we practice without code

  • @shashikanthpalthya6047
    @shashikanthpalthya6047 ปีที่แล้ว

    facing an error
    java.lang.Error: Unresolved compilation problem:
    Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Did it work with 1.7 or higher? Please confirm. Thanks.

  • @Mr.Mallickind
    @Mr.Mallickind 5 หลายเดือนก่อน

    Hii could you share this code with me

  • @laxman-fh6el
    @laxman-fh6el ปีที่แล้ว +3

    Please provide zip file of this framework link in comment section or description section

  • @siddhidixit4687
    @siddhidixit4687 4 หลายเดือนก่อน

    can u share source code of framework?

  • @daniellmcgeorge8579
    @daniellmcgeorge8579 6 หลายเดือนก่อน

    please share this project repo

  • @mailvaganamvickram3486
    @mailvaganamvickram3486 11 หลายเดือนก่อน

    I am Getting NO appenders could be found for logger (org.testingnf.TestNG) and Suite
    Total tests run: 1, Passes: 0, Failures: 0, Skips: 1
    Configuration Failures: 1, Skips: 3
    Can you please help me with this ?

  • @timilehinoni
    @timilehinoni 9 หลายเดือนก่อน

    Hi, I keep getting n error, SuiteListerner cannot be cast to class org.testng.ItestNGlistener, whenever I try to also remove the suite listener, it keeps skipping all my tests

  • @Well_of_wisdom
    @Well_of_wisdom ปีที่แล้ว +1

    Hi. I am getting this error "TakesScreenShot cannot be resolved to a type" in the SuiteListener class File f1 = ((TakesScreenShot)Base.driver).getScreenshotAs(OutputType.FILE);
    import org.openqa.selenium.TakesScreenshot;

    • @Well_of_wisdom
      @Well_of_wisdom ปีที่แล้ว +1

      no worries I can see where i went wrong.

  • @gundappadhole6527
    @gundappadhole6527 หลายเดือนก่อน

    I am getting this errror :AILED CONFIGURATION: @BeforeMethod base.BaseTest.beforeMethodMethod
    org.testng.TestNGException:
    Parameter 'browser' is required by BeforeMethod on method beforeMethodMethod but has not been marked @Optional or defined: Can you please guide how it can be resolve sirji??

  • @sandeepsan3476
    @sandeepsan3476 ปีที่แล้ว

    Hi i am getting the below error while running the code [sendKeys is not working]
    java.lang.AssertionError: Couldn't find resource: jquery.min.js

    • @sdetadda
      @sdetadda  ปีที่แล้ว

      Can you send me the snippet where exactly you are getting the errors?

    • @sandeepsan3476
      @sandeepsan3476 ปีที่แล้ว

      I wanted use "wait.until(ExpectedConditions.visibilityOfElementLocated(locator));" and Action class in this framework but i am getting the error like driver:null
      So can you please help me out by showing how we can add above method and class in this framework so that I can use so across multiple class

  • @sandeepsan3476
    @sandeepsan3476 ปีที่แล้ว

    I wanted use below workflow
    "wait.until(ExpectedConditions.visibilityOfElementLocated(locator));" (Error = "driver" is null)
    Action class in this framework but i am getting the error like driver:null (Error = "driver" is null)
    Taking multiple screenshot for every step (Error = java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.TakesScreenshot.getScreenshotAs(org.openqa.selenium.OutputType)" because "driver" is null)
    So can you please help me out by showing how we can add above method and class in this framework so that I can use so across multiple class

  • @patilsiddarood
    @patilsiddarood 9 หลายเดือนก่อน

    Hi Team,
    i am getting below error. Can anyone help me please
    [RemoteTestNG] detected TestNG version 7.4.0
    FAILED CONFIGURATION: @BeforeMethod BeforeMethodMethod
    org.testng.TestNGException:
    Method BeforeMethodMethod requires 2 parameters but 1 were supplied in the BeforeMethod annotation.
    at org.testng.internal.Parameters.checkParameterTypes(Parameters.java:447)
    at org.testng.internal.Parameters.createParametersForMethod(Parameters.java:353)
    at org.testng.internal.Parameters.createParameters(Parameters.java:700)
    at org.testng.internal.Parameters.createConfigurationParameters(Parameters.java:168)
    at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:302)
    at org.testng.internal.TestInvoker.runConfigMethods(TestInvoker.java:700)
    at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:527)
    at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
    at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
    at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
    at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
    at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
    at org.testng.TestRunner.privateRun(TestRunner.java:794)

  • @rajivgift123
    @rajivgift123 6 หลายเดือนก่อน

    An error stating" PDFBox IOException: End of File, expected line" is displayed while automating PDF reports

  • @vipulagarwal7053
    @vipulagarwal7053 9 หลายเดือนก่อน

    I am getting error java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.TakesScreenshot.getScreenshotAs(org.openqa.selenium.OutputType)" because "com.core.baseTest.BaseTest.driver" is null.. If testng.xml has listener but if i am not using listener then i am able to run

    • @kalaivanan8413
      @kalaivanan8413 5 หลายเดือนก่อน

      i am also facing the same exception , have you resolved it? if yes please let me know

  • @kalaivanan8413
    @kalaivanan8413 5 หลายเดือนก่อน

    Hi, I got below exception,
    java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.TakesScreenshot.getScreenshotAs(org.openqa.selenium.OutputType)" because "Base.BaseTest.driver" is null
    Not able to resolve this

    • @jigardubey4549
      @jigardubey4549 3 หลายเดือนก่อน

      facing same issue, did you get resolution

    • @gundappadhole6527
      @gundappadhole6527 หลายเดือนก่อน

      I am getting this error : AILED CONFIGURATION: @BeforeMethod base.BaseTest.beforeMethodMethod
      org.testng.TestNGException:
      Parameter 'browser' is required by BeforeMethod on method beforeMethodMethod but has not been marked @Optional or defined. Can you confirm me how can I resolved it if you faced or if you know