08-15-2013, 01:23 PM
(This post was last modified: 08-15-2013, 02:05 PM by syoutaikon.)
Hi,
This problem also happened when i tried to get child objects.
My problem is:
1. the checkbox doesn't have a "name" property, it meas its name is empty, so i couldn't use "findbyname"
2. the id of the checkbox isn't permanent, so i couldn't use "findbyid"
3. meanwhile, i want to check both of the checkboxes
Following is my code:
Could anyone help me, plz?
Hi,
I changed my code as below:
And I can get all objects in this window, however, when I tried to specify the correct one I need, I couldn't get the one.
Error Msg said the function was not supported.
This problem also happened when i tried to get child objects.
My problem is:
1. the checkbox doesn't have a "name" property, it meas its name is empty, so i couldn't use "findbyname"
2. the id of the checkbox isn't permanent, so i couldn't use "findbyid"
3. meanwhile, i want to check both of the checkboxes
Following is my code:
Code:
set DDPDescription = description.Create
DDPDescription("micclass").value = "SAPGuiLabel"
DDPDescription("type").value = "GuiLabel"
DDPDescription("Text").value = "DDP"
Set childDDPObject = SAPGuiSession("PRS_QA").SAPGuiWindow("List for Condition Type").ChildObjects(DDPDescription)
Could anyone help me, plz?
Hi,
I changed my code as below:
Code:
Set DDPDescription = nothing
Set childDDPObject = SAPGuiSession("PRS_QA").SAPGuiWindow("List for Condition Type").ChildObjects(DDPDescription)
Code:
childDDPObject(i).GetROPorperty("content") = "DDP"