How to use default value in a local data set [message #1000251] |
Mon, 14 January 2013 06:05  |
Eclipse User |
|
|
|
Hello,
Could you please advise how to use default value in a local data set.
Say, I have a keyword that fills some person record:
_keyword_fill_person
It takes several parameters:
=FirstName
=Second_Name
=Address
etc, the list can be big enough
All the parameters have default value
I want to test some place in the application that concerns field FirstName of the record from above. First I need to setup this data.
So I use keyword '_keyword_fill_person' and want to pass different parameter '=FirstName' expecting that all other parameters would take default value unless I specify them exactly. However, when I start creating set for parameter '=FirstName' I'm forced to enter all other parameters. Can I avoid that?
Thanks,
Alex
|
|
|
|
Re: How to use default value in a local data set [message #1000811 is a reply to message #1000650] |
Tue, 15 January 2013 08:10  |
Eclipse User |
|
|
|
Hi Alex,
I' better describe my expectations in pictures 
Here is defined test case with default values specified:

I add it to test suite:

Here are default values being set as expected:

I need to call this case severeal times for various values of parameter FIRST_NAME.
So I define values for the parameter:

Now I expect to have data set with values I entered for FIRST_VALUE and all other values propagated from default settings. However other values are empty:

So, I need to manually enter missing values that is quite uncomfortable.
Eg: to repeat case with 10 parameters 10 times for only one of paraemters I will need to fill 81 more absolutelly unnesseccary for current scenario fields.
Thanks,
Alex.
Attachment: ref_case.PNG
(Size: 13.17KB, Downloaded 611 times)
Attachment: test_suite.PNG
(Size: 3.18KB, Downloaded 542 times)
Attachment: def_values.PNG
(Size: 19.59KB, Downloaded 605 times)
Attachment: f_name.PNG
(Size: 7.35KB, Downloaded 591 times)
Attachment: problem.PNG
(Size: 9.21KB, Downloaded 599 times)
[Updated on: Tue, 15 January 2013 08:11] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.17212 seconds