Micro Focus QTP (UFT) Forums
I want to compare string present on two pages - 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: I want to compare string present on two pages (/Thread-I-want-to-compare-string-present-on-two-pages)



I want to compare string present on two pages - excellentpawan - 07-23-2013

[attachment=1230][attachment=1231]I want to compare string present on two pages and if both are correct then pass else it will be fail for reference i am attaching image. Plz suggest how to do with descriptive programming.

First link: http://ansfoundation.org/Journals/Volume1Issue1
second link: http://ansfoundation.org/abstract/abstract111


Thanks & Regards
Pawan


RE: I want to compare string present on two pages - supputuri - 07-23-2013

Hi there,

Store your values in 2 different variables and then use strCompare.

Let me know if you need any more help.


RE: I want to compare string present on two pages - excellentpawan - 07-23-2013

how to store with descripting programing as text is written in webelent


RE: I want to compare string present on two pages - ssvali - 07-23-2013

Please always post your code that which you had tried instead of asking direct help for the code.

Then if there is any issue experts will look into and then rectify the same.