Hi, I am new on this forum and new to RFT so please bear with me.
I wrote a script to test a registration page. I have code like
assert(text_firstNameTextBox().getText().length() > 0);
Needless to say, when i play it back I don't see anything being typed in those boxes. What am I doing wrong? I tried to put sleep(10); after the edit boxes. I tried using inputChars; setText().
When i play it back I can see just the click on the first text box and then nothing. it doesn't even jump to the last name text box; it just sit o n the first one indefinitely.
The funny part is that if I debug it it works! What am I doing wrong?
I'd really appreciate some help.
Thank you so much.
Thank you Satish but it doesn't work. The cursor just sits there on the firstName text box and no text appears.
Nothing works! besides I read somewhere that the prefered method of setting the text is inputKey because it triggers the inputKey event which is the only one that updates the form (according to http://www.ibmpressbooks.com/article...&seqNum=18 )
Anyone experienced such thing? This is a simple .net app (a aspx registration page). Thanks.