I want to differentiate each component in my application uniquely.So how can i prepare an unique name with its properties so that i can set this name. In my testing tool i have to perform action on the correct component. I tried name preparing like
String parentName = component.getParent();
String xpoint = component.getX();
String ypoint = component.getY();
component.setName(parentName_xpoint_ypoint);
Can you tell me whatever i tried will give the unique component if i call using
component.getName().equals(parentName_xpoint_ypoint) ?
Aucun commentaire:
Enregistrer un commentaire