Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different Amount for same iteration
#1
Solved: 8 Years, 5 Months ago
How do I get different amount in the below function ? I wasn't to excute this function to run one time but it should loop twice and I could be able to get different amounts.





Public Function (RCategory,StrLogin,StrAmt)
 For iVal = 1 to 2
  Set RObj = Browser(" ").Page(" ").Frame(" ").WebTable(" ")
      RObj.ChildItem(Rcnt-2,6,"WebEdit",0).Set CCUR(StrAmt)
 Next
Reply


Messages In This Thread
Different Amount for same iteration - by Rose - 03-25-2016, 11:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad UFT IS NOT ABLE TO FIND THE RUNTIMEOBJECT(myo) IN FOR LOOP FOR THE SECOND ITERATION lakshmi29 0 2,263 09-14-2014, 10:00 PM
Last Post: lakshmi29
  Reading an amount from statement shipu 0 1,909 12-24-2013, 01:42 AM
Last Post: shipu
  QTP failure on the last iteration Petey1234 0 2,007 06-15-2012, 12:59 AM
Last Post: Petey1234
  Move to next iteration of for loop after Recovery scenario zoomintodepth 0 5,097 01-28-2011, 01:13 PM
Last Post: zoomintodepth
  Data table Iteration Shandru 5 9,713 12-02-2010, 01:44 PM
Last Post: Shandru

Forum Jump:


Users browsing this thread: 1 Guest(s)