04-25-2011, 03:50 PM
(This post was last modified: 04-25-2011, 03:53 PM by satishkumarm.)
Code:
Browser("browsername").Page("Inpatient").Frame("Admission Requests").WebElement("innertext:=AR1100000113", "html tag:=SPAN", "html id:=AppointGrid_Datagrid_ROWS_DATA_1_3").Click
Browser("browsername").Page("Inpatient").Frame("Admission Requests").Image("confirm_on").Click
I have recorded the script for selecting the weblement(using click method) from the webtable and for performing next operation on the selected line
But while running the script it is selecting different webelement(first statement) and performing next operation for first statment in the webtable(i.e., not selecting the appropriate webelement)
I tried to find the solution but got invain
Please help me out ASAP
Please refer the attachments for easy understanding