Micro Focus QTP (UFT) Forums
QTP unexpectedly closes itself on function "Set" - 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: QTP unexpectedly closes itself on function "Set" (/Thread-QTP-unexpectedly-closes-itself-on-function-Set)



QTP unexpectedly closes itself on function "Set" - mlo - 03-28-2013

Hi,

i have a problem in a certain script. QTP closes down itself without an error-message. The line where it closes is

inputObjectZins.Set produktZins

from the Debug-View (see attachement), i see that inputObjectZins is of Type "HtmlEdit" and produktZins has Value "1.4"

Can anyone give me a hint how to solve the problem or how to further debug/isolate it?

Quick Test Professional 10.00
Version: 10.00.0.0 Build: 513
Product ID: QTPRPID 10.00/0

Kind Regards
Michael

[attachment=1200]


RE: QTP unexpectedly closes itself on function "Set" - Ankesh - 04-04-2013

try the below code and see if it works..

Code:
inputObjectZins.Object.value=produktZins
OR
Code:
inputObjectZins.Object.text= produktZins

Regards,
Ankesh