08-11-2009, 07:16 PM
@Basanth: A word of suggestion with this statement
GetRowwithCelltext is like a instr function that searches for a pattern in a given string, so in this case venkatbabu, venkatbabu_abc or to generalise it venkatbabu.* etc everything would get recognized as venkatbabu only which may lead to false positives. IMHO we should avoid using this and instead go for a loop on web table and check for the required value (using the exact match) one-by-one.
Code:
ItemRowNum = Browser().page().frame().webtable().Getrowwithcelltext("venkatbabu")
GetRowwithCelltext is like a instr function that searches for a pattern in a given string, so in this case venkatbabu, venkatbabu_abc or to generalise it venkatbabu.* etc everything would get recognized as venkatbabu only which may lead to false positives. IMHO we should avoid using this and instead go for a loop on web table and check for the required value (using the exact match) one-by-one.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course