Posts: 18
Threads: 6
Joined: Jan 2014
Reputation:
0
01-05-2014, 05:19 PM
any one?? I googled, but could not find out.
Posts: 516
Threads: 17
Joined: Jul 2009
Reputation:
3
01-06-2014, 09:49 AM
Hi Anu,
you have to use regular expresssion - (|) pipe symbol.
Checkout regular expression topic in qtp helper guide.
Thanks,
SUpputuri
Posts: 18
Threads: 6
Joined: Jan 2014
Reputation:
0
01-07-2014, 01:36 PM
thanks for your reply, I know regular expressions but I am not sure how to use it in this case? can you tell me how. ?? I hope you understood the question.
say I want to count the nos of all the objects on the page which have
html tag = "A" OR innertext="B"
one way we can do this is first count the objects individually with html tag = "A" add this count to the objects having innertext="B" now from this total count subtract the objects which have html tag = "A" and innertext="B".