Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
parameters issues
#1
Solved: 11 Years, 4 Months ago Sad 
I am trying to use Action parameters in the Flight app
i have created "Agname" and "pswd" parameters to the Action for which i m going to make a login application check



Code:
invokeApplication Parameter("AppPath")
dialog("Login").WinEdit("Agent Name:").setParameter("Agname")

[when i was writing the script i coudnt see the "setParameter()" in the dropdown of "winEdit" object]

when i run the test its throwing an error as

" The test run cannot continue due to an unrecoverable error.
Code:
Object doesn't support this property or method: 'dialog(...).WinEdit(...).setParameter'  "
Reply
#2
Solved: 11 Years, 4 Months ago
Try as below.

Code:
dialog("Login").WinEdit("Agent Name:").set Parameter("Agname")
dialog("Login").WinEdit("Password:").set Parameter("pswd")
dialog("Login").WinButton("OK").click

Reply
#3
Solved: 11 Years, 4 Months ago
Thank U Srikanth.
It worked .

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Set data parameters Mik2s 1 1,491 03-07-2019, 10:18 PM
Last Post: supputuri
  Performance Issues Using '.Exist' AndyBSG 2 3,501 12-12-2014, 03:24 PM
Last Post: AndyBSG
  Part of parameters missing when passing between actions skumar007 1 3,006 10-10-2014, 02:00 AM
Last Post: skumar007
  Launching .exe file with parameters magnifyingone 1 3,172 08-28-2014, 06:39 PM
Last Post: dplank
  Need Help Understanding Parameters alex228015 0 2,295 03-18-2014, 12:30 AM
Last Post: alex228015

Forum Jump:


Users browsing this thread: 1 Guest(s)