How do we use OR operator with Desc Programming.

How do we use OR operator with Desc Programming.

say I want to count the nos of all the objects on the page which have
html tag = "A" OR innertext="B"
what will be the syntax for the same.
Code:
(Desc("html tag").value="A") OR (Desc("innertext").value="B") => throws syntax error.
TIA

Questions by anu05446   answers by anu05446

Showing Answers 1 - 3 of 3 Answers

mithr17

  • Jan 31st, 2014
 

Site does not allow me to click the question so Im answering to this question with limited understanding.
I think you may be asking either about programming or automation testing and therefore, this is not the correct thread category to post your question. Please be cognizant of the users who may be visiting the site to learn something new and to prepare for interviews. put yourself in others shoes then you will know what Im talking about. :)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions