gita3632
15 years agoContributor
A few short questions
Hi,
#1- How can I print to a log the individual values of any PROPERTIES of an OBJECT?
#2- what is the best way to compare/validate the contents of a multi line "innerText" and also how can I check to see if a specific string exists in in multi line "InnerText"
Example see the value of the follwoing inner text:
#1- How can I print to a log the individual values of any PROPERTIES of an OBJECT?
#2- what is the best way to compare/validate the contents of a multi line "innerText" and also how can I check to see if a specific string exists in in multi line "InnerText"
Example see the value of the follwoing inner text:
"Added to Cart
You've just added the following product to your cart
Some Kit
Item #:AAA
Quantity:1
Price:$13.00
Cart SummarySubtotal
Total Items in Cart:15
Merchandise Subtotal:$2,070.00
(Subtotal does not include shipping & processing, or tax)"
#3 -, suppose if I have a popup page that contains the above info in a nice formatted web page what is the best approach to validate its data? shall I use REGION Check point or use something like I suggested in Question#2 above? This is assuming that the text and its values on the popup page are suppose to be the same.
Thanks
Gita