Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can you use Descriptive Programming with Checkpoint?
#3
Not Solved
Hi,

try the below code it might help u 2 compare the text displayed on screen and then show the result.

Code:
vs_displayText=Browser("Delta - Book a flight").Page("Delta - Book a flight").webelement().GetRoProperty("innertext")
if Instr(1,vs_displayText,<text u want to match>,1)>0 Then
Reporter.ReportEvent MicPass,"Confirmation',"Confirmation message displayed"
else
Reporter.ReportEvent micFail,"Confirmation","Confirmation message not displayed correctly"

EndIF

Let me know in case of any help required.

Regards,
Sankalp
Reply


Messages In This Thread
RE: Can you use Descriptive Programming with Checkpoint? - by sshukla12 - 06-26-2012, 10:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Descriptive PROGRAMMING sandeepm1989 0 2,099 01-21-2016, 11:46 AM
Last Post: sandeepm1989
  Is this one instance where descriptive programming does not work? chong67 10 7,185 10-09-2012, 06:41 PM
Last Post: harishshenoy
  Descriptive Programming By giving the description in form of the string arguments sia sharma 6 5,244 09-12-2012, 08:57 PM
Last Post: freeboynil
  Can I use Descriptive Programming on Checkpoint? chong67 0 2,313 06-22-2012, 08:34 PM
Last Post: chong67
  General error in Descriptive programming sqadri 3 4,034 04-23-2012, 11:01 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)