Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If..Then..Else..with checkpoint
#2
Solved: 12 Years, 10 Months, 3 Weeks ago
you can try this
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.

Reply


Messages In This Thread
If..Then..Else..with checkpoint - by yuetling926 - 10-09-2009, 07:05 AM
RE: If..Then..Else..with checkpoint - by Saket - 10-09-2009, 10:27 AM
RE: If..Then..Else..with checkpoint - by Saket - 10-09-2009, 12:46 PM
RE: If..Then..Else..with checkpoint - by Saket - 10-09-2009, 03:04 PM
RE: If..Then..Else..with checkpoint - by Saket - 10-09-2009, 03:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Wink standard checkpoint and text checkpoint kiran10_rm 1 5,890 11-18-2010, 05:16 AM
Last Post: nandu
  fullscreen and bitmap checkpoint error "Cannot create bitmap checkpoint" meuline 2 5,186 12-10-2009, 09:17 PM
Last Post: meuline
  Checkpoint problems: Checkpoint starts before web page is loaded & therefore fails! IdontGetIt 1 4,342 11-20-2009, 11:45 AM
Last Post: basanth27
  Not able to add any other Checkpoint apart from Standard Checkpoint Rachna 7 9,645 04-02-2009, 11:05 AM
Last Post: nandu
  Not able to add any other Checkpoint apart from Standard Checkpoint Rachna 0 1,948 03-26-2009, 03:14 PM
Last Post: Rachna

Forum Jump:


Users browsing this thread: 1 Guest(s)