10-22-2010, 03:18 AM
Hi, please see attachment for app screen shots. Hope you can help
thaks
thaks
how to script this
|
10-22-2010, 10:30 AM
Jenny as u said "if I pick up FD with value = ‘ON’, then search the party type on the screen to find the matching one, then check the checkbox for the found one."
This indecates you need to search the check box if its corresponding value in DT is "ON", so you should have one more column for "Party Type" (there must be atleast one data to search right? You have also told that data table values are not in order and u cant use index value) Then, Pick up FD with value = ‘ON’, take PartyType of that FD, then search the party type on the screen to find the matching one, then check the checkbox for the found one. This could be possible.
10-22-2010, 11:48 PM
HI Jenny,
Try to implement accordingly by seeing the below example,you can do it easily. Code: ExpectedPartyType="FD"
10-26-2010, 03:18 AM
Hi, thanks for the code, i have tried this, but i keep getting error message with webtable not in object repository. please have a look at my attacemnet. the two fields eixst as webelement and webcheckbox.
when i used ojbect spy, i know these 2 fields come from webtable with name = "dcmtflag". Any more suggestiong would be most appreciated thanks again
12-14-2010, 12:29 PM
Hi Jenny,
Can't this can be done by If -- ElseIf: In datatable add a column by name CheckBoxName and enter the name of checkbox you want to tag. e.g.: party A, party B.....so on. Code: If DataTable("CheckBoxName", dtGlobalSheet) = "party A" Then |
« Next Oldest | Next Newest »
|