Micro Focus QTP (UFT) Forums
Forward slash (/) qurery - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Forward slash (/) qurery (/Thread-Forward-slash-qurery)



Forward slash (/) qurery - 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)



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



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?


RE: Forward slash (/) qurery - Jay - 11-28-2013

I am not getting any error. send me the exact code - need to understand how you are using