How to find out the length of the edit box through WinRunner?

Pls anybody give me Answer

Showing Answers 1 - 8 of 8 Answers

Ashok

  • Oct 3rd, 2005
 

obj_get_text("",text,"","","","");L=length(text);by using get text in winrunner get text from the field and assign the length to one variable Ex: L

  Was this answer useful?  Yes

imran

  • Oct 25th, 2005
 

through GUI spy, point it to the edit box, and it with show its coordinates, or try out the TSL function through function generator

  Was this answer useful?  Yes

Suresh

  • Oct 31st, 2005
 

We can find the length of the edit box using the

edit_get_row_length ( edit, row, out_length );

edit:     The logical name of the edit object.
row The row to measure.
out_length The output variable that stores the number of characters in the row.

edit_get_row_length ("Agent Name:", 0, row_len);

printf(row_len);

  Was this answer useful?  Yes

Suresh

  • Oct 31st, 2005
 

In Winrunner you can find the length of the Edit box using the follwoing function

edit_get_row_length ( edit, row, out_length );

edit :            The logical name of the edit object.
row :            The row to measure.
out_length :  The output variable that stores the number of characters in the row.

Example:

edit_get_row_length ("Agent Name:", 0, row_len);

Printf(row_len);

 

thank you

):

  Was this answer useful?  Yes

We can find the length of the edit box in WinRunner by using the following function

edit_get_row_length ( edit, row, out_length );

edit             :           The logical name of the edit object.
row             :           The row to measure.
out_length    : The output variable that stores the number of characters in the row.

Example:

edit_get_row_length ("Agent Name:", 0, row_len);

printf(row_len);

  Was this answer useful?  Yes

eswar

  • Nov 2nd, 2005
 

in winrunner there is an option please go to gui check points and choose formultipul object. it will give a window in that u choose + symbol it will add properties of that object . in that properties select range option in range window ask u from and to.in that u mention ur range ok

  Was this answer useful?  Yes

kishore.gp

  • Dec 26th, 2005
 

hi

without knowing length how can we put the range .

  Was this answer useful?  Yes

Raghu Gupta

  • Jun 13th, 2006
 

Hi,

What is the regular expression for yahoo user ID in Win Runner.

conditions: only underscore sign can be used as a special character and also cannot use two under score signs simultaneously.

eg: raghu__ggupta@yahoo.com is wrong ( two under scores./

raghu_g_gupta@yahoo.com is correct. Can use only two under scores in the userID.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions