Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If..Then..Else..with checkpoint
#2
Solved: 11 Years, 4 Months 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,363 11-18-2010, 05:16 AM
Last Post: nandu
  fullscreen and bitmap checkpoint error "Cannot create bitmap checkpoint" meuline 2 4,722 12-10-2009, 09:17 PM
Last Post: meuline
  Checkpoint problems: Checkpoint starts before web page is loaded & therefore fails! IdontGetIt 1 3,921 11-20-2009, 11:45 AM
Last Post: basanth27
  Not able to add any other Checkpoint apart from Standard Checkpoint Rachna 7 8,656 04-02-2009, 11:05 AM
Last Post: nandu
  Not able to add any other Checkpoint apart from Standard Checkpoint Rachna 0 1,715 03-26-2009, 03:14 PM
Last Post: Rachna

Forum Jump:


Users browsing this thread: 5 Guest(s)