Verifying Operators in HTML
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2014
03:24 AM
10-07-2014
03:24 AM
Verifying Operators in HTML
Hi
I am trying to verify a TextNode that has the value on screen "Unit of Measure ≥ "EA" "
When I use object Spy the contenttext property is "Unit of Measure = "EA"". If I pass the expectedvalue of "Unit of Measure = "EA" the function still fails
Any ideas on how to verify these operator values?
I am trying to verify a TextNode that has the value on screen "Unit of Measure ≥ "EA" "
When I use object Spy the contenttext property is "Unit of Measure = "EA"". If I pass the expectedvalue of "Unit of Measure = "EA" the function still fails
Any ideas on how to verify these operator values?
4 REPLIES 4
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2014
06:09 AM
10-07-2014
06:09 AM
Hi Siobhan -
Did you try doubling all the quotes? I've had to do that sometimes to verify a string.
""Unit of Measure = ""EA""""
Did you try doubling all the quotes? I've had to do that sometimes to verify a string.
""Unit of Measure = ""EA""""
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2019
09:23 PM
08-12-2019
09:23 PM
Hi,
You should use single qoute('') for whole expression and double qoute("") for special expression check. Example is as follows:
"Unit of Measure = 'EA'"
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2019
09:38 PM
08-12-2019
09:38 PM
Hi, You should use single qoute('') for whole expression and double qoute("") for special expression check. Example is as follows: "Unit of Measure = 'EA' "
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2019
10:41 AM
08-19-2019
10:41 AM
What is the error/symptom of failure?
