Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Case Statement
#3
Solved: 10 Years, 9 Months, 1 Week ago
@adelitza

If you are asking abt case statement, below is the syntax

Code:
expression="<Your expression>"
Select Case expression
Case "XXX"
  'Perofrm your operation if the expression was xxx
Case "YYY"
  'Perofrm your operation if the expression was xxx
Case Else
   ' If no matches then else case
Case End

****
For more help refer to QTP help file.
Reply


Messages In This Thread
Case Statement - by adelitza - 09-05-2012, 07:04 PM
RE: Case Statement - by savitripatil - 09-07-2012, 12:18 AM
RE: Case Statement - by Ankesh - 09-07-2012, 12:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Select case is not being executed in a Function Anupama 1 1,443 05-25-2018, 11:15 AM
Last Post: Anupama
  Using Range in Select Case Statement Studymode 0 1,345 12-14-2017, 06:18 PM
Last Post: Studymode
  Using Select Case Statement Studymode 0 11,151 12-13-2017, 05:55 AM
Last Post: Studymode
  Case changes while reading values from inbuilt datatables krishnakittu03 3 2,749 04-28-2015, 11:34 AM
Last Post: kbhargava505
  Webelement innertext is not case sensitive san4hex 7 5,916 05-13-2013, 02:59 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)