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

How do you filter the objects in the gui map?

657


When it is appropriate to change physical description?

612


What is the purpose of gui map configuration?

597


Explain data parameterization in winrunner?

577


How do you handle tsl exceptions?

661






What is a checkpoint and what are different types of checkpoints?

682


What is the XML test cases creation?

2151


soft key for virtual object wizard ?

1875


The title of the window consists of date and time.What is the regular expression to recognize the window as unique?

1457


i this is priya speaking, any 1 tell me project detail for NETBANKING and HELTHCARE pls send to this E-MAIL ADDRESS; (priyadharshni2@yahoo.com)pls qik, thank u once agajn.

1565


What is the use of gui map?

583


What is contained in the test scripts?

568


How do you make the configuration and mappings permanent?

594


What is the purpose of gui spy?

775


What is the purpose of different record methods?

640