Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General run Error
#4
Not Solved
After executing the below code..i am getting object does not support at highlighted lines..
please have a look at it..
and reply me.

Object doesn't support this property or method: 'FindObject(...).select'

Function file: C:\Program Files\HP\QuickTest Professional\Tests\func_Lib_1.vbs
Line (22): " FindObject(ObjectName).select Data"


Function openbrowser(iexplore)
systemutil.Run "iexplore"
End Function

Function navigate(url)
browser("creationtime:=0").Navigate "http://salesforce.com"
browser("creationtime:=0").Sync
End Function

Function input(ObjectName,data)
FindObject(ObjectName).Set "akhan"
input="pass"
End Function


Function Login(object)
FindObject(ObjectName).click
Login="pass"
End Function

Function SelectList(ObjectName,Data)
FindObject(ObjectName).select Data
SelectList="pass"
End Function

is anybody there to give me the answer for above code.??
please suggest something so that i get it worked.
Reply


Messages In This Thread
General run Error - by akhandesh - 08-22-2013, 01:05 PM
RE: General run Error - by basanth27 - 08-22-2013, 01:11 PM
RE: General run Error - by akhandesh - 08-22-2013, 01:26 PM
RE: General run Error - by akhandesh - 08-22-2013, 04:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  General run error when Exist fails msacks 1 1,866 02-08-2019, 02:12 AM
Last Post: Ankur
  General Object Error(Find Object Error) akhandesh 1 3,610 02-24-2016, 01:05 PM
Last Post: sindhus
Rolleyes The test run cannot continue due to an unrecoverable error neerndg123 3 8,669 09-17-2015, 08:27 PM
Last Post: ananthakumarbe
  HI, i'm having a run time error ,please help? Awzar 0 2,638 01-24-2015, 06:52 AM
Last Post: Awzar
  Browser("BrowserName").Back gives General Run Error... deminiek 13 18,725 12-10-2013, 12:53 AM
Last Post: rizvia

Forum Jump:


Users browsing this thread: 2 Guest(s)