Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set Test case status?
#1
Solved: 11 Years, 4 Months ago
Hi All,

I am going through a test case in which I need to compare two values,
following is my code.
Code:
a=datatable("Checked_Text",dtGlobalSheet)
b=datatable("B",dtGlobalSheet)
If strcomp(a,b)=0 then
PASS Testcase
Else

FAIL Testcase

endif

I wonder how to do it? Like the PASS and FAIL ?
Reply


Messages In This Thread
How to set Test case status? - by hamzaz - 04-16-2012, 04:21 PM
RE: How to set Test case status? - by sshukla12 - 04-16-2012, 06:29 PM
RE: How to set Test case status? - by sshukla12 - 05-04-2012, 10:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Select case is not being executed in a Function Anupama 1 1,616 05-25-2018, 11:15 AM
Last Post: Anupama
  Using Range in Select Case Statement Studymode 0 1,510 12-14-2017, 06:18 PM
Last Post: Studymode
  Using Select Case Statement Studymode 0 11,722 12-13-2017, 05:55 AM
Last Post: Studymode
  Case changes while reading values from inbuilt datatables krishnakittu03 3 2,978 04-28-2015, 11:34 AM
Last Post: kbhargava505
  How to send QTP status results to mobile Naresh 0 3,029 09-02-2014, 03:50 PM
Last Post: Naresh

Forum Jump:


Users browsing this thread: 1 Guest(s)