Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function written in Func library is not returning values but works in same script
#2
Not Solved
------------------------------------------------------------
Hi Selvam,
Thanks for the reply!
Below code isn't working still and throwing following errors-
Scenario1:
1.Access Denied: objhttp.send
2.Object required: 'mysheet'
Function file: C:\CCAMSauto\Links.qfl
Line (12): " mysheet.cells(roc+1,1)=nam".
Scenario2: When i copy the same function in script & use 'On Error resume next in the function' data is written to excel sheet.But when i dont use exception handling it throws above errors.
Scenario3: When i use exception handing in the function and have teh function in func library, script runs but data is not written to excel sheet.
Reply


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [HELP]Button no longer works in the transaction ME21N(SAP/QTP) rafaponzio 11 10,542 12-21-2022, 06:08 PM
Last Post: Carlos Veras
  Calling a Function in Function Library when function is defined in an Action jitenderkkr 0 3,034 11-27-2014, 12:53 PM
Last Post: jitenderkkr
  DP is not returning the whole table data content soumen 6 5,240 10-02-2013, 12:05 PM
Last Post: vvcyril
  Same code on running with UFT11.5 gets slow and browser hangs but works fine inQTP11 Rashi 1 2,576 03-02-2013, 04:12 PM
Last Post: vinod123
  Script running more times than the values in global data table TPavani 5 4,400 10-04-2012, 11:18 PM
Last Post: krr

Forum Jump:


Users browsing this thread: 3 Guest(s)