Thursday, 30 August 2012

L15 - Standard Output Value


It reads the standard value from any object and place the value in datatable run time dynamically.

Step 1

Start recording.

Step 2

Goto Menu Insert -> Output value -> Standard output value.


Step 3

Select "Agent Name" in the example and a window will open "Object selection: output value properties"
Objective is to select object from where we have to take output value.
Press Ok.

Step 5

Select the property in "Object value properties" window the value of which is required at run time.

Configure value:
To configure the value option is there in lower side of window. 


Step 6

Press Ok and the code as below gets generated and a column is added in the datasheet where the value will come during run time.


Step 7

Dialog("Login").WinEdit("Agent Name:").Output CheckPoint("Agent Name:")
x = datatable.Value("Agent_Name_text_out", dtlocalsheet)
Msgbox x


Step 8

It will show the current value in the text box.