Thank You Prasad From: [email protected] Date: Thu, 10 Sep 2015 10:17:44 +0530 Subject: Re: compare string query To: [email protected]
I could see the issue is with the Logical operator in if condition you had used only one comparison operator , you need to use two comparison operators when you use logical operator. If Trim(ret_res)= st_scode OR End_Hscode Then (this is ur code)It should be like this:If Trim(ret_res)= st_scode OR Trim(ret_res)=End_Hscode Then On 10 September 2015 at 09:23, serene Teddy Bear <[email protected]> wrote: Hi , The ret_res = 1 The st_hscode =4 , end_hscode=5, why the condition is matched, they should not, please explain, thanks Thank YouTeddyBear -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
