Anumakonda_mahe
13 years agoFrequent Contributor
Displaying Dynamic fields
Hi,
In our product we have one field such as "No. of Variables" . new Fields will be listed base on the value given in No.of Variables field. for example: if the No. of Variables(by default 2 is displayed) value is changed to 3 then screen gets refreshed and 3 new fields are listed for entry. so i have recorded scripts for the same. but if i run the recorded script then screen is not getting refresh after entering the value in No. of variables field. tool is simple entering values in fields which loaded default without refreshing the screen.
pls. check screen shot which are attached. let me know the solution for the same
In our product we have one field such as "No. of Variables" . new Fields will be listed base on the value given in No.of Variables field. for example: if the No. of Variables(by default 2 is displayed) value is changed to 3 then screen gets refreshed and 3 new fields are listed for entry. so i have recorded scripts for the same. but if i run the recorded script then screen is not getting refresh after entering the value in No. of variables field. tool is simple entering values in fields which loaded default without refreshing the screen.
pls. check screen shot which are attached. let me know the solution for the same
- Hi,
Try entering the value to your edit box using the Keys method instead of SetText. Most probably, the OnChange event of your control is not fired because of direct text assignment.