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

Which function to use to compare the application date with system date?

1473


What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?

857


What all are the different databases winrunner can support?

1479


what is qtp licence

1569


i would like to know the steps to write tsl exception and object exception with a simple example

1685






What are the three modes of running the scripts?

567


How do you select multiple objects during merging the files?

696


What actually happens when you load GUI map?

757


What is the purpose of gui spy?

810


This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.

1687


When it is appropriate to change physical description?

642


What is parameterizing?

648


How to do text matching?

615


wat is the d/b windows 95&98&xp?could anybody give reply ?

1844


What are different types of checkpoints?

626