| || |
Scrolling down issue with Ajax True client protocol
Iam currently working on Loadrunner 12.0 versions. In my current project Iam working on Ajax TrueClinet Protocol for my application.
We are facing scrolling bar issue.
To explain in detail, In our application after filling all the manditory fields we need to click on UPDATE button, for this we need to scroll down and click the UPDATE button.
While replaying the script is failing at the scrowling step. I need help in resolving this.
Could you please help me.
Thanks in Advance.
As long as the Update button is present in the page, it should click on the button. If it is not clicking, place action "Scroll into view" before click on update button.So in this way,it will scroll down where update button is present and after that it click on update. Hope this will resolve.
Or you can do the following:
How to Scroll in TruClient
1.Add a "Evaluate JS on Object" step from Toolbox, choose the datagrid element object (click on the scroll bar would choose the right object in most cases).
2.Write the following code: “object.scrollTop += 100;”
3.Then replay, you could see that the scrollbar of the datagrid is scrolled.
Thanks for your reply.
I have tried your steps but it is not working.
Any more suggestion is much appreciated.
Comment out Scroll down steps and try with X-Path set for update button(to recognize the update button). It has worked for me in past. Hope it works for you too.