Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error Handling
#6
SUPPOSE
int rowCounts=es.NumRows

for iRow 1 rowCounts
es.GetCell(searchJobId 1 iRow)
if CellCheck(searchJobId)
Htm el_setJobId=htm("INPUT" "txtJobNumber" "" win("Vendor Solution - Windows Internet Explorer" "IEFrame") "2" 3 0x221)
el_setJobId.SetText(searchJobId)
out "JobId set focus"

My next step is to click submit button
Htm CmdFind=htm("INPUT" "btnFind" "" win("Vendor Solution - Windows Internet Explorer" "IEFrame") "2" 8 0x121)
CmdFind.Click

and When Invalid data is enter then Button not work. Macro cannot go forward next step and generate error "object not found"
How I can solve this problem.
........

I want to say, If searchJobId is Invalid. Then macro is running continue and go to for loop

Problem is when data is Invalid macro "object not found"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)