Hi allI got some problem, while executing Winrunner scripts.1) My application contains two pages each page contains 40 textfields.2) I got a problem in my second page of an application.3) In my second page, i got ONE LABEL AND TWO TEXTBOXES(textfield1 and textfield2)4) My data was coming from Excell sheet.5) I need my data should enter in texfield2.6) if i do STEP BY STEP then my data was entered in textfield2.7) if i run a script from the top from 1st page then it will enter into textfield1.8) I tried (""),code i can enter into textfield2, but it will effect by WORKFLOW an application.9) i am using WR 7.6 version and 2000 professionalI NEED MY DATA SHOULD ENTER INTO TEXTFIELD2.i know every body say it is basic question but it is not. Post Extras: my email(spain_espn@yahoo.com)

Questions by rajuireland

Showing Answers 1 - 1 of 1 Answers

Senthil Kumar P

  • Oct 4th, 2006
 


 

 

Suppose consider first edit box as text1, second as text2 .The first text box associated with Name label. However, during recording consider you entered the string ?Senthil? in second text2 box. The script recorded as

 

Edit_set (?Name?,?Senthil?);

 

However, in figure the attached label ?Name? is common for both edit fields. Therefore, even though during recording you entered the value in second field, during running the scripts entered the value in first text box.

 

The one of obligatory properties for edit box is attached text. Associate some other property as obligatory for edit box

 

You can do it two ways

 

  1. GUI map configuration
  2. Adding GUI map configuration statements.

 

I thing second option is best.

 

 

 

  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