Watch the below video to know how to get a cell value from DataTable:
https://www.youtube.com/watch?v=jJW6qSXezY0&list=UUlhOWNkHdfTzs-LskQDt1Bw
 
then, use instr function to know wheter the 1st string exists in 2nd sting 
like
 
if instr(1,String2,String1)>0 then
 print "Exists"
else
 print "does not exist"
end if
 
 
Thanks,
Uday
QTP / UFT Videos <https://www.youtube.com/user/AnemUday/videos>
On Monday, 30 June 2014 14:07:49 UTC+5:30, [email protected] wrote:

> Hello~!
> I want to compare actually two factors in same datasheet in QTP.
> Factor A is like 
> 1600X 900and it is located at global table (1,"A")
>
> Facrot B is like
>  1600x900, 2011/01, SEC_00000000, 15 inch   S24C450, 1920x1080, 2014/02, 
> SAM_HTMF200052, 24 inch 
> and it's located at global table(1,"B")
>
> I
> * want to compare A and B and find out if FactorB includes FactorA*
> please give me answer
>
> Thanks
> -John-
>
>
>
>
>

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

Reply via email to