Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing the object list as the argument
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Is it possible to passing the couple of objects as the arguments? if so please give me an example.
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Yes...sure....you can pass objects as arguments...
Code:
x = SetText(Browser(B).Page(P).Frame(F).WebEdit(WB), "abcd")


Code:
Public Function SetText(pObj, pText)
   If pObj.Exists Then
      pObj.Set pText
   End If
End Function
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Passing Object to Function Mozza 2 1,890 08-02-2018, 03:22 AM
Last Post: Mozza
Sad How To Find Dropdown Object based on Values from the dropdown list mesg2anil 12 34,107 12-19-2017, 10:25 PM
Last Post: sandy2404
  Compare second web list value according to the first web list value roselin6 1 2,849 10-07-2015, 09:14 PM
Last Post: supputuri
  Passing objects to Functions vinod.nhce 0 3,300 03-13-2014, 06:09 PM
Last Post: vinod.nhce
  Passing Values from ReusableAction To mainscript bostonma 2 2,652 03-29-2009, 05:18 AM
Last Post: Marc

Forum Jump:


Users browsing this thread: 1 Guest(s)