How to calculate the edit field length

Answer Posted / guest

For edit boxes in winrunner direct function is not
available to find length of text.We can use length()
function.

EX:- edit_get_text("button logical name",outvariable);
//In outvariable entered text will be stored.
x=length(outvariable);
//The length function returns the length of the text.
report_msg(x);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parameterizing?

836


What is the purpose of set_window command?

929


Where do you found that you can't use winrunner for automation?

1871


How do you identify which files are loaded in the gui map?

840


How to test Fonts and its size thru "Font Expert" in Win Runner.

2072


When do you feel you need to modify the logical name?

830


how can you explain your Real Estate Project in front of interviewer..? please step by step......

1368


How enviornment veriable can be included into my script. I want to include some information into my Excel file using Test run in WR. like User name of system? waht is function to be used? Please clarify.....

1959


What are different types of checkpoints?

916


what is the difference between toggle checkpoint and checkpoint?

4594


Explain the difference between gui map and gui map files?

777


What is the usage of Test case Design Techniques,in Integration/System Testing?

2215


How do you handle dynamically changing area of the window in the bitmap checkpoints?

805


What are the two modes of recording?

812


What are the virtual objects and how do you learn them?

939