variable

Solutions on MaxInterview for variable by the best coders in the world

showing results for - "variable"
Stefania
29 Jan 2020
11-GLOBAL variables allow you to access data
2between collections, requests, test scripts,
3and environments. Global variables are
4available throughout a workspace.
5
62-COLLECTION Only accessible within the same collection and
7can not be accessed anywhere else
8COLLECTION variables are available throughout 
9the requests in a collection and are independent
10of environments, so do not change based on the selected environment.
11I use collection variables when
12I use single environment like url details.
13We can refer to the variable by using {{}}(double curly brace)
14and  it can be used anywhere
15
163-ENVIRONMENT Variable , a variable that accessible
17only when the environment is active 
18
19Usually used for an app with multiple environment ,
20we can use env variable to store variable with same name
21and different value to store environment specific data 
22
23for example : 
24
25xxxNamed app has 3 environments with different
26URL and Crendentials 
27
28But all endpoints are exactly the same no matter what
29environment you work on 
30
31so we can create 3 environment called 
32QA1 , QA2 , QA3 and run same set of request 
33by selecting different environment.
34
35Only one environment can be active at a time.
36
37
384-LOCAL variables are temporary, and only
39accessible in your request scripts. 
40Local variable values are scoped to a 
41single request or collection run, and are no longer
42available when the run is complete.
43
44
455-DATA variables come from external CSV and JSON files
46to define data sets you can use when running collections
47via the Collection Runner.
Tiago
06 Sep 2017
1yes = 5
2print(yes)
Claudio
22 Mar 2016
1-- In programing variables exist in 99%(if not all) of programing languages:
2-- Think of them as little boxes that can store data
3-- some examples:
4
5-- C#
6  count = 0;
7  While true
8  {
9    count = count + 1;
10    print(count);
11  }
12  
13-- Python
14	count = 0
15	While True:
16    	count = count + 1
17        print(count)
18        
19-- as you see, both of these programs will output:
201
212
223
234
245
256
267
278
289
29...
30-- and it will keep counting till you crash the program.
31
32-- (ps I am using sql cause it looks nice and hilights a bunch of stuff)
33-- Youtube: https://www.youtube.com/channel/UCBDHOr2HKOuMiWUj-Pu-AGA
34-- Grep: https://www.codegrepper.com/app/profile.php?id=3325
Camilla
19 Jan 2019
1
2  var x, y;
3x = 5 + 6;
4y = x * 10;
5 
Claudio
26 Jan 2020
1//If you dont want to indicate anything yet//
2int *Name of variable*;
3//If you want to indicate something to use later on//
4int *Name of variable* = *number or string*;
Samuel
29 Apr 2019
1var x = 1
queries leading to this page
what does it mean to be variablevariable typeswhat does var a 3dvariable 40a variable iswhat is components and variables in wordwhat ia a variablehow to use variable in apidata types variablevariable definitionwhat si a variabledefinition of a variablewhat is a variablewhat are 25 variableswhat is a variablewhat does variable dovariable variablestype of variablesthe variable iswhat are variablewhat is variableswhat is a variable and what is it used for 3fvar typeswha is a variablewhat is variable and its example 3fvariableswhat is a variable 3fhow to define a variabledefine the variabletype of variabledeclaring a variable of typewhat is the definition of a variable 3fwhat is a variable 3f 5cvariable types conceptwhat is variablevariable meaningwhat is the variabledefine variablewhat is variable 3f 24 variablewhat does variable meanwhat is variables in apivariable definetypes of variablevariables definition variable 3f 3fvariable 3f 3f 22 22 2cwhat is a varwhat are variablesvariable 3d 21 variable meaning4 variable types 22 24 22 variablevariables typeswhat is an variabledefine variableswhat does 28variable 29 meantype variablesdef variable variabledefinition of a vairiblevariable is a varvariable 3f 3a variable a variable is awhat 27s variablewhat does declaring variable meansa type variablevariable var variablewhich variable which 3a types of variables 3fwhat 27s a variableaccesing variables in apiwhat is the varvariable 3d 21variableuse variable in apivariables in apiapi variableshow to define a varialbe of type something using a type variablevariablehow to have variables in api callvariables typevirable definitionwhats variablevariable variable meaningvar a 3b what is the value of a 3fdictionary definition for variabledifferent variable typesvariable typewhat is this variablewhat is a variablewhat is variable and it useswhat are variable used forwhats a variable 25 variablevariable defwhat is a variable 3fvariable data typestypes of variablesvarier variablevariable 2adefinition of variablevariable variabledefine what is a variableis var datatypedefine a variablevariable