For example:
set variable user1 Jim
set variable user2 Lily
set variable user3 Jack
set variable i 1
while #i<=3
set variable current_user #"user"&i
set variable i #i+1
end while
what I want is:
current_user value is Jim,Lily,Jack
But actually it is: user1, user2, user3, it can't get user1/ user2/ user3 value,
Hi Juan Wang,
You can use data set to fill values multiple times. Here is my example:
There are two types of data sets: dynamic and static. You can use both of these types.You may want to refer to these topic:
Data sets locate at User Guide/ Projects and projects items/ Project items/ Data sets
Lesson #7: Creating data-driven tests locate at Tutorials/Lesson #7: Creating data-driven tests
Let me know if this is what you are looking for.
Thanks
Kien
Yes, your answer is what I want, I just use static data set, have not used dynamic data set.
Thank you very much !
Best Regards,
Nikki
juan wang
For example:
set variable user1 Jim
set variable user2 Lily
set variable user3 Jack
set variable i 1
while #i<=3
set variable current_user #"user"&i
set variable i #i+1
end while
what I want is:
current_user value is Jim,Lily,Jack
But actually it is: user1, user2, user3, it can't get user1/ user2/ user3 value,
Hi Juan Wang,
You can use data set to fill values multiple times. Here is my example:
There are two types of data sets: dynamic and static. You can use both of these types.You may want to refer to these topic:
Data sets locate at User Guide/ Projects and projects items/ Project items/ Data sets
Lesson #7: Creating data-driven tests locate at Tutorials/Lesson #7: Creating data-driven tests
Let me know if this is what you are looking for.
Thanks
Kien
Kien Trung Bui
Hi Juan Wang,
You can use data set to fill values multiple times. Here is my example:
There are two types of data sets: dynamic and static. You can use both of these types.You may want to refer to these topic:
Data sets locate at User Guide/ Projects and projects items/ Project items/ Data sets
Lesson #7: Creating data-driven tests locate at Tutorials/Lesson #7: Creating data-driven tests
Let me know if this is what you are looking for.
Thanks
Kien
juan wang
Yes, your answer is what I want, I just use static data set, have not used dynamic data set.
Thank you very much !
Best Regards,
Nikki