Is there any way to enter dynamic values without using Data driven testing, TXT file etc. Manually user should enter the values in the script.
Question asked by visitor Vinod
Is there any way to enter dynamic values without using Data driven testing, TXT file etc. Manually user should enter the values in the script.
Question asked by visitor Vinod
Vinod,
Your question is very confusing.
If values are entered in the script, they become static. How can you enter dynamic values in the script? The script can't be changed dynamically at run time. Dynamic values as you require will have to come from external data sources like Data Table, Text File, Keyboard, List Object on screen.
Lack of WILL POWER has caused more failure than
lack of INTELLIGENCE or ABILITY.
-sutnarcha-
If you want to enter values in the script without using Data table or any other external source and still want to enter values dynamically you can do that. This is not recommended if number of inputs are more....
You can use InputBox function asking the user to supply a value OR
You can create test parameters for passing the values before you start the test and need not modify the code at all.
Hope this will help u.