Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logic doubt
#3
Solved: 10 Years, 9 Months, 2 Weeks ago
Try modifying your code as follows:
PHP Code:
Dim condition
condition 
0
row 
DataTable.GetSheet("Global").GetCurrentRow
Browserpage
.Link("name:=1").Click ' Clicks the first page'
EmailId DataTable.GetSheet("Global").GetParameter("EmailId").ValueByRow(row)
Pages ' getting during the run time '
For 1 to pages
   count 
' getting during the run time'
   
For 2 to count
      Tablelink 
gridlist(3).GetCellData(j,1' getting during the run time'
      
If Trim(EmailId) = Trim(TablelinkThen
         EmailID
.Click 
         Update
.Click
         condition 
1
         
Exit For ' the control should exit from the inner loop'
      
End If
   
Next
   
If (condition 1Then
   
Exit For ' the control should exit from the Outer loop and goes to  the first line of code.'
   
End If
   
Browserpage.Link("name:=Next").Click ' Clicks the next page.
Next 
Reply


Messages In This Thread
Logic doubt - by Prema - 10-19-2010, 12:27 PM
RE: Logic doubt - by KavitaPriyaCR - 10-19-2010, 03:45 PM
RE: Logic doubt - by manishbhalshankar - 12-08-2010, 06:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Hiii. Could you clarify this doubt priya10it 5 3,245 11-21-2012, 10:04 AM
Last Post: priya10it
  Doubt on Object Repository Rajashekar Gouda 1 2,414 05-03-2008, 03:43 AM
Last Post: niranjan

Forum Jump:


Users browsing this thread: 1 Guest(s)