sorry it was confusing.. here the example code:


if instr(1,UserInputData,RealtimeData) then

msgbox "Yes input data exist in realtime data range"



but the problem is "RealtimeData" has a range and the test is whether
or not "UserInputData" falls within the range



 lets say if UserInputData = 21, RealtimeData range 10 to 100..-- 
the test case pass as its within range



but if RealtimeData is 1 to 10 , then test case fail 



Pls help



Thx

--- On Tue, 4/24/12, Deepak Kumar Mahapatro <[email protected]> 
wrote:

From: Deepak Kumar Mahapatro <[email protected]>
Subject: Re: Instr or something else
To: [email protected]
Date: Tuesday, April 24, 2012, 4:21 AM

can u please post the code. so it'll be easy to understand. atleast a dummy one

On Tue, Apr 24, 2012 at 2:47 AM, Kiran Ogeti <[email protected]> wrote:

All,

I got to cross verify if value matches but in the range.. could you help below 
ex:


I search empID as 1000 >> but results might come as employees from 900 to 1100 
or sometimes blank.. I got to cross verify that, but I think instr not works 
here.. any other alternative ??

a = 1000 (input value)

b = anywhere from blank to 1100






-- 

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




-- 
Regards,Deepak





-- 

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
"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

Reply via email to