Crack the Code: TOSCA Interview Question #12 | Real-Time Scenario-Based Insights

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 14

  • @richasingh3947
    @richasingh3947 5 місяців тому +1

    Thankyou so much. This was one of my interview questions 😊

  • @vijayalakshmit7466
    @vijayalakshmit7466 Рік тому +1

    Thank you so much for the interview question with real time demo with sample application.
    Can you please help me with below questions?
    1. Suppose Home screen in application has 20 to 30 checkboxes with different name. Everytime when test case is executed you need to click random checkboxes ( different checkboxes everytime ). How do we handle this ?

    • @Corporate_IT_Education
      @Corporate_IT_Education  Рік тому +1

      Your welcome :)
      Add Explicit Name to the module attribute and use RND command to select the checkbox randomly.
      For ex - If there are 6 checkboxes you can use the statement like below in the test script
      #{RND[1][6]}

    • @nikhilk4548
      @nikhilk4548 2 місяці тому

      ​@@Corporate_IT_Education Niceeeee

  • @chikkantivenkataraghava9349
    @chikkantivenkataraghava9349 Місяць тому

    We can use constraint index right

  • @Vishal_mvk
    @Vishal_mvk 10 місяців тому +1

    While scanning u did not make second button as unique. How did it work without module not found error.?

    • @Corporate_IT_Education
      @Corporate_IT_Education  10 місяців тому

      Usage of #1 or #2 etc will click on the respective element and that is possible using the Explicit name parameter

  • @Returngifts1316
    @Returngifts1316 Рік тому +1

    Here you have scanned second remove button and you have given as #2 and when we run it, it has clicked on 2nd remove button. my doubt is if i want to remove 3rd remove button then do i need to again scan the 3rd remove button and mention as#3 or can we just replace that #2 with #3 in above TC? if we need to scan then instead of explicit name parameter we can just directly scan and send click function na..pls answer my question

    • @Corporate_IT_Education
      @Corporate_IT_Education  Рік тому

      No need to scan again, just replace #2 with #3

    • @Returngifts1316
      @Returngifts1316 Рік тому

      @@Corporate_IT_Education I tried but it throws an error as no matching tab found error

    • @Corporate_IT_Education
      @Corporate_IT_Education  Рік тому +1

      Make sure the title is matching the tab, include wildcard characters if required

  • @charlessujai1783
    @charlessujai1783 Рік тому +1

    What if we want dynamic values instead of #2. Can we use buffer?

  • @nitingupta82
    @nitingupta82 Рік тому

    Part of Web Table!