Micro Focus QTP (UFT) Forums
Payment details fields are getting flushed - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Payment details fields are getting flushed (/Thread-Payment-details-fields-are-getting-flushed)



Payment details fields are getting flushed - vimalkamothi - 01-01-2014

Hi,

I am automating web based application. I have to input data in the payment details fields and it's done by using QTP automation. I have observed that the fields are getting balnk once the data is set on those fields. I have tried to enter data opnce again also, but once it reached to the continue button it flushes the data from those fiedsl.

Has anybod yfaced such kind of issue with web based application ? Is there any solution to retain the values on those fields until it clicks on the continu button?

Regards,
Vimal


RE: Payment details fields are getting flushed - basanth27 - 01-02-2014

Questions -

1. Does the password disappear once continue button is clicked if you do it manually?

2. Even if it clears the password on clicking the continue button does it throw an application error stating " Incorrect password " ?


RE: Payment details fields are getting flushed - vimalkamothi - 01-02-2014

Hi,

No, this form doesn't have password field.
It has credit card tyep, number, name on it, expire month (list), expire year (list). The problem is that when the data is entered, someime it flushes it's values from textboxes and list boxes with no reasons. I am not getting why such behaviour happesn.

Regards,
Vimal


RE: Payment details fields are getting flushed - basanth27 - 01-03-2014

My bad. Apologies.

My intent was to understand if you perform the same steps manually does it still flush the data out?

If No, then you may try Click on the text box before you set it as shown below,

Code:
Webedit(" ").Click
Webedit(" ").Set "your data"



RE: Payment details fields are getting flushed - vinod123 - 01-04-2014

have entering the data in the fields according javascript validations of the fields