cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post

Ajax text entry problems - playback fails?

Jump to solution

omri I'm experiencing an issue where websites that are serving up Ajax are not recognizing the text entry in them once I attempt to play back a script. So text entry is noticed upon first run and then breaks when I replay the recording. Is there a known fix for this sort of situation?   SW case  759282 created for this.

Example: In the following fields in a transaction, they go red when they are blank where information is required and blue when they include information (thus allowing the script to submit data). When I replay the transaction, even as text is entered the fields will remain red as in the 2nd image and do not recognize that text was entered, like the blue box in the first image. This prevents parts of the script to function properly and proceed to a search.

Where can I begin for troubleshooting this?  I looked at the XML for the recording and I see:

<action type="TextWrite" guid="(guid removed)" browserIndex="0" inputPosition="0" isConditional="false">

          <text>ASDF</text>

ajax issue.jpg

ajax 2.jpg

Labels (1)
0 Kudos
1 Solution
Level 14

Hello,

can you try to use "XY mode" to see if that will help?

  1. Record to the point when you are going to enter the text
  2. Edit -> Toggle XY capture mode
  3. Click into the text field and type in the text
  4. Disable XY mode
  5. Continue recording.

XY mode more closely mimics real user input but has some other limitations that does not make it good default. But in this case it can solve your problem.

View solution in original post

3 Replies
Level 14

Hello,

can you try to use "XY mode" to see if that will help?

  1. Record to the point when you are going to enter the text
  2. Edit -> Toggle XY capture mode
  3. Click into the text field and type in the text
  4. Disable XY mode
  5. Continue recording.

XY mode more closely mimics real user input but has some other limitations that does not make it good default. But in this case it can solve your problem.

View solution in original post

Hey designerfx - I'm glad jiri.tomek was able to get your issue solved right way. He has a way of doing that.

jiri.tomek I found this doing some searching after I had made the post and can confirm that in this case it did fix the issue.    

0 Kudos