Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Descriptive program dynamic action
#1
Solved: 10 Years, 8 Months, 4 Weeks ago
Hi All,

In QTP descriptive programming language, i have to assign dynamic action at runtime.

Ex:=
Code:
[b]Action[/b]="Click";
Browser("Logon").Page("Logon").JavaApplet("LogonApplet").JavaButton("Logon").[b]Action[/b]

i need to assign the dynamic action like "Click" or "DBClick" at runtime

Thanks in advance,
Natarajan
Reply
#2
Solved: 10 Years, 8 Months, 4 Weeks ago
seems you are looking for RegisterUserFunc

to assign at run time use conditional statements.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 10 Years, 8 Months, 4 Weeks ago
Thanks Ankur, i'll take a look on this
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic descriptive Programming issue in Terminal Emulator cprasad 1 1,741 04-25-2019, 08:17 PM
Last Post: Ankur
  Error in getting sum of numbers program QTpier 2 2,800 07-18-2014, 01:53 PM
Last Post: QTpier
  "How to write Batch Script runner program" suresz449 2 3,832 12-19-2011, 05:15 PM
Last Post: Munna.Sarfraz
  "VBScript Program" suresz449 0 2,637 12-19-2011, 09:55 AM
Last Post: suresz449
  Difference between parameter tabs in Action Properties and Action Call Properties. vibhakhandelwal 0 3,877 11-16-2011, 01:34 PM
Last Post: vibhakhandelwal

Forum Jump:


Users browsing this thread: 1 Guest(s)