A Westmoreland County woman is charged with attempted homicide after allegedly shooting her ex-boyfriend following an argument over text messages from another woman.