Micro Focus QTP (UFT) Forums
Value with forward slash(/) not identified by QTP - Pls help - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions)
+--- Thread: Value with forward slash(/) not identified by QTP - Pls help (/Thread-Value-with-forward-slash-not-identified-by-QTP-Pls-help)



Value with forward slash(/) not identified by QTP - Pls help - ra.dineshkumar@gmail.com - 11-24-2013

Hi,

Could someone help me on this scenario?

The below output is from webelement innertext value (which got from runtime using GetRoProperty)

Quote:

:21:TR10917011/1
:25:000333333333
:32A:130123USD18,00
:52A:BOKTUS33
:72:/ORG/BANKOFTOKYO-MITSUBISHIUFJL
//TD.TOKYO100,JAPAN-}

Unquote

I used instr to find the text "/ORG/BANKOFTOKYO' in the above output text values but QTP returned fail that the value not found. Tried different scenarios, here are the results

Find value '/ORG/BANKOFTOKYO' - QTP returned fail saying text not found
Find value 'BANKOFTOKYO' - QTP found text
Find 'ORG' - QTP returned fail saying text not found

Why text is not found by QTP when forward slash (/) is there? Can someone help me with the solution?