QTP PEGA Application - Show Stopper Issue
I have been automating a Pega application using QTP 11. Currently I am experiencing a weird issue.
QTP 11 provides parameterised data into a screen and clicks the "Submit" button.
On clicking the submit button , the page refreshes and details are not getting added.
This issue occurs only when QTP clicks the Submit button. It is not able to be reproduced when clicked manually.
When clicked manually , it updates the details . I have even used Settings.Webpackage("ReplayType") = 2 and still no resolve.
Can anybody help me out here.
When you spy on it, what properties does it show? What does the recording look like when you record on it?
How about trying OnEvent Click?
I cannot remember the syntax, but I use it.
How about putting it lin a loop and try clicking on it several times?
I'm not sure what you mean by "QTP 11 provices parameterised data".
I saw that nobody answered you so I decided to throw out some ideas.
if such issue occurs in my project (i.e when qtp behaves in a weird manner) than what i do is static descriptive programming
For eg: to click on a button what i do is : SwfWindow("swfname:=Aplication").SwfButton("swfnam e:=btnsubmit").Click
Sometimes doing this helps
Let me know, if this solves your problem
Originally Posted by Aravaazhi
The easy way is to ask the developers :-)
Alternately, you can use Firebug to log the events that are triggered when performing an operation manually on a Object.
Once you know the event name, then you can fire that event from QTP using the FireEvent method.
Here's a very good article explaining this.
Firebug tip Log DOM Events
Solution was obtained. On deleting all cookies and Files from Internet Explorer, the issue did not occur again.