Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parameterizing Method
#1
Not Solved
Hi All,
Could anybody help me out to parameterize an object's method. Eg.
Code:
Browser("...").Page("...").Frame("...").Webedit("...").Set "abc"
here in an application the method "Set" changes dynamically for the same object. for example when i run the first time it is
Code:
Browser("...").Page("...").Frame("...").Webedit("...").Set "abc"

if i am running the next time i am getting an error stating the object does not support the method. then i come to know that the method has changed from "Set" to "Type"

Code:
Browser("...").Page("...").Frame("...").Webedit("...").Type "abc"
So my Question is can we parameterize the methods???? so that i can pass the 'methods of an object' dynamically
Reply
#2
Not Solved
Hi Friends,
Could you please help me out in solving the above mentioned issue...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Parameterizing a part of script itsnotmyid 3 3,472 08-09-2011, 09:02 AM
Last Post: parminderdhiman84
  Parameterizing Function arguments rajpes 0 3,789 07-08-2011, 07:37 PM
Last Post: rajpes
  Parameterizing Webedit, WebButton, etc rdwaram 1 2,180 10-23-2009, 06:40 AM
Last Post: venkatbatchu
  Parameterizing a Link Poonam 0 1,923 01-06-2009, 04:18 AM
Last Post: Poonam
  What is a Method in QTP and how many types are method r there in QTP? vidyabr 1 4,468 07-28-2008, 02:14 PM
Last Post: surya_7mar

Forum Jump:


Users browsing this thread: 1 Guest(s)