Robot Framework Tutorial #18 - Variable Scope in Robot Framework

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 10

  • @84Abhisek
    @84Abhisek 4 года назад +1

    Excellent explanation!!! thank you !!!

  •  3 года назад +2

    Nice!, one question please, why variable at test level & the keywords variable in the argument is lower case and we log a variable where it is in uppercase? as I understood in previous videos it is case sensitive.

  • @manoranjansahu1680
    @manoranjansahu1680 Год назад +1

    Sir, I have a doubt.Does robot framework support case-insensitive in variable declaration?

  • @GopalanMD
    @GopalanMD 3 года назад

    How to override a global variable in test case?

  • @Yuhjioh68901
    @Yuhjioh68901 2 года назад

    I would like to donate you a cup of coffee, thank you.

  • @basavrajr8577
    @basavrajr8577 2 года назад

    Thanks, have one question-- if variable present in different .py file and need to call that variable in robot file.. what need to do ?

    • @ashu5214
      @ashu5214 Год назад

      You have to import that variable file like "Variables " under settings section.

  • @victorpeters589
    @victorpeters589 3 года назад

    Hi,
    In your introduction to variabel scopes you mention 4 scopes:
    - Global scope
    - Test Suite scope
    - Test Case scope
    - Local scope.
    In the video you only explain 3 out of the 4 mentioned scopes: Global scope, Test Case and Local.
    You do NOT mention the Test Suite variable scope.

    • @RobotmkAcademy
      @RobotmkAcademy 2 года назад +1

      The variable in line 22 is not a global variable. This is a SUITE variable which is valid during the execution of this particular suite file. GLOBAL variables in turn are not explained in this video.
      GLOBALs are created either by the command line switch --variable or the keyword "Set Global Variable". They are available in ALL suites.