Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 11.5 PARAMETERIZATION ERROR QTP(UFT)11.50
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
    Hello,
I'm fairly new to QTP.
I keep getting an error during qtp parameterization in uft(QTP) 11.50
code snippet.

I runs once successfully then on the 2nd row i get an error please advice... see code snippet and settings

Code:
Dialog("Login").WinEdit("Agent Name:").Set DataTable("user", dtGlobalSheet)
Dialog("Login").WinEdit("Password:").Set DataTable("p_Text", dtGlobalSheet)
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").Close

ACtion call settings -> Run on all rows
   
See image .
[Image: qtp%20error.png]
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
mseroney88,

How are you opening the application?

I see at the end you are closing the flight application. So when the script goes for the second iteration, there is no login window. Hence the error. Add a code to launch the application at start. You can use SystemUtil.Run "<Your application exe path>"

Regardsm,Ankesh
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Hello Ankesh,

Thanks buddy.... It worked :-). I'm glad that you were of service. I'll be glad to work with you if i have any questions.

Best Regards,

Seroney Matoke.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 592 11-05-2023, 03:55 PM
Last Post: lravi4u
  Action Parameterization Issue Slothman 1 1,970 10-31-2020, 01:05 PM
Last Post: Ankur
  error when executing an UFT automation script alexalloza 0 1,546 10-30-2018, 06:17 PM
Last Post: alexalloza
  Business Components Parameterization YogeshCallappa 0 1,631 06-07-2017, 04:32 PM
Last Post: YogeshCallappa
  UFT API Compilation Error dheena 0 1,741 01-12-2017, 06:23 AM
Last Post: dheena

Forum Jump:


Users browsing this thread: 1 Guest(s)