08-06-2009, 10:17 AM
Hi,
While recording a script for selecting a checkbox on pop up screen..the script appears to be :
If i run the same script i get error saying:"The operation could not be performed"
If I alter the script to
Then also the same error is observed.
But if i select the Checkbox on the main screen instead of the popup screen with the below mentioned statement it works:
I am not understanding the point that why the same syntax does not work on the Popup screen when it works for Main screen.
Kindly provide a resolution to the problem.
Regards,
Rachna
While recording a script for selecting a checkbox on pop up screen..the script appears to be :
Code:
JavaWindow("Sales_BasicFlow").JavaDialog("Optional Service Selection").JavaTable("Select Services for 0000374914").SetCellData "#1","Select","1"
If i run the same script i get error saying:"The operation could not be performed"
If I alter the script to
Code:
''JavaWindow("Sales_BasicFlow").JavaDialog("Optional Service Selection").JavaTable("Select Services for 0000374914").SelectCell "#1" ,"Select"
But if i select the Checkbox on the main screen instead of the popup screen with the below mentioned statement it works:
Code:
JavaWindow("Sales_BasicFlow").JavaDialog("Product Selection").JavaTable("<html><center><b>Select").SelectCell "#0", "Services"
I am not understanding the point that why the same syntax does not work on the Popup screen when it works for Main screen.
Kindly provide a resolution to the problem.
Regards,
Rachna