Hi Guys,

I am facing one unexpected error "The Parameter is incorrect" with 
SAPguiTable > IsCellEditable method. Below is my code. This code is working 
if Cell is editable but when we use same method for non editable cell then 
it is throwing error (Attached snapshot)., It should return False for this 
scenario (As per the help file). I tried this code in both the ways, 1. 
using Column index 2. Using Column Name.

Table_IsCellEditable = SAPGuiSession("Session").SAPGuiWindow("Create 
Inquiry: Overview").SAPGuiTable("All items").IsCellEditable(1, "#11")   
'(by Column index)
OR
Table_IsCellEditable = SAPGuiSession("Session").SAPGuiWindow("Create 
Inquiry: Overview").SAPGuiTable("All items").IsCellEditable(1, "Net 
Value")   '(by Column name) 

If Table_IsCellEditable = True Then
Msgbox "Yes"
Else
Msgbox "No"
End If

Please let me know if you have a solution for the same.

Thanks
Nikhil Gangwar


-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

<<attachment: sapguitable_isEditable_Error.png>>

Reply via email to