I am working on a web based application. The webpage has a webtable and it has image to process an action. The table can have max of 20 rows. Based on some run time criteria, I need to process any of the action(press any of the image) in the list.
activity1 date1 status1 image(to process that activity)
activity2 date2 status2 image(to process that activity)
activity3 date3 status3 image(to process that activity)
activity4 date4 status4 image(to process that activity)
activity5 date5 status5 image(to process that activity)
the image has name like process0, process1,..
If I process the first activity during recording, I see a code
I see that image object in my repository. During run-time, I need to process my second activity (based on some text, I can decide, which of the activity to process). What necessary changes do I need to make?
You need to use GetCellData on the webtable to decide which row you want to take action upon and After that you have 2 options one is to Create a DP for the object by looking at the object properties pattern or second is to use the ChildObjects function on the WebTable to get the image object in the last column of that row and then take the action on that object.