how to use existing action
On Tue, Apr 24, 2012 at 1:39 PM, Mitul Jani <[email protected]> wrote: > hi anish > > how do i call this function from action 2 by just function name () or any > other way > > SearchDropBox() or any other way > > > On Tue, Apr 24, 2012 at 1:35 PM, Mitul Jani <[email protected]> wrote: > >> Hi anish, >> >> what did i wrong and what is function definition >> when i call this function it sys object not exist can you look please >> >> Function SearchDropBox() >> dim i,a >> With Browser("name:=Walmart.com: Save money. Live >> better.").Page("title:=Walmart.com: Save money. Live >> better.").WebList("name:=select","select type:=ComboBox Select","html >> tag:=com.wm.module.305715.select.0") >> If .Exist(4) Then >> a =.getRoProperty("items count") >> >> For i=0 to a-1 >> .Select "#"&i >> Next >> End If >> End With >> End Function >> >> >> On Tue, Apr 24, 2012 at 10:11 AM, Anish Pillai < >> [email protected]> wrote: >> >>> Hi, >>> >>> Check if the below link helps... >>> >>> *4 ways to associate function library to QTP >>> scripts*<http://www.automationrepository.com/2011/09/associate-function-library-to-qtp-script/> >>> >>> >>> >>> * >>> Cheers, >>> a n i s h >>> >>> [QTP >>> Tutorial]<http://www.automationrepository.com/tutorials-for-qtp-beginners/>| >>> [VBScript >>> Tutorial]<http://www.automationrepository.com/category/qtp-and-vbscript-tutorials/>| >>> [QTP >>> Blogs] <http://www.automationrepository.com/qtp-blogs/> >>> >>> ** >>> [** Subscribe to Get New Posts in your Inbox >>> **]<http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds> >>> * >>> -- >>> ar >>> >>> -- >>> You received this message because you are subscribed to the Google >>> "QTP - HP Quick Test Professional - Automated Software Testing" >>> group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/MercuryQTP?hl=en >>> >> >> > -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
