The last post by Biswajit is the direction you need to go in.
Although the other postings are valid, I don't think they are going to
fix the problem (and be very careful about using "Fast Mode" that can
actually cause QTP to execute quicker than your app can keep up and
also get you out of sync); and this isn't really a synchronization
issue but an identification issue since it is only affecting one
object.  Based off what you have posted, the real issue sounds like an
identification issue.  If the rest of the performance seems fine, then
you need to investigate what is changing about the window that is
making it difficult for QTP to identify the Add button in order to
click on it. Look to see if the smart identification is being
triggered; if so that means it can't uniquely identify the button.  Is
the object a real "WebButton" or is it a link?  Is this the only "Add"
button in the window?  Use the Object Spy to help - spy on it and note
its definition before you populate the form, then after filling in the
form but before you press the button use the Object Spy again and see
if something changed.  Experiment with an empty QTP script that you
can throw away, record clicking on the Add button before filling out
the form.  As long as the button is enabled, you'll probably get an
error from the app but ideally you will get an object definition
created in the object repository, then fill in the form and click the
Add button at the end and see if you get a different object
definition.  If you did - what's different about it?
---
Shawn LoPorto
Learn QTP Online Today!
Visit: http://www.asi-test.com/ASI/products/



On Mar 13, 4:22 pm, Raj <[email protected]> wrote:
> Hello Guys,
>
> I am new to QTP. I am using QTP 10.0. I have to automate an web
> application. I have a pop up window in the web application.The pop up
> window is just a form. I have to fill some information in the form and
> after filling all the information then click an add button. I am able
> to automate the filling of the form process. My problem comes after
> filling up the all the information in the window. After filling up all
> the information the QTP waits for 30 secs to click the "Add" Button.I
> am not able to reduce the time for clicking that button. I am not able
> to find the way to reduce the time with in which the QTP clicks the
> "Add" Button.I have to add information to six pop up window that comes
> in Web Application. So QTP takes 3 minutes to click the six add
> button.
>
> Can anybody please provide solution to the problem so that the QTP can
> click the " Add" button just after filling the form. I don't want QTP
> to wait for such a long time as it crops up the time to automate the
> web application.

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to