Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to script this
#13
Solved: 11 Years, 3 Months, 4 Weeks ago
HI Jenny,

Try to implement accordingly by seeing the below example,you can do it easily.

Code:
ExpectedPartyType="FD"
  For m=1 to DataTable.GetSheet(dtGlobalSheet).GetParameterCount
        If (DataTable.GetSheet(dtGlobalSheet).GetParameter(m).Name=ExpectedPartyType) And (DataTable.GetSheet(dtGlobalSheet).GetParameter(m).Value="ON") Then
            For n=1 to Browser().Page().WebTable().Rowcount
                CurrentPartyType=Browser().Page().WebTable().GetCellData(n,2)
        If (CurrentPartyType=ExpectedPartyType) Then
                   Browser().Page().WebTable().ChildItem(n,1,"WebCheckBox",0).Set "ON"
           Chk_Selected=True
           Exit For
        End if
        Next
      End if
    
     If Chk_Selected=True then
          Exit For
     End if
  Next
Reply


Messages In This Thread
how to script this - by Jenny - 10-19-2010, 05:44 AM
RE: how to script this - by Jenny - 10-19-2010, 09:31 AM
RE: how to script this - by KavitaPriyaCR - 10-19-2010, 11:27 AM
RE: how to script this - by Jenny - 10-20-2010, 03:26 AM
RE: how to script this - by KavitaPriyaCR - 10-20-2010, 10:12 AM
RE: how to script this - by Jenny - 10-21-2010, 05:12 AM
RE: how to script this - by KavitaPriyaCR - 10-21-2010, 10:48 AM
RE: how to script this - by Jenny - 10-21-2010, 10:58 AM
RE: how to script this - by KavitaPriyaCR - 10-21-2010, 11:19 AM
RE: how to script this - by Jenny - 10-21-2010, 11:24 AM
RE: how to script this - by Jenny - 10-22-2010, 03:18 AM
RE: how to script this - by KavitaPriyaCR - 10-22-2010, 10:30 AM
RE: how to script this - by sreekanth chilam - 10-22-2010, 11:48 PM
RE: how to script this - by Jenny - 10-26-2010, 03:18 AM
RE: how to script this - by manishbhalshankar - 12-14-2010, 12:29 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)