10-09-2009, 10:27 AM
you can try this
and use this for your comparison.
I guess you want to get the text in SiebText("Owner Position") and need to check whether it is "READONLY" or not, right?
if yes then you can simply use GetROProperty("text")
try this and let me know how it works
Please do not forget to wrap your code.
Code:
a = SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Appointment Booking").SiebView("TG Appointment Booking").SiebApplet("Appointment Schedule_2").SiebText("Owner Position").Output (CheckPoint("Owner Position"))
and use this for your comparison.
I guess you want to get the text in SiebText("Owner Position") and need to check whether it is "READONLY" or not, right?
if yes then you can simply use GetROProperty("text")
try this and let me know how it works
Code:
Val = SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Appointment Booking").SiebView("TG Appointment Booking").SiebApplet("Appointment Schedule_2").SiebText("Owner Position").GetROProperty("Text")
if Val <> "READONLY" then
....
Please do not forget to wrap your code.